该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Div Shortcode

描述

Allows you to create a div by using the shortcodes [div] and [end-div]. To add an id of “foo” and class of “bar”, use [div id=”foo” class=”bar”].

Support Forum

评价

2018 年 1 月 28 日
As simple as ingeniously! No rubbish, just a div with desired class and id around certain part of content.
阅读所有7条评价

贡献者及开发者

“Div Shortcode” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Div Shortcode”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

2.2.1

  • Fix issue with attributes not being displayed

2.2

  • Attributes can now be filtered using the shortcode_atts_div-shortcode filter
  • Refactored the code according to WordPress coding standards

2.1

  • People are still having issues with the new version and we aren’t able to replicate to fix them. I’m reverting back to the original code in 1.0. Sorry for all the updates.

2.0.1

  • Some people have reported issues with the shortcode no longer working. This (hopefully) fixes it.

2.0

  • Completely rebuilt by Dean Hall using pseudo-shortcodes. Content is actually stored as html, so if you disable the plugin the div’s still work.

1.0

  • Release of plugin