Flexible & elegant way to split post/page content into divs. Divs are given ordinal classes (div-1, div-2 etc). Minimal shortcode. Client Friendly
2.7 * Fixed issue with comma separated divup attributes e.g. [divup id="first-div-id, second-div-id"] (DivUp was outputting an extra space in the id attribute).
2.6 * Added support for [startwrap custom='title: read this']. See explanation in description.
2.5 * Fixed undefined issue when custom classes or ids aren't used in [divup] shortcodes.
2.4 * Removed PHP4 compatibility, which fixed strict standards constructor error. * Added support for span elements. Use [startwrap type='span']. The wrapper and all child elements will be spans instead of div elements. * Added support for wrapper element with no superfluous child elements. Use [startwrap parent=0] or [startwrap parent='false'].
2.1 - The ids given to divs had a trailing space in them. This is invalid and so CSS targeting failed to work.
With verison 2.0, you can now control when the wrapper div that wraps all the divup divs starts and ends. You can also separate the divs into multiple wrapper divs. The automatic ordinal classes will start from 1 again for each wrapper (although there is also a gloabl count of all the divs on the page). Use the new [startwrap] shortcode to begin your wrapper and the new [endwrap] shortcode to end your wrapper. Remember that every [startwrap] shortcode requires an accompanying [endwrap] else you are likely to break the layout of your page. The new [startwrap] and [endwrap] shortcodes are optional, if you don't use them DivUp Content will still function as it always has.
Requires: 2.8 or higher
Compatible up to: 4.4.8
Last Updated: 12 months ago
Active Installs: 1,000+
Got something to say? Need help?