Forums › Forums › Search & Filter Pro › Multiple Search Issues on Website
Tagged: multiple search, property site, search, search & filter, web development
- This topic has 5 replies, 2 voices, and was last updated 9 years, 4 months ago by Anonymous.
-
Anonymous(Private) July 1, 2015 at 4:00 pm #20578
Hello
I’ve been trying for some time to get a multiple dropdown search working for my property site – http://franklins.ie/testing/
From what I can see I’ve installed and set everything up correctly but the search will not refine my results correctly i.e. if I search a location such as BRIDGEND and FOR SALE only a few properties should show.
If anyone could help me out with any tips or ideas on how I could get this to work it would be massively appreciated as I’m starting to worry this just isn’t possible.
Thanks for your time
McCrum
Ross Moderator(Private) July 1, 2015 at 8:49 pm #20588Hi Andrew
Please see the 2 ways of displaying your results to get an idea of how they work:
http://www.designsandcode.com/wordpress-plugins/search-filter-pro/docs/display-results/
As you are using the archive method you’ll want to head here to see how to modify the layout of your results:
What you likely need to do is create a new page template with the search form at the top, and then if your results are still not updating then possibly see here:
http://www.designsandcode.com/wordpress-plugins/search-filter-pro/faqs/#h-bad-template
Some themes/plugins overwrite the main query so the S&F query is not used for the results.
Thanks
Ross Moderator(Private) July 3, 2015 at 2:31 pm #20699Hi Andrew
I’ve noticed your issue – you are using a category field 3 times.
You cannot use a category field more than once, for each dropdown you must create a separate taxonomy and assign them to your posts.
You can setup a taxonomy yourself to behave in just the same way as your categories:
http://www.wpbeginner.com/wp-tutorials/create-custom-taxonomies-wordpress/
I recommend creating them via a plugin which is incredibly easy (https://wordpress.org/plugins/custom-post-type-ui/) but you can also do it by adding code to your
functions.php
.See a similar related post here – where the same problem occurs when using a tag field multiple times:
https://support.searchandfilter.com/forums/topic/and-filtering-not-working/#post-9913
Thanks
-
AuthorPosts