Skip to content

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

License

Notifications You must be signed in to change notification settings

TukuToi/modernize-wp-caption-shortcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages