Archived topic
wp-caption
3 replies · Started by Horst on January 14, 2022
Hi there,
I would like to output the photo description (wp-caption) under the article (at the end of the article) in all posts. Something like this.
Is there a way to do this?
Many Thanks.
Regards
Horst Schulte
Hi there,
Tom provides a PHP Snippet here that will create a shortcode that returns the featured images description:
https://generatepress.com/forums/topic/looking-for-caption-field-name/#post-1285037
You can then use a Hook or Block Element to display that at the end of all posts.
Hello David,
Marvelous! Already installed. Works exactly how I wanted it to.
Many Thanks.
Regards
Horst Schulte
Glad to hear that!