Skip to content

Commit

Permalink
show dropbox link regardless of youtube link
Browse files Browse the repository at this point in the history
  • Loading branch information
bogreudell committed Feb 17, 2021
1 parent a7e5ccb commit 2f8473f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/video-preview.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@
<?php else: ?>
<?php if ( $youtube_link != 'No ID' || $wikimedia_commons_link ): ?>
<?php if ( $dropbox_link ): ?>
<p class="wt_video-preview__text">
<p class="wt_video-preview__text wt_video-preview__text--p">
<a href="<?php echo $dropbox_link; ?>" class="wt_video-preview__link">
Dropbox
</a>
</p>
<?php endif; ?>
<?php if ( $youtube_link != 'No ID' ): ?>
<?php if ( $youtube_link && $youtube_link != 'No ID' ): ?>
<p class="wt_video-preview__text wt_video-preview__text--p">
<a class="wt_video-preview__link" href="<?php echo $youtube_link; ?>">
YouTube
Expand Down

0 comments on commit 2f8473f

Please sign in to comment.