Forums › Forums › Search & Filter Pro › Sort and filter in search results page
- This topic has 4 replies, 2 voices, and was last updated 10 years, 10 months ago by
Anonymous.
-
Anonymous(Private) November 16, 2015 at 2:18 pm #29946
Hi,
Here’s my situation.I have a global search (a Search and 3 Taxonomy fields) and in the Results Page I need to display the global Search again along with a couple of Sort Order and Post Meta fields to filter by location and sort by date.
Do I need to create 2 different Search form? Which Display Results Method should I use?
Thanks!Ross Moderator(Private) November 21, 2015 at 2:04 pm #30363Hey Martin
Using two different search forms for 1 results set is not officially supported however there is a workaround.
Create your advanced search page as you normally would – and get that up and running.
Then, create the global search and set ot to display results using a shortcode (in the display results tab).
Then enter the full URL of advanced search results page in the Results URL.
This should now work 🙂
Thanks
Anonymous(Private) December 3, 2015 at 5:03 pm #31358Hi Ross,
Thanks for your reply but I wasn’t able to make it work.Do both search form should use Display results method: Using a shortcode?
I’ve created 2 Search forms with the following settings.
Search Form #1 – Global Search
- Auto submit form? No
- Display results method: Using a shortcode
- Results URL: Search Form #2 URL page
- Search Form UI: Search, Taxonomy, Submit Button
Search Form #2 – Advanced Search
- Auto submit form? Yes
- Display results method: Using a shortcode
- Search Form UI: Sort order
When I place both Search form in the results page only the SF#2 is working.
When I use the SF#1 and select a taxonomy option doesn’t work either in the SF#2 results page, all of the results are displaying.What am I doing wrong?
Let me know if still possible or not,
Thanks for your help.Ross Moderator(Private) December 8, 2015 at 1:56 pm #31707Hey Martin
I’ll send you an dev version later on which might help with this.
As I mentioned, its not officially supported though although I do know a few users’ who have got this working.
Thanks
-
AuthorPosts