Elementor Post Widget not filtered

Forums › Forums › Search & Filter Pro › Elementor Post Widget not filtered

Viewing 10 posts – 1 through 10 (of 18 total)
  • Anonymous
    #200917

    Hi S&F 🙂
    i am trying to filter posts of a specific category by tags. With “no” filter applyed it should show my all posts of the category.

    I cant get it to work, even so i think i did all accordingly to the documentation and forum posts. The Filter of Search%Filter Pro do not get applyed and it only shows the posts according to the “Query”- of the Elementor Post Widget. Heres what i did:

      Created new Search form with Display results method “Custom”.
      Set Results URL to the URL where the Posts Widget is at
      Added “Tag” and “Reset Button” to Searchform UI
      Added a HTML Block on the Page in Elementor saying “[searchandfilter id=”2514″]”
      Added a HTML Block beneath the previous Block on the Page in Elementor saying “[searchandfilter id=”2514″ action=”filter_next_query”]”
      After that comes the Post Widget with a specific class
      Added that class to Display Results->Ajax->Ajax Container and added “.elementor-pagination a” to Pagnation Selector

    https://imgur.com/a/sH8y66g

    Trevor
    #200936
    This reply has been marked as private.
    Anonymous
    #200952
    This reply has been marked as private.
    Trevor
    #200960

    OK. Is the Masonry option ON in the Elementor Post Grid? It is best to be ON.

    In the text block where the [searchandfilter id="2514"] is, add also this code (in Text mode):

    <script>(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));</script>
    Anonymous
    #200966

    I did just add your function to [searchandfilter id="2514"]. Its not a Text Block but a HTML block, I guess that makes no difference though?

    (Masonry Option was on already)

    No Change so fare

    Anonymous
    #200968
    This reply has been marked as private.
    Trevor
    #200974
    This reply has been marked as private.
    Anonymous
    #201237
    This reply has been marked as private.
    Trevor
    #201243
    This reply has been marked as private.
    Anonymous
    #201257
    This reply has been marked as private.
Viewing 10 posts – 1 through 10 (of 18 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.