AnonymousInactive
Problem 1:
I have created a search and filter widget and using it with elementor pro. In search form API, I am using Category and Author. Author counter is showing all posts by Author, I want to limit the counter to the posts available only on categories I have selected from “Tags, Categories & Taxonomies” tabs.
Problem 2:
When I Enable Auto Count, limitations set from “Tags, Categories & Taxonomies” tab does not work. All post loads on the result page.
Webpage URL: http://www.learnbywatch.com/learn/career/
thanks
It may be that Elementor is using masonry (or a similar script), and so it has to fetch the results, and then recalculate post heights and reformat them. It is how Masonry does it, and this is part of the theme/WordPress, not our plugin.
Masonry is discussed on this documetnation page, although the script you should use has been changed:
https://searchandfilter.com/documentation/3rd-party/elementor/
For the revised script see here;
https://support.searchandfilter.com/forums/topic/elementor-pro-post-grid-issues-pagination-and-image-render-post-filter/#post-191836
AnonymousInactive
Hi
My elementor integration with your plugin seems to work but appears to be a visually unstable. What I mean is that when I filter I can see the search results reshaping and then adjusting again. This feels somewhat unstable and buggy.
Can you please advise why this happens and how I can stop it?
Thank
AnonymousInactive
Hi
I build a textbook catalogue with checkboxes filters on the sidebar (subject, publisher etc’)
It all works fine and I can see the filtered results
I am using elementor pro with hello theme + woocommerce
I am using elementor pro search element
when I activate any search plugin including search everything, relevanci or others
the filtered results are not showing.
Please Help
Guy
AnonymousInactive
Looking good thanks for the info.
Just in case anyone else stumbles across this issue, I achieved it by doing the following:
I added my custom css only to relevant page in elementor.
body.sfajax .elementor-127 .elementor-element.elementor-element-a0f90c5
.elementor-posts-container .elementor-post__thumbnail {
padding-bottom: 0 !important;
}
Then I created my own function and placed this in my child themes function.php and linked it to my custom js which I placed in the root.
(function ( $ ) {
"use strict";
$(document).on("sf:ajaxstart", ".searchandfilter", function(){
jQuery("body").addClass("sfajax");
});
}(jQuery));
Are you still working on a localhost install?
I think this might be an issue similar to this one:
https://support.searchandfilter.com/forums/search/elementor/
(many of the posts are private, but the solution was given publicly, albeit that the elementor identifiers for the html objects may be different in your case.
The key post is this one:
https://support.searchandfilter.com/forums/topic/integrating-elementor-pro-with-search-and-filter-pro-3/page/3/#post-187641
(It was the final solution. The following posts were trying to help the user implement it).
It is difficult to tell what the issue is without being able to see it. Our internal testing shows Elementor works provided you follow the guide (and addendum about that script).
If you are using this code from our documentation:
(function ( $ ) {
"use strict";
// detects when the ajax request has finished and the content has been updated
// re-init the layout scripts from Elementor
$(document).on("sf:ajaxfinish", ".searchandfilter", function(){
elementorFrontend.init();
});
}(jQuery));
It needs to be changed to:
(function ( $ ) {
"use strict";
// detects when the ajax request has finished and the content has been updated
// re-init the layout scripts from Elementor
$(document).on("sf:ajaxfinish", ".searchandfilter", function(){
elementorFrontend.hooks.doAction('frontend/element_ready/posts.classic', jQuery('.elementor-widget-posts'));
});
}(jQuery));
Can you try that?
We do not support AE anywhere. Is that what the problem is, do you think? Did you follow precisely the instructions? You cannot use any different element for the post output.
One thing we have recently found needs changing though, see here:
https://support.searchandfilter.com/forums/topic/pagination-not-working-for-me-in-elementor-pro/#post-190770