FSM Custom Featured Image Caption

Changelog

1.26

  • Added additional sanitization to the caption box to prevent script injection from admin input

1.25.1

  • Rollback: Disabled nested figure filter for now as it created some codification problems

1.25

  • Added a filter to prevent nested figure tags when using gutenberg themes. Tested compatibility up to wp 6.8

1.24

  • Added a global option in the general settings page to ignore the image captions defined for the image in the Media library. Tested compatibility up to wp 6.1

1.23

  • Bug fix: removed warnings that appeared in some cases

1.22

  • Bug fix: restored accidentally removed class “featured”

1.21

  • New experimental setting in options page to make the plugin compatible with Divi themes.

1.20

  • Added general option to allow shortcodes in the caption
  • Removed notice message
  • Checked for compatibility with WP 5.6

1.19

  • Added “settings” link in the wordpress plugins list page
  • Some texts modified

1.18

  • Added support for Gutenberg
  • Code optimization

1.17

  • Improved the detection of the post-id called by post_thumbnail_html to avoid wrong results on themes showing multiple featured images of different posts
  • Additional condition to stop processing the featured image if there is no content
  • Minor variable corrections

1.16

  • Modified the way the plugin detects if called from a list for widgets and other plugins showing a list of posts from a single page
  • Added option to show the caption when the featured image appears on a list

1.15

  • Added a check to return an empty string if there is no caption text instead of an empty figcaption (or custom tag) to prevent weird spacing in some themes.

1.14

  • Corrected identification of single pages where the caption was not appearing
  • Renamed the public function names to a more specific ones in order to avoid conflicts with future versions of wordpress or other plugins. It also fixes the naming to follow wordpress conventions.
  • Added shortcode to show the featured image and it’s caption inside the post contents (experimental)

1.13

  • Minor correction: added check to save_post hook to prevent Notices appearing in some cases while on debug mode

1.12

  • Corrected: The plugin was using figure instead of figcaption in the default parameters
  • Allow public functions to be used without parameters (fall back to the defaults)

1.11

  • Corrected: Save the parameters on load to prevent losing them in some circumstances

1.10

  • Settings page to customize styles and output
  • Added public functions for advanced users to use inside the template files

1.01

  • Minor text domain / localization changes
  • Maintain the parameters after selecting another image

1.0

  • Stable release.

Plugin Website
Visit website

Author
Fesomia
Version:
1.26
Last Updated
April 27, 2026
Active Installs
5000
Tested Up To
WordPress 6.8.5

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.