Custom Entry Tag
The customentries tag is available on any template and loops through custom entries.
Example:
{% customentries id: "staff", category: "administration", order: "custom.title asc", limit: "2" %}
<a href="{{ customentry.url }}">{{ customentry.title }}</a>
{% endcustomentries %}
Options
id
The id of the custom module is in the modules settings. If this is blank it will return custom entries for the entire site.
Examples:
id: "news, staff"
id: "staff"
Category
Category permalinks separated by commas.
Examples:
category: "design, development, life"
category: "technology"
Limit
Numeric value that limits the number of entries returned.
Example:
limit: "10"
Tags
Tags separated by commas.
Examples:
tag: "peanut-butter, jelly"
tag: "sandwiches"
Author
The username of the authors whose custom entries are to be displayed.
Examples:
author: "aboeving, srainey"
author: "nklaiber"
Order
Fields to order the results by. The default is by the id in ascending order. ASC and DESC can be appended to the field names to change the direction of the order.
Examples:
order: "date"
order: "date, custom.title"
order: "custom.title DESC"
Variables
Custom Entry variables can be located here.