Category page tags
-
Category List Tag
Description: Used to get the list of articles and product categories. Usage: {% categoryList variableName with type="1|2" parentId="0" %} For example, if the variable is defined as categories {% categoryList categories with type="1" parentId="0" %}. -
Category Details Tag
Description: Used to get the details of article categories and product categories. Usage: {% categoryDetail variableName with name="field name" id="1" %} Variable name is not required. After setting the variable name, it can be called by the variable name later. If the variable name is not set, the result is output directly. The parameters supported by categoryDetail are: id, id is not -
Single Page List Tag
Description: Used to get the list of pages. Usage: {% pageList variableName %} For example, if the variable is defined as pages {% pageList pages %}...{% endpageList %} The pageList tag does not support parameters, so it will fetch all the pages. -
Single Page Details Tag
Description: Used to obtain single page detail data Usage method: {% pageDetail variableName with name="field name" id="1" %} Variable name is not required. After setting the variable name, it can be called by the variable name later. If the variable name is not set, the result is output directly. The parameters supported by pageDetail are: id, id is not required, and the current single page will be obtained by default.