-image post, open file single-template.php and find this: <?php echo get_the_post_thumbnail(get_the_ID(), 'full'); ?>
update it to: <?php echo get_the_post_thumbnail(get_the_ID(), 'full', array('title' => get_the_title(get_post_thumbnail_id()))); ?>
-latest posts, open file functions/functions-part4.php and find this:
thanks for the information. But I meant an image caption – WP short code [caption]. I managed to add a caption for the image post and latest post by using this function. But this doesn’t work for the blog page.
Do you have any suggestions on how to adjust this for the blog page?
No, I meant that the function described works for the latest post module and the single page images, but it doesn’t work for the blog page (masonry). I would like the caption to be displayed under the image, just like on the latest post (s. image).
If you tell me where I can modify how the image post on the blog page are displayed, I can go from there.