GenerateBlocks 2.0 is here - Read the release post

Learn GenerateBlocks

Featured Image

{{featured_image}}

Description

Output a value from the Featured Image including URL, ID, Caption, Description and Alt

Settings

Parameters

Source

Choose the Source Post:

  • Current Post
  • Specific Post
  • Next Post
  • Previous Post

Image Key

Choose a value to output:

  • URL
  • ID
  • Caption
  • Description
  • Alt

Image Size

Choose the Image Size to return for the URL or ID:

  • Thumbnail
  • Medium
  • Medium Large
  • Large
  • Full

Dynamic Tag examples

{{featured_image key:id}}
Return the ID of the featured image. If used In a Image Block SRC , GenerateBlocks will output the image attachment with full srcset and available attributes.
{{featured_image key:url|size:medium_large}}
Output the medium large URL for the Featured Image
{{featured_image key:caption}}
Output the Featured Image caption