AnonymousInactive
Yes of course it does NOT have xxx in it!! 🙂 neither yyy btw…
Can you precise this? Where am I supposed to act?
changing the Ajax Container to this:
.elementor-element-2463efa .elementor-widget-posts
Thanks
Try changing the Ajax Container to this:
.elementor-element-2463efa .elementor-widget-posts
and also the part of the javascript that has the same:
[searchandfilter id="xxx" action="filter_next_query"]
<script>(function ( $ ) {
"use strict";
$(document).on("sf:ajaxfinish", ".searchandfilter", function(){
elementorFrontend.hooks.doAction('frontend/element_ready/posts.classic', jQuery('.elementor-element-2463efa .elementor-widget-posts'));
});
}(jQuery));</script>
Please also confirm the actual javascipt does NOT have xxx
in it?
AnonymousInactive
Thanks for your answer.
I’ve added this to the text editor before the posts widget, but nothing changes…
[searchandfilter id="xxx" action="filter_next_query"]
<script>(function ( $ ) {
"use strict";
$(document).on("sf:ajaxfinish", ".searchandfilter", function(){
elementorFrontend.hooks.doAction('frontend/element_ready/posts.classic', jQuery('.elementor-widget-posts'));
});
}(jQuery));</script>
AnonymousInactive
Hello,
I am trying to use Search and Filter Pro with Grid Posts from Massive Addons, but I cannot make it work properly. I looked to how your plugin works with other 3rd party plugins like https://searchandfilter.com/documentation/3rd-party/elementor/ or others, but I can still not figure out what I do wrong. On the same page we will use 3 Grid Posts, each in its own tab, and only one needs to have a filter. I can also share the test page or more, but I do not know how to do that privately.
Thanks!
Hi tlimmer
Ok I think I follow, what I think you are asking for may be beyond my abilities with Elementor (it seems you are more experienced than me!)
However, looking at the docs, I do see some php filter for modifying the html of widgets:
https://code.elementor.com/php-hooks/#elementorwidgetrender_content
I hope that helps! :/
Thanks
AnonymousInactive
Hi,
We used the search and filter twice in one page I just added 2 classes for each result container to display the result it works but when I try to click the pagination let say I click page 2 both container change to page 2 whereas it should only change on the first instance. Please have a look at this page https://kbs.com/news-insights. Note that we are using Elementor.
Best Regards,
When using Ajax to refresh the results, Elementor has no mechanism to do this, so the best that you can do is to make sure that Auto Count is ON and Hide Empty ON in each field, to try to avoid no results.
I am not sure what mechanism Elementor has when not using Ajax, but that may be limited too.
I am sorry, we do not. Other users have asked Elementor, but have not reported any solution.
Indeed, that is an issue with Elementor, which I can’t fix. Their code does not handle no results. Our plugin does not control this part of the process.
Usually, if Ajax has to be disabled before it works, then the Ajax Container is wrong. I see now that you are using Elementor, so this post may be relevant:
https://support.searchandfilter.com/forums/topic/how-can-i-search-elemntor-column-while-retaining-the-design-of-that-column/#post-209754
But, if you are using the ‘Cards’ layout, in the script the word classic
may need changing to cards