Hide search form after performing a search

By: George Ciamita | Asked: 07/25/2022
ForumsCategory: How-toHide search form after performing a search
George Ciamita asked 2 years ago
Hello, Is there a way that after a search is performed the form is hidden so there are just results shown? I have added a screenshot to see how the form is shown on the result page. Thank you   
Attachments
1 Answers
Bobby Clapp answered 2 years ago
The simplest way would to be to put the view on a separate page as well as the one you have now and direct to the new page without the form.
George Ciamita replied 2 years ago

Thank you for your answer Bobby, I was thinking this will be more difficult considering that I use [get param=] in the search form.

Bobby Clapp replied 2 years ago

Shouldn't be. The param it grabs comes from the URL. That URL would look pretty similar on a new page.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right