WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Grid Columns

A [column] shortcode for creating columnized content.

Why was this plugin created?

Many theme developers add several column shortcodes to their themes (note: this isn't allowed on WordPress.org). Essentially, the theme developers are doing a few things wrong:

  • They lock users into using their themes forever.
  • They create 20+ shortcodes for what is possible for one. This makes it look like their themes have more "features".
  • They remove core WordPress filters that other plugins rely on.
  • The code is just poorly developed altogether (most likely because they all copied from the same, bad source).

This plugin allows you to switch between any theme (no lock-in to your current theme). It was also developed with WordPress standards and usability in mind.

How do I use the [column] shortcode?

You can find more detailed instructions in the plugin's docs/readme.html file.

Everything is based on a grid. By default, this grid is "4". So, you can set up four columns like so:

[column grid="4" span="1"]Some content[/column]

[column grid="4" span="1"]Some content[/column]

[column grid="4" span="1"]Some content[/column]

[column grid="4" span="1"]Some content[/column]

You'll notice that each "span" is equal to the number of columns in the grid. So, if the span is "1", it's equal to one column. If the span is "2", it's equal to two columns. You can only have as many spans/columns as the grid allows. Therefore, grid="4" means you can only have four columns.

Can I get more detailed instructions?

If you need a more detailed guide, see readme.html, which is included with the plugin. It has a few examples and explains everything.

Help! My site's broken! What should I do?

Most likely, it's because you either have too many spans or not enough spans for your grid. Make sure each span argument for your [column] shortcode equals exactly the grid argument.

But, I did everything right.

If you're absolutely sure you're math is correct, it could be a conflict with your theme. It'd be impossible for me to know without seeing it in use on your site, so you'll either need to ask on my support forums or get your theme developer to help.

Can I have more than one set of grid columns in a post?

Yes. Absolutely. Just make sure each grid has the correct number of columns before starting a new one.

Can I nest columns?

No. This is a limitation of how WordPress handles shortcodes.

Can I use other shortcodes within the [column] shortcode?

Yes, you can. However, keep in mind, that I can't guarantee that your plugin developer knows what he's doing and created his shortcode correctly. But, yes, you can do this with properly-coded shortcodes.

Can I put content between two different column shortcodes?

It's possible, but you'll probably break something. I recommend against attempting this.

Requires: 3.4 or higher
Compatible up to: 3.7.1
Last Updated: 2013-10-4
Downloads: 16,103

Ratings

4 stars
4.9 out of 5 stars

Support

0 of 2 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,1,1
100,3,3 100,5,5
100,1,1
100,4,4
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1