SUBSOLAR DESIGNS

Shortcodes

Built-in shortcodes for buttons, columns, tabs, accordions, and more.

The theme has implemented a list of shortcodes for easier creating of elements. The shortcodes are:

Button

[button to="enter-url-here"]enter-button-text-here[/button]

Dotted Button

[button to="enter-url-here" type="dotted"]enter-button-text-here[/button]

Read The Book

When clicked this button will open the chapter samples.

The ID of the book has to be the same ID used in the purchase button, it can be seen at Downloads > All Downloads under the purchase shortcode for that download.

A read button for this book will be:

[button type="read" id="1730"]Read The Book[/button]

[button type="read" id="id-of-the-book-download"]enter-button-text-here[/button]

Buy The Book

This is the button from the Easy Digital Downloads plugin. For more information about the shortcode - see here (please notice that the color option is not implemented as the theme uses its own color palette).

[purchase_link id="the-id-of-the-book-download" text="Add to Cart" style="button"]

You can see the ID of your download by clicking on Downloads > All Downloads and then see the Purchase Short Code:

If you want your button to open the page in a new tab, you just have to add the following attribute to the shortcode - page="new":

Open in New Page

[button to="enter-url-here" page="new"]enter-button-text-here[/button]

Blockquote

[blockquote]enter-blockquote-text-here[/blockquote]

Lead

[lead]enter-blockquote-text-here[/lead]

Accordion

[collapsibles]
[collapse title="enter-title-here" active="true"]
Text1
[/collapse]
[collapse title="enter-title-here"]
Text2
[/collapse]
[collapse title="enter-title-here"]
Text3
[/collapse]
[/collapsibles]

Highlight

[highlight]enter-text-here[/highlight]

Tabs

[tabs]
[tab title="enter-title-tab-here" active="true"]
Text1
[/tab]
[tab title="enter-title-tab-here"]
Text2
[/tab]
[tab title="enter-title-tab-here"]
Text
[/tab]
[/tabs]

Columns

The columns shortcode has to be inserted first into a [row] shortcode. For example:

[row]
[one_half]Text here[/one_half]
[one_half]Text here[/one_half]
[/row]

The columns shortcodes are one_half, one_third, one_fourth, two_thirds and three_fourths.

On this page