Custom Short Codes allow you to crate reusable sections of HTML/Liquid code that can used in your notification templates. These are especially useful when using the simple email editor. The simple editor will reformat code and can break complex liquid statements. Using custom short codes allows you to add complex liquid code to your template without the fear of it being changed.
System
short codes are pre-designed short codes that can be viewed and used in your templates, however these short codes are not editable. If you would like to use a system short code as a starting point for a new custom short code, you can copy it.
In this section:
Creating a new Short Code
The short code field only accepts numbers, letters and underscores. Any non-allowed characters will be removed.
Steps
- Open Custom Short Codes page
- Press New Short Code
- Enter short code
- Enter a description to help you identify the short code
- enter the HTML/Liquid code
- Press Save
Edit a Short Code
Steps
- Press ...
- Press Edit
- Update the fields
- Press Save
Copy a Short Code
The newly created short code will be an identical copy of the original short code with "_copy" added the short code name
Steps
- Press ...
- Press Copy
Delete a Short Code
Steps
- Press ...
- Press Delete
- Press Yes in the confirmation dialog