Shortcodes: Row/Column

Shortcodes: Row/Column

Shortcode: row

id: add a unique ID to the shortcode.
class: add a class or multiple classes to the shortcode.

Use [row] shortcode around [column] shortcode to keep columns in a div that clears any floats, and adds a bottom margin to display properly with other contents.

Code example:

[row]
[column type="1/2"]Your content goes here.[/column]
[column type="1/2" last="true"]Your content goes here.[/column]
[/row]

Shortcode: column

type: “1/1”, “1/2”, “1/3”, “2/3”, “1/4”, “2/4”, “3/4”, “1/5”, “2/5”, “3/5”, “4/5”.
last: set to “true” to remove the margin on the last column so that it properly floats.
id: add a unique ID to the shortcode.
class: add a class or multiple classes to the shortcode.

Code example:

[row]
[column type="1/3"]Your content goes here.[/column]
[column type="1/3"]Your content goes here.[/column]
[column type="1/3" last="true"]Your content goes here.[/column]
[/row]

Row/Column outputs:

1/2

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using ‘Content here, content here’, making it look like readable English

1/2

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using ‘Content here, content here’, making it look like readable English

2/3

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using ‘Content here, content here’, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for ‘lorem ipsum’ will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).

1/4

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using ‘Content here, content here’, making it look like readable English

1/4

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using ‘Content here, content here’, making it look like readable English

2/4

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using ‘Content here, content here’, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for ‘lorem ipsum’ will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like)

Colors Sidebar Position Posts Listing Layout Single Post Layout