Skip to main content

Shortcodes

We’ve custom coded several shortcodes that you can use around your site as you customize it. Shortcodes are simple text codes in square brackets that can display useful dynamic data. For instance, we use a shortcode [primary-site] to display your main site URL.

[primary-site]

Returns the primary site url.

[button]

[button url="https://link.url"]Button Text[/button]

[list-fl-builder-templates]

Lists Page Builder Templates on current site.

[bible]

Displays a Bible embed.

Displays dynamic footer bar content for links to login/admin/account/logout.

[dgtl_admin_menu_profile]

This is how we display the icon in the admin menu.

[search post_type="{post-type}"]

This will display a search field. The post_type argument is optional. When used, it will scope the search results to the post type. For example, [search] will display a search field that will search the content of the entire site, while [search post_type="sermon"] will display a search form that will only search sermon posts on the site.