Columns in a WordPress Post 1


Do you want to have columns in a WordPress page or post? If so, you can use CSS to style it or you can download and install a plugin called Column Shortcodes by Codepress. I used this plugin to put columns on the home page of this site and of course this page also.

How do you create two columns? The plugin uses shortcodes. Here is the shortcode I used for this page, but these should be enclosed in square brackets:
[html]
one_half padding="1px 1px 1px 1px"
[/html]

Put you content here!

[code lang=”html”]
/one_half
[/code]

After having used the shortcodes you can go back to a full width section. This text is just a paragraph after the closing shortcode. Simple. For extra styling you could start a section with a different number of columns.

Suppose you want to have some text take up two thirds on the left and one third on the right. You would use the shortcode two_third and /two_third and then use one_third_last /one_third_last.

For more information on how to use this plugin you can go to the plugin’s FAQ section of wordpress.org.

first of 3

second of 3

third of 3