Questions on Captions

  • Posted in : Editor
  • aspotz
    Participant

    Dear pixelwars,

    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
    Moderator

    Hi @aspotz;
    http://themes.pixelwars.org/editor/typography/ as you can see, just can add a caption to insert images in the post but it is not possible add a caption to the featured image of a post.
    Thanks

    aspotz
    Participant

    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).

    serkan
    Moderator

    Hi @aspotz;
    Featured images are native part of WordPress. WordPress isn’t allow the caption text at the moment. Thank you for your understanding.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register