Toto je starší verze dokumentu!
Shortcodes
Shortcodes use attributes, some are optional, some are required. We will use the following syntax to specify required and optional attributes:
[shortcode-name required='this|that' required='%d' optional='%s']
- attribute in bold is required
- attribute in italic is optional
- this|that means you can choose between „this“ OR „that“
- %d represents a number
- %s represents a piece of text
Some shortcodes (Button for example) can have content (i.e. the text you see inside the button.) These are used like this:
[shortcode-name attributes]Content of the shortcode[/shortcode-name]
Some of the Engagement Platform sites use a visual editor button to insert some shortcodes. You can select these using the following icon: