Shortcodes | Flextype Documentation

Shortcodes

Shortcodes are an easy way to add dynamic content into your entries. Shortcodes look like small pieces of text within square brackets. Each one represents a unique execution of predefined code, which is triggered on demand.

Default core shortcodes

snippets_exec

Execute snippet content.

Parameters:

  • id - snippet id

Usage:

base_url

Display base url.

Usage:

registry_get

Display value from registry.

Parameters:

  • name - registry item name
  • default - default value

Usage:

entries_fetch

Display value from specific entry field.

Parameters:

  • id - entry id
  • field - entry field name
  • default - default value

Usage:

Language: en, ru