Forums › Forums › Search & Filter Pro › Search & Filter 2.0 Update and Questions
- This topic has 23 replies, 2 voices, and was last updated 9 years, 1 month ago by Anonymous.
-
Anonymous(Private) September 24, 2015 at 4:31 pm #25743
Hi Ross,
Thanks a lot for the update. I have some questions to do and some problems to solve. I hope you can help me.
1- Right now I’m using the previous version of the plugin, because i tried do the update but some problems happens: The filter stop to work… I try follow the tips in the “update notes” but is a little confusing for me. Can u help me?
2- I have a filter with two fields – clients and services – Right now they are working independently of each other. When i select a client appears all my posts with that client category. But what I want is when i select a client i can select also in the field services only the categories related to the post. How i can do that?
3- I don’t want the post appears before I select some filters. Only after i select the field appears the posts
Thanks a lot
Anonymous(Private) September 25, 2015 at 11:15 am #25858still need help on these points . I really appreciate the help
2- I have a filter with two fields – clients and services – Right now they are working independently of each other. When i select a client appears all my posts with that client category. But what I want is when i select a client i can select also in the field services only the categories related to the post. How i can do that?
3- I don’t want the post appears before I select some filters. Only after i select the field appears the posts
Ross Moderator(Private) September 25, 2015 at 11:39 am #25862Hey there
So to answer your questions:
2) In the general tab ensure “Field relationships” is set to “AND”, and also that “Enable Auto Count” is ticked
3) This is not an option just yet in S&F however I’m thinking of adding this in the admin, but its really not too difficult to implement.
What you would need to do is hide the div initially with CSS – which would be either
.search-filter-results
or#search-filter-results-1234
This means your results would start off hidden.
Then you would need to display the results after a search has been performed by the user – you can do this with JS by attaching an event listener to detect when a search has completed:
http://www.designsandcode.com/wordpress-plugins/search-filter-pro/faqs/
What you would need to use is the Ajax finish event, and there you would use jQuery to show your results again.
Thanks
Anonymous(Private) September 25, 2015 at 2:41 pm #25883Thanks for the feedback Ross,
2 – I have all your recommendations on. you can see the image with the general panel http://imgur.com/xWt2XPs
3 – i tried costumize the results.php to reach my point: i put that code:
if ( $_GET["_sft_portfolio_category"] && $query->have_posts() )
instead of the original one:if ( $query->have_posts() )
This can generate any problem?I really need the field relationship working.
Thanks a lot once again
Ross Moderator(Private) September 28, 2015 at 6:15 pm #26089This reply has been marked as private.Ross Moderator(Private) September 30, 2015 at 9:24 am #26197This reply has been marked as private. -
AuthorPosts