This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Div Shortcode

Description

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

Reviews

Janairu 28, 2018
As simple as ingeniously! No rubbish, just a div with desired class and id around certain part of content.
Read all 7 reviews

Contributors & Developers

“Div Shortcode” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Div Shortcode” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

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