[Resolved] Displaying caption featured image

Home Forums Support [Resolved] Displaying caption featured image

Home Forums Support Displaying caption featured image

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2377018
    Bright Idiots

    I’m trying to add a featured image caption to single post. On other sites, I succesfully used this solution, but this doesn’t seem to work for the specific design/setup.

    Can you please check the link in the Private field, to see how the featured image caption can be displayed? The snippet is active!

    #2377189
    David
    Staff
    Customer Support

    Hi there,

    Option 1: GenerateBlocks Image Block.
    If you add a GB Image Block, and select an Image that has a Caption added to it.
    The Caption will be displayed using a GB Headline Block.

    You can then enable dynamic data on the Image Block and the Caption ( headline ) and have it display the Featured Image and the Image Caption.

    Option 2: Shortcode

    you can create a shortcode that displays the caption, and you can add that caption where you require it inside a GB Headline block:

    https://generatepress.com/forums/topic/generatepress-dispatch-questions/#post-1093846

    #2377279
    Bright Idiots

    Thanks! Option 2 worked for me!

    #2377291
    David
    Staff
    Customer Support

    Glad to hear that!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.