WordPress plugin intelligence profile

Columns DIY

Simple shortcodes for div-based columns and rows. Wrap desired content in [column][/column]. Mark the end of a row with [endrow]. CSS not included.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 3.9
Current version1.1
WordPress coverageTested up to WordPress 3.9
Minimum stackWP 2.8 · PHP —
Directory statusactive
Last directory update19 Apr 201412y ago
Active installations10Adoption metric — not a quality score
WordPress.org rating1.0 / 5 from 1 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Columns DIY version 1.1 as active, updated 12y ago and tested up to WordPress 3.9.

Overview

About this plugin

This plugin is intended for theme developers and others who want to have full control of their column styles while still providing a quick and easy framework for adding/editing column content via WordPress’s visual editor. It eliminates the need to type tedious, unmanageable chunks of HTML into the editor when specific posts or pages require a columnar layout.

That said, this plugin is not plug-and-play. It does not include any styles out-of-the-box, so if you start using the shortcodes without adding appropriate CSS rules, there probably won’t be any visible changes to your content.

See the Recipes page on the GitHub wiki for some styling examples.

Usage

  • Designate each column with [column] and [/column]
  • Mark the end of a row with [endrow]

Features

  • Includes enumerated column and row classes, allowing for per-column and -row styling. Also includes parity classes (odd/even) for striping.
  • If a user forgets to add the last [endrow] shortcode, the plugin will automatically insert a closing </div> so the site layout doesn’t get broken.
  • Cleans up errant <p> and <br /> tags that result from WordPress’s wpautop() function.
  • All parameter inputs are escaped for security.

Example

Putting this into the visual editor:

>

[column]

This is the column of Foo.

[/column]

[column]

This is the column of Bar.

[/column] [endrow]

Will result in this output:

This is the column of Foo.

This is the column of Bar.

Parameters

The following optional parameters can be added to the [column] shortcode:

  • class (String: ”)

Classes for the column <div> element. Separate multiple classes with spaces.

  • rowclass (String: ”)

Classes for the row <div> element. Only works when included with the first [column] shortcode in a row.

  • style (String: ”)

Inline styles for the column <div> element.

  • rowstyle (String: ”)

Inline styles for the row <div> element. Only works when included with the first [column] shortcode in a row.

  • norow (Boolean: false)

Set to true to omit the row wrapper <div>.

Filters

The following filter hooks can be used to alter the output of the shortcodes:

  • diy_colclass
  • diy_colstyle
  • diy_column
  • diy_rowclass
  • diy_rowstyle
  • diy_beginrow
  • diy_endrow
WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • columns
  • shortcode
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 3.9

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 3.9.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to3.9
Minimum requirementsWordPress 2.8 · PHP not listed
Update activity19 Apr 201412y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.