plugin-icon

FoA Featured Image – Show Caption

投稿者: ivans3m·
Adds caption functionality to Featured Image blocks with a simple checkbox setting.
バージョン
1.0.0
有効インストール数
10
最終更新日時
Oct 2, 2025
FoA Featured Image – Show Caption

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.

無料有料プラン
インストールすることで、WordPress.com の利用規約サードパーティプラグイン利用規約に同意したことになります。
最大テスト回数
WordPress 6.8.5
このプラグインをダウンロードして、 サイトに使用できます。