WP Manifestindependent plugin directory
manifest / media / modernize-wp-caption-shortcode

Modernize WP Caption ShortCode

Customizes the output of the WP caption shortcode with <picture> element for different formats.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/tukutoi/modernize-wp-caption-shortcode/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Customizes the output of the WP caption shortcode with <picture> element for different formats.

Usage

  • create a folder mu-plugins inside your WordPress wp-content folder (unless it exists already)
  • place the file modernize-wp-caption-shortcode.php inside the folder
  • ensure you have some logic implemented to generate WebP (or any other format you add to the code) separately