描述
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”].
评价
2018年1月28日
As simple as ingeniously!
No rubbish, just a div with desired class and id around certain part of content.
2016年9月3日
Works beautifully. Thank you!
贡献者及开发者
更新日志
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