Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Wordpress Bildunterschrift
<?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
You can’t perform that action at this time.