Content collection component
The content collection allows you to display an automated collection of content types that you can limit to specific parameters like topics and site-sections. The results will display in order of most recently updated to least recently updated, and can be displayed as cards (with or without images) or text.
To begin adding a content collection component to your page, go to Page content > Add Component and select the Content collection option.
Title and description
Use the Description field like you would the Basic text component – you can add headings, lists, links and other text formatting.
We recommend against using the Title field as it currently doesn’t display in the table of contents.
Call to action
This section will add a hyperlink underneath your content collection results. This can be used to link to another page where the website visitor can find similar or more information.
For example, if you set up a content collection to display your 6 latest news pages, you could then fill in this section to link to another webpage where you list all of your currently published news pages.
The Text field will be the link text that displays, and the URL field is where you add the link to the new page you want to direct website visitors. This can be an internal or external hyperlink.
Content tab
Content types
You can select one or more content types from the following options:
Landing page
News
This will include cards to landing pages and news pages that meet your criteria.
Topics
Each page on vic.gov.au is assigned a topic, and you can customise your content collection to only display content tagged with one or multiple topics.
Type in the appropriate topics relevant to your content – these will be terms in our topics taxonomy. For multiple topics, add a comma after each to separate them.
Leaving this field blank will include all topics.
Advanced filters
Similar to 'topics', here you can add one or multiple site sections to further filter the content that will display. Generally you would only add a single site-section, but you have the option of adding more.
Don't add too many topics and filters as this may result in no results displaying.
Layout tab
Select layout
You can choose between 2 display options:
Grid view – this is a similar design to our promotion cards.
List view – this design resembles the site search results.
Card display style
The card display style is only applicable to grid view. You can choose between having no image or displaying a page's feature image as a thumbnail image.
Number of results
Select the maximum number of results to be shown in the collection. Your options are 3, 6 or 9.
The order of results cannot be changed.
Example
Â