About Shortcodes

Shortcodes are a handy way of allowing page authors and editors to add features and/or functions like customized boxes or buttons to a web page without needing to know all the complicated code that makes them work.

With the customized “MySiteFL.com Starter Theme”, we have built in shortcodes to help brighten up your pages and encourage visitor engagement.

Our custom, built in shortcodes include:

Using Shortcodes

Using shortcodes is pretty easy. Each shortcode has two parts:

  1. The Opening Tag = [shortcode]
  2. The Closing Tag = [/shortcode]

Then, it’s just a matter of adding your content between them like this…

[myshortcode]
Some content.  Some content.  Some content.  Some content.  [/myshortcode]

Each shortcode has a reference page displaying their use, and sample code.

Some shortcodes like the Tabbed Content Shortcode or the Accordion Shortcode have nested shortcodes to help make them work, but the concept remains the same.