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.

by bedas · github.com/tukutoi/modernize-wp-caption-shortcode

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/tukutoi/modernize-wp-caption-shortcode/archive/refs/heads/main.zip

Readme

Modernize WP Caption ShortCode

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

Read the full README on GitHub →