It is hard to organize grid column content in WordPress. Generally there are two methods for generating grid column content in WordPress. Either you have to use HTML or you need to add 20+ column shortcodes in your theme. Generally blog authors don’t like doing this as it gets lost after switching to new theme or running an update. I know there are many other methods for solving this problem but I am discussing about the easiest method so that it can be used by them who don’t know coding.
Install and activate Grid Columns Plugin. It provides a [column] shortcode that allows users to create columnized content in WordPress. After activating you can start by inputting content between [column]
and [/column]
within your post content editor or anywhere shortcodes are allowed.
Example: Given example is taken from the plugin’s readme.txt file, it explains everything well.
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.