Skip Navigation

[Resolved] Hide search results untill searched?

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.

This topic contains 2 replies, has 2 voices.

Last updated by thomasS-11 6 years, 10 months ago.

Assigned support staff: Caridad.

Author
Posts
#270004
screenshot1.png

Hi.

So i made a parametric search view, im trying to create a search page.

ALL results of included post types are showing on my search page before i searched.. I want to show nothing or some info text untill the visitor actually performed a search..

How can i hide results UNTIL the search have been made?

#270045

To do this you need to create 2 pages:

- One page for the search form
- A second page for the search resuts

In the first page you include only the View form. Look at the section "Adding Just the Search Form to a Page" over here:
https://toolset.com/documentation/user-guides/front-page-filters/

The second page would have the normal View shortcode to show the results.

Please let me know if you are satisfied with my reply and any other questions you may have.

Regards,
Caridad

#274128

Thank you very much .)