(NOTE: You can access all the shortcodes via the shortcodes icon on your visual editor. See this document if you need more information.)
Column shortcodes can be used in addition to other shortcodes when you wish content to be located in a specific column and wish to control that.
Here's a quick example with some text in each column. But keep in mind that you can put other things into the columns, including other shortcodes.
[one_half last=""] Your Content Here [/one_half]
[one_third last=""] Your Content Here [/one_third]
[two_third last=""] Your Content Here [/two_third]
[one_fourth last=""] Your Content Here [/one_fourth]
[three_fourth last=""] Your Content Here [/three_fourth]
Here are the settings.
- last = one of these values: yes, no -- this tells WordPress whether it is the last column in a set or not
- If you want to have four columns, then you would use four sets of "one_fourth" shortcodes.
- Each set contains an open tag "one_fourth" and a closing tag "/one_fourth". Your content fits between the open/close tag.
There is only one property aside from the column divisions themselves.
Therefore, if you are using one half + one half, the first one half is last="no" and the second is last="yes".
The same happens for any combination of columns you can use so that only the last column is closed off, but all previous columns are stated as not the last. It must be spelt exactly like: "yes", no capital Y and make sure you type the apostrophes in "Text" mode.
Do not copy the code from somewhere; type it yourself or use the shortcode generator.