[Resolved] [Plugin: Multiple Post Thumbnails] Get the caption of the secondary thumbnail
It’s not that easy to display the caption of the regular post thumbnail in WordPress. I finally figured out that this works for me:
<?php echo get_post(get_post_thumbnail_id())->post_excerpt; ?>
But how can I display the caption of the secondary thumbnail that I have added using Multiple Post Thumbnails?
[ Please do not bump, it’s not permitted here. ]
- The topic ‘[Resolved] [Plugin: Multiple Post Thumbnails] Get the caption of the secondary thumbnail’ is closed to new replies.