Content filtering allows Grid listing, List listing, Carousel, and Slideshow advanced widgets to display items automatically based on content type and subtype, associated taxonomy terms, or a combination of these.
(1) Filter by content type: Pages belonging to the selected content type will be displayed in the listing
(2) Filter by content sub-type (visible once content type is selected): Pages belonging to the selected content subtype will be displayed in the listing
(3) Taxonomies associated with the selected content type: Pages with the selected taxonomy terms associated with them will be displayed in the listing
(4) Choose to display taxonomy filters to end users: Taxonomy filters can be displayed to end users (e.g. below), for them to use the listed pages' associated taxonomy terms to filter for topics of interest
The order of items displayed in widgets using the Filtered content source can be managed using the Sorting options.
Default sort order and displaying sort order to end users
Default sort order sorts the items in the widget alphanumerically according to: page title (for Page content); publication date (for Article content); event date (for Event content); sort name (for Person content).
The 'Display to end user' checkbox controls the display of a dropdown filter to users. When enabled, the filter can be used to toggle the default sort order between ascending and descending order.
Sorting by custom taxonomy
If taxonomy terms are applied to content listed in the widget, the order of these terms within the taxonomy can be used to determine the order of items listed in the widget. This allows for custom taxonomies to be created for the purpose of ordering the items in listings.
Example of sorting by custom taxonomy
In the Grid listing below, the listing items represent page content and are sorted by the default sort order (alphanumerically by page title). By using custom taxonomy sorting, it's possible to sort the items chronologically.
The website this Grid listing belongs to has a custom taxonomy named 'Period', whose terms are date ranges, laid out in a custom order:
Each of the pages respresented in the Grid listing is tagged with one term from the 'Period' taxonomy.
By selecting the Custom taxonomy sort option, the items in the Grid listing is ordered according the order of the terms in the 'Period' taxonomy:
Note about using custom taxonomy sorting
If a listing has been sorted using a custom taxonomy and the listing contains a page which does not have terms from the sorting custom taxonomy associated with it, the listing item for this page will appear at the beginning of the listing, to make it visible to content editors.