Skip Navigation

[Résolu] If a search has no results, show another search

This support ticket is created Il y a 1 an et 11 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 1 réponse, has 2 voix.

Last updated by Shane Il y a 1 an et 11 mois.

Assisted by: Shane.


Tell us what you are trying to do?
I have a text search to search "Locations". It's possible not to find the "Location" you're looking for. If this happens, instead de "No items found" message, I would like to display a new search to "Provinces".

Is there any documentation that you are following?
I didn't fund anything related.

What is the link to your site?
hidden link

It's a developing site, so you can have a look without problem



Languages: Anglais (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jaime,

Thank you for getting in touch.

Assuming here that you're using the classic view setup to do this search then you should just be able to add the secondary search view's shortcode to the 'No Results Found' section.

This should allow you to display your next search if there view returns no results found.

A similar setup can be done if you're using the blocks builder as well.


This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.