Shortcodes


Chris

Hydra includes a number of shortcodes which can be inserted into post and pages to enhance your content. These shortcodes are easily accessed via a post editor. Further information on shortcodes and their usage can be found in the provided documentation.

Progress Bar

The Progress Bar shortcode can be used to show the current status of a task. Below is an example this shortcode in use.

Example Label
80%
Example Label
34%
Example Label
55%
Example Label
90%

This shortcode includes a customization options for the accent color, label and status percentage. Any number of Percentage Bars can be added in series or by itself.

Accordion

The Progress Bar shortcode can be used to display secondary content which can be shown or hidden via user input. Below is an example this shortcode in use.

Example Title

This is an example of the Accoridon shortcode. This content can include text, formatting and images just like the standard content area. This Accordion has been set to be ‘Closed’ by default and requires user input to be visible.

Example Title

This is an example of the Accoridon shortcode. This content can include text, formatting and images just like the standard content area. This Accordion has been set to be ‘Closed’ by default and requires user input to be visible.

Example Title (Open Default)

This is an example of the Accoridon shortcode. This content can include text, formatting and images just like the standard content area. This Accordion has been set to be ‘Open’ by default and requires user input to be visible.

This shortcode includes a customization options for the title and its default state (open or closed). Any number of Accordions can be added in series or by itself.

Button

The Button shortcode can be used to display call to action type buttons. Below is an example this shortcode in use.

Standard Large Extra Large

These buttons can be set to three different sizes of Standard, Large, and Extra Large. They can also contain a FontAwesome icon as demonstrated below.

Label Label Label

As well as inline, these buttons can be set to block or centered. A centered button is idle for CTA (Call-to-Action) uses. A button link can also be set to open within a new tab, opposed to the active tab. Below is an example of a centered button.

Center Button

This shortcode includes a customization options for the label, icons, accent color, size, and button style (rounded corners etc.). Any number of Buttons can be added in series or by itself.

Status Message

The Status Message shortcode can be used to display notifications. Below is an example this shortcode in use.

Status Title

This is an example of the Status Message shortcode. This content can contain text and standard formatting.

Status Title

This is an example of the Status Message shortcode. This content can contain text and standard formatting.

This shortcode includes a customization options for the title, associated icon, and notification style (Error, Success, Info etc). Any number of Status Messages can be added in series or by itself.

Annotation

The Annotation shortcode can be used to annotate text to images, text, tables, and other content types. Below is an example this shortcode in use.

Annotation Title

Annotation Text

This shortcode includes a customization options for the title, and annotation message. Any number of Status Messages can be added in series or by itself.

Block & Pull Quote

The Block Quote and Pull Quote shortcodes can be for easy access to quote formatting. Below is an example of these shortcodes in use with some dummy contents.

I don’t believe you have to be better than everybody else. I believe you have to be better than you ever thought you could be.

— Ken Venturi

Suspendisse euismod diam sit amet nisi faucibus fringilla. Integer fermentum arcu nec mi venenatis volutpat. Donec nec tristique justo. Phasellus iaculis eu metus at bibendum. Aliquam nec ipsum viverra, laoreet augue id, vehicula ipsum. Praesent iaculis pellentesque accumsan. Cras ac turpis accumsan, cursus velit et, eleifend erat. Phasellus mollis, risus non bibendum consequat, ante quam tincidunt magna, a scelerisque lacus tellus quis lorem.

Columns

The Columns shortcode can be used to split the single contents column into multiple columns. Below is an example this shortcode in use.

Two Columns

1/2
2/2

Four Columns

1/4
2/4
3/4
4/4

Six Columns

1/6
2/6
3/6
4/6
5/6
6/6

Tabs

The Tabs shortcode can be used to display related secondary content into tabbed containers. Below is an example this shortcode in use.

This is the first tabbed contents and an example of the Tabs shortcode. This content can include text, formatting and images just like the standard content area.
This is the second tabbed contents and an example of the Tabs shortcode. This content can include text, formatting and images just like the standard content area.
This is the third tabbed contents and an example of the Tabs shortcode. This content can include text, formatting and images just like the standard content area.

This shortcode includes a customization options for the title and its contents. Any number of Tabs can be added to a single container, and multiple containers can be used throughout the post or page.

Content Embeds

In addition to the included shortcodes, Hydra fully supports the WordPress third-party service embeds, such as Twitter, Youtube, Vimeo, Facebook etc. More information on these embeds and their usage can be found within the WordPress documentation.