News: How to use Column Shortcodes in WordPress

How to use Column Shortcodes in WordPress

Kit Allen 6th of April 2015

Quite often when we’re putting sites together, we’ll need to put content into columns.

There’s a few ways to skin this particular cat – we can split content into separate boxes in WordPress, or use the ‘more’ tag as a flag to split content into two columns – but if the site requires something more flexible, we’ll use a plugin called Column Shortcodes.

Column Shortcodes uses WordPress shortcodes to set up columns of content in your site. A page might look like this:

[ one_half ]
content for column 1
[ /one_half ]

[ one_half_last ]
content for column 2
[ /one_half_last ]

The example above will – as you’d expect – split content into two 50% width columns. Because the columns work on a percentage basis, they’ll also display nicely on mobile browsers – so your site will continue to be usable on smaller screens too.

The screencast below explains how to use Column Shortcodes in a whole heap more detail:

Back to all news
 
Get in touch
We'd love to speak to you

Contact Creatomatic today
This website uses cookies
This site uses cookies to enhance your browsing experience. We use necessary cookies to make sure that our website works. We’d also like to set analytics cookies that help us make improvements by measuring how you use the site. By clicking “Allow All”, you agree to the storing of cookies on your device to enhance site navigation, analyse site usage, and assist in our marketing efforts.
These cookies are required for basic functionalities such as accessing secure areas of the website, remembering previous actions and facilitating the proper display of the website. Necessary cookies are often exempt from requiring user consent as they do not collect personal data and are crucial for the website to perform its core functions.
A “preferences” cookie is used to remember user preferences and settings on a website. These cookies enhance the user experience by allowing the website to remember choices such as language preferences, font size, layout customization, and other similar settings. Preference cookies are not strictly necessary for the basic functioning of the website but contribute to a more personalised and convenient browsing experience for users.
A “statistics” cookie typically refers to cookies that are used to collect anonymous data about how visitors interact with a website. These cookies help website owners understand how users navigate their site, which pages are most frequently visited, how long users spend on each page, and similar metrics. The data collected by statistics cookies is aggregated and anonymized, meaning it does not contain personally identifiable information (PII).
Marketing cookies are used to track user behaviour across websites, allowing advertisers to deliver targeted advertisements based on the user’s interests and preferences. These cookies collect data such as browsing history and interactions with ads to create user profiles. While essential for effective online advertising, obtaining user consent is crucial to comply with privacy regulations.