Linux 软件免费装

Nested image caption shortcode

开发者 tychay
更新时间 2015年5月13日 12:43
捐献地址: 去捐款
WordPress版本: 4.2.2
版权: GPLv2 or later
版权网址: 版权信息

标签

shortcode caption nested shortcode img caption

下载

详情介绍:

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.

安装:

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)

升级注意事项:

1.0
  • There can only be one (first release)!

常见问题:

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.

更新日志:

1.0