News search and filter

Use this component to create a news listing page that allows customers to search and filter the articles displayed.

Moving to the Help Hub

This guide has been moved to the Help Hub and will be removed from this page soon.

See the Help Hub guide

On this page

Using this component


  • Use on landing pages to list large amounts of news articles with the ability to search and filter them.
  • Limit other components on your page. The page should mostly be dedicated to the News search and filter component. If you add other elements to the page, such as a summary or call out, position the News search and filter component last on the page.


  • Add more than 1 News search and filter component to your landing page.

How to add the component to your landing page

To add the News search and filter component to your landing page:

  1. Create a new full width section and click Add block.  
  2. In the Choose a block screen, search for News Search & Filter and select the component from the search results. The Configure block screen will open and you can adjust the settings.
  3. Title field: this can be left with the default text or customised. The title won’t be visible publicly.
  4. General accordion:
    • The Filter title will appear at the top of the left side column above any other filter categories that turn on.
    • Tick the Show images checkbox to have all of the news articles listed with their accompanying images. You can still choose to show images, even when not all of your news articles have images attached as this component will adapt. 
  5. Result listings accordion:
    • The Results display can be left with the default text of ‘Showing {RANGE} of {TOTAL} results,’ which will display as ‘Showing 1 - 10 of 540 results,’ for example. It will show at the top of the news listings results.   
    • The No Results Message can be customised or you can leave the default message.
    • In Content types tick the checkboxes for all the types of articles that you would like to be captured in your news listing.
    • In the Agency field you can either leave this field blank or add an agency to show articles from that agency.
    • In the Topic field you can either leave this field blank or add topic to show articles tagged with that topic. If you add both an agency and a topic this will limit the search results to only articles that include both tags – articles with only one of the tags will not be shown.
  6. Keyword accordion:
    • The Keyword Label can be customised or remain with the default text. It will appear at the top of the left side as a search field for customers to search articles by keyword.
    • The Input placeholder is where text can appear within the search bar, for example ‘search for news articles’. It can remain blank.
  7. Content type filter accordion:
    • By ticking the Show content type filter checkbox, you will enable the filter option of article type. You should tick at least 2 article types in this section and in the above Result listings accordion if you enable this filter option.
  8. Tag filters accordion:
    • If your news articles have been tagged with additional tags you can add an additional filter option in this section. For example, if your news articles have used the Category tag field, available in the new article template, you can add this as a filter option. In the Vocabulary field you would search for the tag ‘Category.’
    • In the Terms field search and select the tags that you added to your news article. For example if you used the ‘Category’ tag field in your news articles and applied the tag ‘Awards and events’ you would add this in the Terms field.
    • You can add more tag filters.
  9. Date range accordion:
    • By ticking the Show date range checkbox a date range selector will automatically populate as a filter option with a To and From fields with a calendar selector option.  
  10. The Node field can be left on the default setting.
  11. Click the Update button.


How this component displays 

Live agency news pages

Example of the component

The example below shows how the News search and filter component displays with the following filters applied:

  • images set to display
  • the agency set to Department of Customer service
  • the date filter turned on
  • all article types selected to be shown
  • all article types set to be included as a filter option. 
Filter results
News type
Showing 1 - 10 of 210 results
Ministerial media release
28 May 2024

NSW working to improve digital access through new inclusion strategy

The NSW Government is calling on local communities, industry, community organisations, and government agencies to help shape the state’s first Digital Inclusion Strategy.

Ministerial media release
20 May 2024

Young people at Cobham Youth Justice Centre hit top gear with new motor skills

Young people at Cobham Youth Justice Centre in Western Sydney are getting hands-on experience in simulated work environments that provide an avenue to the automotive industry post-release.

Ministerial media release
20 May 2024

Service NSW “Kangaroo Bus” visiting Aboriginal communities

Aboriginal communities in regional and remote NSW will soon have better access to government services and transactions, such as driver licence and vehicle registration renewals, Seniors Card applications, and driver testing, with a dedicated Service NSW Mobile Service Centre.

Departmental release
26 April 2024

New home for Marrickville Service NSW Centre

People living in Marrickville and surrounding suburbs will benefit from increased driver knowledge test availability and a more convenient location when the Marrickville Service NSW Centre relocates to a larger premises within Marrickville Metro.

Departmental release
23 April 2024

Packaging company fined after worker sustains crush injuries in workplace incident

Visy Board Pty Limited (Visy) has been fined $375,000 in the NSW District Court after an employee sustained crush injuries to his left ankle following a workplace incident where the ruling found therisk of injury was “patently obvious”.

Ministerial media release
11 April 2024

Ministers to meet in Griffith for industry roundtable on farm safety

The NSW Minister for Work Health and Safety Sophie Cotsis and NSW Minister for Agriculture Tara Moriarty will be joined by the Member for Murray Helen Dalton in Griffith on Thursday as SafeWork NSW hosts an industry roundtable to discuss the prevention of workplace fatalities and serious injuries in the agriculture sector.

Ministerial media release
4 April 2024

NSW Government $5m for critical research and patient support to address Silicosis crisis

The NSW Government has committed $5 million in critical funding for silicosis research and a patient support program for individuals and their families navigating the health risks associated with exposure to silica dust.

Inside DCS blog
2 April 2024

Helping young people transition to adulthood

A new youth section offers a centralised starting point for young people in need of information and support. 

Ministerial media release
2 April 2024

NSW Government unveils innovative flood and storm intelligence project

In a nation-leading trial that could help protect communities during severe weather events, the NSW Government is testing technology that harnesses artificial intelligence (AI) and the mobile phone network to predict the possible impacts of flooding.

Ministerial media release
27 March 2024

Quarter of a million essential workers set to benefit under proposed long service leave reforms

Up to 250,000 community sector workers would see their leave rights expanded under a landmark draft bill released today by the NSW Government for consultation.

Top of page