Skip Navigation

[Resolved] Unable to split 'results' from 'search' and 'filter'

This support ticket is created 5 years, 4 months ago. 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.

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

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 5 years, 4 months ago.

Assisted by: Luo Yang.

Author
Posts
#1347701

I am trying to:
Hello, I’d like to have the search bar on my home page, then when the user searches I’d like to take them to a results/archive page – with the search term pre-filled. I’d also like to have the ability to filter blogs while still having the original search term active.

ex: Dan lands on homepage, he searches “London”, Dan is taken to a results page with his “London” search still applied. Dan now wants to filter out the food blogs and only look at the drink blogs, so he checks the Food checkbox and now a list of blogs on “London” and “Food” are presented on the results/archive page.

In the video (found here: hidden link) Dario is able to split the search field and the results field. However I’m unable to do so. In the elementor side bar the “Custom Search” and “What do you want to include here?” boxes aren’t appearing for me. I’m using the 69$ version of Toolset.

PLEASE advise, we’ve pounded our head on the table for 4 days on this.

Link to a page where the issue can be seen:
hidden link - this is a test page

I expected to see:
The search and results seperated, I want the first search on a different page than the results but also having a second search on the same page as the results.

Instead, I got:
Search and results in the same element/container.

#1347727

Hello,

The video you mentioned above is for normal post view.

Since you are going to take users to the "results/archive page", I assume we are talking about Views WordPress archive.

Views WordPress archive does not support: split 'results' from 'search' and 'filter', see our document:
https://toolset.com/documentation/user-guides/front-page-filters/#4-1-adding-the-custom-search-form-to-a-page-or-widget

In your case, you might consider custom codes:
Copy the search form HTML codes from your "results/archive page", and paste them into the "different page", it should be able to pass same URL parameters to the "results/archive page".