Created
September 22, 2018 10:24
-
-
Save radarin/a86601920679c199f7f43ef4bcb3c03d to your computer and use it in GitHub Desktop.
Wordpress Bildunterschrift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if ( $caption = get_post( get_post_thumbnail_id() )->post_excerpt ) : ?> | |
<p class="caption-head"><?php echo $caption; ?></p> | |
<?php endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment