Button shortcode: [button][/button]

Available attributes

Examples

A button to CSSIgniter A button to CSSIgniter A button to CSSIgniter

[button url="https://www.cssigniter.com" size="large"]A button to CSSIgniter[/button]

New window to Google New window to Google New window to Google

[button url="http://www.google.com" target="_blank" scheme="red"]New window to Google[/button]

Download now Download now Download now

[button size="small" scheme="pink" border_color="#c9054f" border_width="2px" icon="fa-download"]Download now[/button]

Refresh Refresh Refresh

[button scheme="green" fg_color="rgb(10, 20, 30)" icon="fa-refresh" spin]Refresh[/button]

Rounded Rounded Rounded

[button icon="fa-spinner" corners="5px" spin]Rounded[/button]

Compatibility with pre-v2.0 versions

The button shortcode used to accept a type and color attributes that are now deprecated. Valid values for those attributes were:


Box shortcode: [box][/box]

Available attributes

Examples

Just a box with some content in it.
[box]Just a box with some content in it.[/box]

A red box
[box scheme="red"]A red box[/box]

With a black border and icon
[box scheme="red" border_color="#000000" border_width="thick" icon="fa-download"]With a black border and icon[/box]

Custom foreground color
[box scheme="green" fg_color="rgb(255, 255, 255)" icon="fa-refresh" spin]Custom foreground color[/box]

Rounded corners on a spinning icon.
[box icon="fa-spinner" corners="20px" spin]Rounded corners on a spinning icon.[/box]

Compatibility with pre-v2.0 versions

The box shortcode used to accept a type attribute that is now deprecated. Valid values for this attribute were:


Grid shortcodes: [row][/row], [column][/column], [col][/col]

You can divide you content in columns by using the row, column and col shortcodes. col is just an alias of the column shortcode, so you can use whichever feels right to you. You need to wrap a set of columns in a row. Each row takes up the full width of the content area and is divided in 12 columns. For each column you define, you need to specify how many columns it will span so they all add up to 12. For example, you can have one column spanning 12 columns, or two columns spanning 6 each, or two columns spanning 4 and 8, or 12 columns spanning 1.

row – Available attributes

column, col – Available attributes

Examples

Two equal rows

Col #1 Content
Col #2 Content

[row][col desktop="6" tablet="6"]Col #1 Content[/col][col desktop="6" tablet="6"]Col #2 Content[/col][/row]

Three equal rows

Col #1 Content
Col #2 Content
Col #3 Content

[row][col desktop="4"]Col #1 Content[/col][col desktop="4"]Col #2 Content[/col][col desktop="4"]Col #3 Content[/col][/row]

Two unequal rows on deskop, equal on tablets.

Col #1 Content
Col #2 Content

[row][column desktop="4"]Col #1 Content[/column][column desktop="8"]Col #2 Content[/column][/row]

Nested columns

WordPress can’t handle nested shortcodes of the same name. So, you can’t really do:

[row][column] Blah blah [row][column] Blah [/column][column] Blah [/column][/row][/column][column] Blah [/column][/row]

We have made available, however, the same row and column shortcodes prefixed with one and two undescores, so for each nesting level (up to two) you just ads an underscore. E.g.:

[row][column] Blah blah [_row][_column] Blah [/_column][_column] Blah [/_column][/_row][/column][column] Blah [/column][/row]

The additionally available shortcodes are: _row, __row, _column, __column, _col, __col

Compatibility with pre-v2.0 versions

The older shortcodes one_half, one_half_last, one_third, one_third_last, two_thirds, two_thirds_last are now deprecated. Although they are mapped to the new column shortcode for compatibility, it’s not possible to automatically wrap them in a row. So, results will vary from installation to installation, and even from post to post. If you are having troubles with the layout of these old shortcodes, try wrapping them in a [row][/row] shortcode.


Headings shortcodes: [h][/h], [h1][/h1], [h2][/h2], [h3][/h3], [h4][/h4], [h5][/h5], [h6][/h6]

With the h shortcode, you can create styled headings for you content. The shortcodes h1-h6 are just shorthand aliases to h with the level attribute already set.

Available attributes

Examples

This is set from the options to be H2

[h scheme="green"]This is set from the options to be H2[/h]

A maroon H3 with globe

[h level="3" icon="fa-globe" fg_color="maroon" spin]A maroon H3 with globe[/h]

An H4 with a lemon

[h4 icon="fa-lemon-o" scheme="yellow"]An H4 with a lemon[/h4]

With a bottom border

[h3 icon="fa-globe" border_width="0 0 4px 0" border_color="#444444"]With a bottom border[/h3]



List shortcode: [list][/list]

You can replace those boring default HTML bullets by any icon you like. Just create a normal unordered (ul) list from within the WordPress editor, and wrap it in a [list][/list] shortcode.

Available attributes

Examples

  • Item 1
  • Item 2
    • Item 2-1
  • Item 3

  • Item 1
  • Item 2
    • Item 2-1
  • Item 3

  • Item 1
  • Item 2
    • Item 2-1
  • Item 3

[list color="red" icon="fa-close"]

  • Item 1
  • Item 2
    • Item 2-1
  • Item 3

[/list]


Compatibility with pre-v2.0 versions

The list shortcode used to accept a type attribute that is now deprecated. Valid values for this attribute were:


Blockquote shortcode: [quote][/quote]

Available attributes

Examples

Try not to become a man of success, but rather try to become a man of value.

Albert Einstein

[quote title="Albert Einstein"]Try not to become a man of success, but rather try to become a man of value.[/quote]

Try not to become a man of success, but rather try to become a man of value.

Albert Einstein

[quote title="Albert Einstein" scheme="green" fg_color="#ffffff"]Try not to become a man of success, but rather try to become a man of value.[/quote]

Compatibility with pre-v2.0 versions

The quote shortcode used to accept a float attribute that is now removed. Valid values for this attribute were:


Separator shortcodes: separator , hr

Both shortcodes separator and hr, are just aliases of each other and behave exactly the same.

Available attributes

Examples


[separator /]


[hr type="dotted" scheme="red" width="50%" center /]


[hr type="dashed" scheme="green" height="10px" /]


[hr type="groove" scheme="blue" height="thick" width="80%" /]


[hr type="ridge" /]

Compatibility with pre-v2.0 versions

The separator shortcode used to accept a type attribute that is now removed. Valid values for this attribute were:


Tooltip shortcode: [tooltip][/tooltip]

Available attributes

Examples

Do you know what a CPU is?

[tooltip tip="Central Processing Unit"]CPU[/tooltip]

Just a tooltip on the top.

[tooltip tip="I'm on top!" position="top"]on the top.[/tooltip]

How about an always on, right, tooltip?

[tooltip tip="Cool!" position="right" light alwayson]always on, right, tooltip?[/tooltip]

Compatibility with pre-v2.0 versions

The tooltip shortcode used to accept a contents and color attributes that are now deprecated. Valid values for these attributes were:


Map shortcodes: [map][/map] , [googlemap][/googlemap]

Available attributes

Examples

[map lat="40.7828649" lon="-73.9653549" zoom="16" /]

[map lat="40.7828649" lon="-73.9653549" title="New York" text="Central Park" /]

Compatibility with pre-v2.0 versions

The googlemap shortcode used to accept a src attribute that is now deprecated. Valid values for this attribute were:


Tabs shortcodes: [tabs][/tabs] , [tab][/tab]

In order to create a set of tabs, you need to wrap one or more [tab][/tab] shortcodes into a [tabs][/tabs] shortcode.

tabs – Available attributes

tab – Available attributes

Examples

Content 1
Content 2
[tabs][tab title="Tab 1"]Content 1[/tab][tab title="Tab 2"]Content 2[/tab][/tabs]



Accordions shortcodes: [accordion][/accordion], [accordion_tab][/accordion_tab]

Accordions’ syntax and attributes are exactly the same like the tabs shortcode. Only the actual names of the shortcode change. That way, you can easily swap from tabs to accordions and back, without touching any of the attributes.

accordion – Available attributes

accordion_tab – Available attributes

Examples

Content 1
Content 2
[accordion][accordion_tab title="Tab 1"]Content 1[/accordion_tab][accordion_tab title="Tab 2"]Content 2[/accordion_tab][/accordion]



Common attributes.

Predefined color schemes.

Any shortcode that accepts an attribute named ‘scheme‘ can accept any one of the following values: blue, red, yellow, orange, purple, pink, brown, green, grey, white, black.

color

All attributes in every shortcode that accept a CSS color value, usually named ‘something_color’ can accept any of these color formats:

Please note that common names between the predefined colors above and the color schemes, doesn’t necessarily translate to the same color values.

spin_icon

Where a spin_icon attribute is available, valid values are: ‘true‘, ‘spin‘.
Furthermore, a ‘spin‘ value can be placed by itself as a shorthand, without the need for the attribute name.

Examples

The following shortcodes are all identical:

[button icon="fa-download" spin_icon="spin"]Some text[/button]

[button icon="fa-download" spin_icon="true"]Some text[/button]

[button icon="fa-download" spin]Some text[/button]

They all produce:

Some text

border_width

Shortcodes that have a border_width property, can accept any valid CSS shorthand border-width value:

Examples

Just box.
[box border_width="2px"]Just box.[/box]

Just a weird box.
[box border_width="1px 2em 8px 4rem"]Just weird box.[/box]

corners

Shortcodes that have a corners property, can accept any valid CSS shorthand border-radius value:

Examples

A box with rounded corners.
[box corners="10px"]A box with rounded corners.[/box]

A box with strange rounded corners.
[box corners="20px 2em / 10px"]A box with strange rounded corners.[/box]

Length Units

Any property that requires a CSS unit of length accepts a number immediately followed by one of the following units: px, %, em, rem, ex, ch, vh, vw, vmin, vmax, mm, cm, in, pt, pc

Decimal numbers expressed in pixels (px) may or may not work depending on each browser’s handling, they are however accepted by the plugin.

Examples


Compatibility Mode

It’s quite common for users to have installed more than one shortcodes plugins, or for themes to provide their own shortcodes. When this happens, chances are that some shortcodes overlap, and more often than not, you end up having shortcodes that you can’t be sure where are they getting their styles and markup from.

Just go into the plugin’s settings panel, check the Compatibility Mode checkbox and Save Changes. You’ve just future-proofed your posts! All shortcodes now require a prefix of ‘ci-‘ minimizing the risk of collision with other shortcode providers. For example, instead of [button]Hello[/button] you should now write [[ci-button]Hello[/button]]