1. How can I add a caption to the featured image of a post? When I click on the featured image in the post editor, I type in a caption, but it never gets displayed on the actual post.
2. How are captions processed? I see element is the end result in the HTML, but what processing is done to get there? I am asking because I wish to parse shortcodes that lie within caption text.
Thanks serkan. Were captions something that you developed, or are they a native part of WordPress?
I’m able to add captions to insert images in the post, however shortcodes are not recognized in the caption text. So I’m trying to arrive at the root code for the caption text, so that I can parse shortcodes (e.g. via do_shortcode).