Forums › Forums › Search & Filter Pro › Only one filter is working
Tagged: filter issues
- This topic has 12 replies, 3 voices, and was last updated 9 years, 8 months ago by
Anonymous.
-
Anonymous(Private) May 12, 2016 at 9:21 am #45339
Hi,
We have SFT Pro installed but only one filter is working.
– they are all checkboxes
– they are all custom taxonomies
– they ara all the sameAny thoughts? Ik can give you links etc in a private message.
Kind regards and thnx in advance,
Mark
ThordarTrevor(Private) May 12, 2016 at 11:01 am #45351Hi
Is it possible for you to make screenshots of any tabs in the search form setup that you have made settings in (some tabs you may have made no changes, these I do not need to see)? I need at least the General and Display results tabs.
Also, I need screenshots of the setup for the form fields.
Ross Moderator(Private) May 12, 2016 at 9:33 pm #45430Hi Mark
Ok so I managed to get this working.
I’m not sure why, but depending on the search, your theme was overriding the query. Or maybe it always was, it just wasn’t presenting itself obviously.
Anyway, I did 2 things.
Because you wanted to use the post type archive for displaying results, I changed the display method of your search form to “post type archive”.
Then, because something was interferring with the query, we “reset” it, or “overwrite it” again with the S&F query – so the correct results show.
This was done by adding 1 line to your template –
archive-yy_vacature_btb.phpBefore the first occurence of
have_posts– I added:<?php do_action('search_filter_do_query', 193); ?>This means S&F overwrites the main query, and it seems to have done what is required to get your results working.
Thanks
-
AuthorPosts