Shortcodes & Special Formatting

Shortcodes

(Note: In use, shortcodes are enclosed in [square brackets]. In all of the usage examples below, replace the {curly brackets} with square brackets.)

mystic_submenu

Creates a list of links to the child pages of the current page. Used on many landing pages to provide navigation. It is also possible to specify the parent page–the links are then the child pages of that designated page.

mystic-video

Displays a video with a title in our standard reverse-type bar above it . The video will be resized to fit the width of the sidebar.

mystic-photo

Displays an image with a title in our standard reverse-type bar above it and a “View more” text and link below. Primarily used for placing an internal “ad”, an image that links to some page, post or event, in the sidebar. The image will be resized to fit the width of the sidebar.

mystic-organization

Displays the featured image and name of a sponsor or affiliate with a link to the sponsor’s or affiliate’s page. It is used primarily in the sidebar of a location or the left sidebar of an event to provide a link to a sponsor.

Special formatting

Accordion

Displays collapsible content sections for presenting information in a limited amount of space. Each section consists of a title and an arbitrary block of content that can contain almost anything–paragraphs, lists, images–except another title. The Directions page has an example.

Create your page content, marking the title of each section as an h4. Then, using the “Text” tab in the page editor, wrap the entire content in a div with class=”mystic-accordion”, like this:

<div class=”mystic-accordion”>

<h4>First section title</h4>
First section text.
<h4>Second section title</h4>
Second section text.

</div>

Sub- and Superscripts

HTML provides special tags for formatting subscripts and superscripts. These appear in a smaller font-size and shifted. The superscript tag is especially useful for positioning trademark symbols.

In the page editor, switch to the “Text” tab. The tags are <sub> and <sup>. Wrap your text like this: My Trademark<sup>TM</sup> and your page will display My TrademarkTM.

Two column layout

Displays content in a column that is half the usual width, allowing a two-column display. This is useful when your page content is long and narrow (often one or more lists).

Create your content. Eyeball it and decide where you want the second column to begin. In the page editor, go to the “Text” tab. Wrap each half of the content in a div with class=”col2″. Note: you will not see the content displayed in two columns in the page editor’s “Visual” tab, but it will display as intended when you publish your page.

<div class=”col2″>
First column of content
</div>

<div class=”col2″>
Second column of content
</div>