Additional fields
Tag | Description |
{field:name} |
field - a mandatory word, which means that this is an additional field. name - name of an additional field specified in the admin. |
{field[src]:image} | If the additional field is an image, you can display only the link (original) image by adding the [src] |
{field[src-thumb]:image} |
Displays a link to a reduced copy of the uploaded image. |
{field:image-1} or {field[src]:image-1} or {field[src-thumb]:image-1} |
Displays the first image or a link to the first image or a link to a thumbnail of the first image. |
[field_name]...[/field_name] |
Displays the content between tags if the additional field name is filled. field_ is a required prefix. name - name of additional field. |
[field_gallery-1]...[/field_gallery-1] [not-field_gallery-1]...[/not-field_gallery-1] |
Displays the content between the tags, if an additional (in this case, an image under number 1) is specified. And vice versa. Will not output if the field is set. |
[not-field_name]...[/not-field_name] |
Displays the content between tags if the optional name field is NOT filled. field_ - required prefix. name - name of additional field. |
{global:field_name} | A global optional field that can be displayed anywhere. It can contain the same attributes as in the usual additional fields above. |
FAQ
Wrapper tag for the additional list field.
You can use elements such as: div, span, p, li, b, i, u - they will serve as a wrapper. Otherwise, you can specify any other tag or comma or other characters - they will be placed at the end of each element of the list. For example: <br> - a line separator will be inserted after each element, etc.