WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Columns

Easily create one or more columns in your posts or pages. Easy styling with a complete set of generated CSS classes.

There are similar plugins but they did not provide the ease of use I wanted.

Creating columns is super easy, just include the column separator text in your page or post (by default /---/, configurable in the WP Column Settings page).

HTML code will be generated with various CSS classes so you can easily style the columns in your Stylesheet.

Example

The following text in your page or post:

This text will be in the first column.
/---/
This text will be in the second column.
/---/
This text will be in the third column.

Will result in the following HTML code:

<div class="wpcolumn-wrapper wpcolumn-wrapper-3">
<div class="wpcolumn wpcolumn-1 wpcolumn-first">This text will be in the first column.</div>
<div class="wpcolumn wpcolumn-2 wpcolumn-other">This text will be in the second column.</div>
<div class="wpcolumn wpcolumn-3 wpcolumn-last">This text will be in the third column.</div>
<div class="wpcolumn-clearfix"></div>
</div>

Using the various CSS classes assigned to the columns and the columns-wrapper you can style different number of columns in different ways.

The column separator text as well as the CSS class prefix can be customized in the WP Columns Settings Panel (see screenshots).

This CSS was used to accomplish the example seen in the screenshots section:

.wpcolumn-clearfix {
    clear: both;
}
.wpcolumn-wrapper-3 .wpcolumn {
    float: left;
    margin: 10px 4% 15px 0;
    width: 46%;
}
.wpcolumn-wrapper-3 .wpcolumn-last {
    margin-right: 0;
}
.wpcolumn-wrapper-3 .wpcolumn-1 {
    color:#888888;
    font-family:'Lucida Grande',Verdana,Arial,sans-serif;
    font-size:16px;
    float: none;
    width: auto;
}

Requires: 2.7 or higher
Compatible up to: 3.1.4
Last Updated: 2011-3-2
Downloads: 18,798

Ratings

3 stars
3.8 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
0,3,0
20,5,1
100,2,2
100,1,1 0,2,0
100,1,1
50,2,1
33,6,2
0,2,0
0,3,0
100,1,1
0,1,0
50,4,2
33,3,1