FoA Featured Image – Show Caption

plugin banner

Adds caption functionality to Featured Image blocks with a simple checkbox setting.

Author:ivans3m (profile at wordpress.org)
WordPress version required:6.6
WordPress version tested:7.2
Plugin version:1.1.0
Added to WordPress repository:02-10-2025
Last updated:02-10-2025
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:740
Active installs:30+
plugin download
Click to start download

FoA Featured Image – Show Caption is a simple WordPress plugin that extends the core Featured Image block with caption functionality. When enabled, it displays the image caption (or title if no caption exists) below the featured image.

Key Features:

  • Adds a “Show Caption” checkbox setting to the Featured Image block
  • Displays the image caption (or title if no caption) below the featured image
  • Works with the Gutenberg block editor and templates
  • Clean, minimal styling that works with most themes
  • Right-aligned caption with light grey color

How it Works:

  • The plugin extends the core Featured Image block with additional settings
  • When “Show Caption” is enabled, it checks for a caption on the featured image
  • If no caption exists, it falls back to using the image title
  • The caption is displayed in a <div class="featured-image-caption"> element
  • Works with both regular posts/pages and WordPress templates

Styling:

The plugin includes default CSS styling for the caption:
* Text aligned to the right
* Light grey color (#999)
* Italic font style
* Small font size

You can easily customize the appearance by targeting the .featured-image-caption class in your theme’s CSS. The plugin uses standard CSS specificity, so your theme styles will override the defaults.


FAQ
ChangeLog