Plugin info

Total downloads: 2,888
Active installs: 10
Total reviews: 1
Average rating: 1
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 4/19/2014 (4272 days ago)
Added to WordPress: 8/21/2012 (13 years old)
Minimum WordPress version: 2.8
Tested up to WordPress version: 3.9.40
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 4272 days ago • 1 reviews

22/100

Is Columns DIY abandoned?

Possibly abandoned (last update 4272 days ago).

Compatibility

Requires WordPress: 2.8
Tested up to: 3.9.40
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

WP Shortcodes Plugin — Shortcodes Ultimate
Rating 4.9/5 (5,906 reviews)Active installs 500,000
Column Shortcodes
Rating 4.8/5 (134 reviews)Active installs 70,000
Genesis Columns Advanced
Rating 4.8/5 (25 reviews)Active installs 10,000
TemplatesNext ToolKit
Rating 4.5/5 (8 reviews)Active installs 10,000
Columns
Rating 4.1/5 (22 reviews)Active installs 3,000
Grid Shortcodes
Rating 5.0/5 (10 reviews)Active installs 2,000

Description

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
so the site layout doesn’t get broken.
  • Cleans up errant

    and
    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
      element. Separate multiple classes with spaces.
    • rowclass (String : ”)
      Classes for the row
      element. Only works when included with the first [column] shortcode in a row.
    • style (String : ”)
      Inline styles for the column
      element.
    • rowstyle (String : ”)
      Inline styles for the row
      element. Only works when included with the first [column] shortcode in a row.
    • norow (Boolean : false)
      Set to true to omit the row wrapper
      .

    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

    Installation

    1. Upload the columns-diy folder to the /wp-content/plugins/ directory
    2. Activate the plugin through the ‘Plugins’ menu in WordPress

    There are a few different options for adding the CSS to style your columns:

    • Edit the style file in your theme (probably style.css). This is not recommended if you are using a third-party theme such as a commercial theme or one downloaded from the WordPress Theme Directory. Your changes will be lost if/when you update the theme to a new version.
    • Create a child theme.
    • Use a plugin such as CSS & JavaScript Toolbox to embed the styles without modifying your theme.
    • Use the style parameter in the [column] shortcode to add inline styles. Only recommended for “one-off” scenarios (and how often does a “one-off” remain that way?).

    Frequently Asked Questions

    Check out the GitHub repository for more information.

    Review feed

    No reviews available

    Screenshots

    No screenshots available

    Changelog

    1.1

    • Added rowstyle parameter to allow for inline styles on the row <div>.
    • Added filter hooks for altering the output of the shortcodes.
    • Improved process for cleaning up <p> and <br /> tags.

    1.0

    • The initial release to the WordPress plugin repository.