Forums › Forums › Search & Filter Pro › Results don't show after filtering
- This topic has 14 replies, 2 voices, and was last updated 7 years, 9 months ago by Trevor.
-
Anonymous(Private) February 15, 2017 at 2:30 pm #90345
I’ve set-up S&F on my website to filter the blog masonry I use on the post page.
If the checkboxes are not marked I can see all the posts nicely in the blog masonry I use from the theme. Once is mark one or more checkboxes the results disappear. After un-checking all the boxes the results don’t show anymore.
I think there seems to be a problem with the connection between te S&F plugin and the theme.
Maybe this problem has already been discussed on the support forum but I did not find it…
I’m using:
WordPress 4.7.2
Enfold theme 3.8.5 by KriesiKind Regards
Trevor(Private) February 15, 2017 at 4:21 pm #90371Hi Christophe. I suspect what you will need is a small snippet of javascript and to know how to trigger masonry in the theme. For example:
(function ( $ ) { "use strict"; $(document).on("sf:ajaxfinish", ".searchandfilter", function(){ console.log("ajax complete"); // load your masonry function here }); }(jQuery));
Trevor(Private) February 15, 2017 at 4:49 pm #90381If you are using the ‘Custom’ display method, you need to edit the template file that the page uses and add an extra line, if the theme will still work with this done. This is shown in the documentation.
-
AuthorPosts