Easy Ways To Create Columns, Grids and Cool Layouts in Your WordPress Post

In: WordPress|WordPress Tutorials - Intermediate

6 Oct 2011

easy grid and column layouts in wordpress

WordPress makes most things easy but, sometimes the in-built editor just won’t comply, especially if you’re trying to do something like align pictures next to each other in the same row, perhaps place 2 videos next to each other, or various other things that seem like they should be simple, but are maddening to attempt. You’ve probably also noticed that even if you try and get clever with the spacing, by adding extra line breaks or empty paragraphs, to get things laid out the way you want, WordPress will inevitably toss such cleverness aside and strip out your spaces.

Basically the WordPress editor by default is just not good with allowing you to do anything column or grid-based, unless you hand-code the HTML which defeats the purpose.

Fortunately there are a couple of simple ways to get around this problem that will give you much more flexibility with your page and post layouts AND make you look like a genius.

WP Post Columns

The first, and preferred option is to use a plugin which allows you to set up columns with the use of shortcodes. The first one I came across is Sam Burdge’s WP Post Columns plugin.  I was a little wary of it because it hasn’t been updated in a long time, but it actually works just fine and is pretty easy to use.

The format to create a 2 column layout is:
[column width="67%" padding="6%"] Column 1 content goes here. [/column] [column width="27%" padding="0"] Column 2 content goes here. [/column]

And you can use that format to create as many columns as you need. Here’s 3 columns:

[column width="30%" padding="5%"] Column 1 content goes here. [/column] [column width="30%" padding="5%"] Column 2 content goes here. [/column] [column width="30%" padding="0"] Column 3 content goes here. [/column]

As you can see, by playing with the column widths and padding you can create a custom layout to your liking.

In the screenshot below (click for full size image) I used the 3 column layout to create this magazine style look.

WordPress Post Columns Plugin

WP Easy Columns

A similar and in some ways more flexible plugin is WP Easy Columns 

The nice thing about this plugin is that it gives you a toolbar button with lots of preset layouts to insert with one click. It also gives you additional ways to style the output which is useful for designers.

In the screenshot below I used a 1/3 + 2/3 row to layout the caption to the left of the video.
The next 2 rows are 1/2 + 1/2 to show videos with the captions below.

WordPress Easy Columns Plugin

A bonus of both plugins is that you can use shortcodes within shortcodes – another issue that can be problematic in WordPress. But in these examples, I used a shortcode to insert the videos and it worked perfectly.

Tiny MCE Advanced

An alternate method to these plugins would be to use the TinyMCE Advanced plugin which has an Insert Tables feature. This is what I used to use before discovering the above plugins. It’s a decent solution, if a little finnickety to deal with, and of course HTML tables are pretty much considered dinosaur code these days, but it’s still a possibility if for some reason the above plugins don’t work for your situation.

So now you can go be fancy with your post layouts – have fun!

I hope you found this post useful. If you enjoyed it, consider signing up for updates via email (includes a free SEO ebook). I help entrepreneurs and businesses learn how to use WordPress - with patience and hand-holding, I turn technophobes into technopros. I also help businesses develop an effective online marketing strategy and compelling web presence.

If you enjoyed this post, I'd be thrilled if you clicked one of these buttons!:


9 Responses to Easy Ways To Create Columns, Grids and Cool Layouts in Your WordPress Post

Avatar

Bryan Azorsky via Facebook

October 6th, 2011 at 10:21 am

Great timing on this. I just got off the phone with a client who wants me to create a page with 3 columns on it. Thx

Avatar

Lucy Beer via Facebook

October 6th, 2011 at 11:53 am

awesome!! feel free to come back and share a link to what you created….

Avatar

Roving Jay

October 6th, 2011 at 12:10 pm

Lucy – thanks for posting this article. This has been something I've struggled with recently, and didn't event think about using plugin…. but I will now.

Avatar

LucyBeer

October 6th, 2011 at 12:39 pm

Hi Jay! It's like a whole new world after you discover how easy the plugin makes these things!!!

Avatar

knoface

October 10th, 2011 at 4:03 pm

hi this is great
just wandering could you give a more detailed tutorial on how the wp easy column works?
i'm new to wordpress and can't seem to get it working!
i'm trying to put images in colums but not sure how to do it?
thanks

Avatar

LucyBeer

October 10th, 2011 at 10:37 pm

You upload images in the normal way. After you click the toolbar button to insert the shortcodes it will generate some code like this:
[wpcol_1third id=\"\" class=\"\" style=\"\"]Third Column[/wpcol_1third] [wpcol_1third id=\"\" class=\"\" style=\"\"]Third Column[/wpcol_1third] [wpcol_1third_end id=\"\" class=\"\" style=\"\"]Third Column[/wpcol_1third_end]

Just replace the text in between the shortcodes (in this example \”Third Column\” ) with whatever your content is, whether it\’s text, image or video. The shortcodes are recognizable because they are enclosed by square brackets. So this: [wpcol_1third id=\"\" class=\"\" style=\"\"]
Indicates the beginning of the first 1/3 width column. This: [/wpcol_1third] indicates the end of the content for the first column. Just put your content in-between.

Avatar

Bowmanave

October 29th, 2011 at 6:56 pm

that is rockin who would a thought it would be so simple

Avatar

Rhyscurrency

November 7th, 2011 at 11:25 pm

You would have to create a custom page template for your homepage. Then follow this tutorial :)

Avatar

Gaston

November 16th, 2011 at 2:04 am

Thanks Lucy, I've just figured out how to make "WP Post Columns" work. I don't get it yet with Easy Columns, as it has more of coding to do I'm guessing… I'm fairly new to all of this wordpress thing…

Thanks

Gaston

Comment Form

How I Can Help You

Hi! I'm Lucy Beer. I believe that technology is liberating when you know how to use it, and bewildering when you don’t. That’s where I come in. I help non-techies understand and use the web to empower their personal or business mission. Whether you need to build a website, optimize your existing site, or create a marketing strategy that works, I'll help you understand, in plain English, what you need to do to achieve your goals. Don’t let lack of technical know-how hold you back! I’ll lead you on a clear, practical path that you can master, without the confusing geek-speak. Find out more.

Are you in the Los Angeles area? Get customized training to suit your needs.

WordPress Training - 1 on 1, private groups
Get in-person help and training for WordPress

WordPress Classes, Workshops in Los Angeles
Get discounts and info on upcoming WordPress workshops

Online Marketing Consulting & Training
Need more clients, leads, sales, promotion ideas? Get more quality web traffic and improve your visibility. I’ll help you reach your goals.

Blogging For Small Business Training Program
Customized 1-on-1 training program to get your small biz blog up and running with a strategy.

Social Media For Small Business Training Program
Customized 1-on-1 training program to formulate and implement a social media strategy for your business.

Blogging For Beginners
Just starting out? Learn all the blogging basics

Sometimes I Talk To People


GroundUp Business Meetup - Why Use WordPress For Your Business


Seattle WordCamp - Going Beyond The Basics


Orange County WordCamp - Fun With Gravity Forms


  • @nybinc: Thanks for sharing this information Lucy, it really cleared up my confusion. [...]
  • iamabdus: Awesome, thanks Lucy for the great tutorial. It helped me a lot to backup my sites. [...]
  • Shaun Snapp: Very cool Lucy. I have been looking for a replacement for Amazon S3 which runs me around $100 per mo [...]
  • Jon: What an excellent way to use Dropbox! Already a user and this makes perfect sense, thanks for the p [...]
  • LucyBeer: Hey there - thanks for checking out my blog! Display Widgets will definitely make your life easier a [...]

Sign up for updates and workshop info

Sign up to the email list and you will receive a free copy of my ebook "Practical SEO." I respect your privacy and your information will not be sold, rented or abused in any way. You will receive a weekly update of posts from the blog and, if you provide your location, occasional emails about events in your area.
join my mailing list
* indicates required field

Let’s Talk On Facebook

Follow Me On Twitter

Connect With Me

Where to find me and what to expect:

Email Me:
lucy [AT]webtrainingwheels.com

 

Discussions on WordPress, blogging, online marketing

 

blog updates, useful articles and tips

 


business networking

 


bookmark collection contains WordPress & online marketing resources

Login Status

You are not currently logged in.






» Register
» Lost your Password?
Hosted by WPEngine