Nid yw’r ategyn hwn wedi cael ei ddiweddaru ers 3 ryddhad mawr. Efallai nad yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio gyda fersiynau mwy diweddar o WordPress.

Nested image caption shortcode

Disgrifiad

The core img_caption_shortcode() function doesn’t process shortcodes when they’re in the caption (just when they’re in the image). This simple plugin changes it so that captions can contain shortcodes.

It also fixes some other small edge-case bugs in the original code.

Gosod

See “Installing Plugins” article on the WP Codex

Once installed and activated, there’s nothing more you need to do (though you
can use filters in your themes functions.php to change the behaviors)

Cwestiynau Cyffredin

How do I use it

Just activate the plugin.

What else does it fix
  • When there is no image, core WordPress forgets to process content for shortcodes
  • When there is no image or width specified, core WordPress prunes out the entire caption, this tries (sort of) to restore that caption and process it for shortcodes.

Adolygiadau

There are no reviews for this plugin.

Contributors & Developers

“Nested image caption shortcode” is open source software. The following people have contributed to this plugin.

Cyfranwyr

Cofnod Newid

1.0

  • Initial release