Forums Forums Search & Filter Pro Pagination not working for me in Elementor Pro

Viewing 8 posts - 1 through 8 (of 8 total)
  • Anonymous
    #190730

    Hi there, I’m using Search & Filter Pro in conjunction with the Elementor Pro “Posts” element. I have followed the instructions here: https://searchandfilter.com/documentation/3rd-party/elementor/ and it is working well, except the pagination links… When you click for page 2 or “Nexr”, etc… it doesn’t actually load new posts, just returns to the top of the page. Hoping you can help.

    The page is: https://www.threeamigos.ca/inventory/

    Theme: Astra
    Plugins in use: ACF Pro, Custom Post Type UI, Elementor Pro, Gravity Forms, WP All Import

    Thanks for your help!

    Trevor
    #190770

    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?

    Anonymous
    #190779

    Thanks for the reply! I updated to the script provided, but still no luck unfortunately…

    Trevor
    #190785
    This reply has been marked as private.
    Anonymous
    #190803
    This reply has been marked as private.
    Trevor
    #190811
    This reply has been marked as private.
    Trevor
    #190857

    I have installed the latest development copy of our plugin and that fixes the issue for you. When you next update the plugin, these changes will be in that new version also, so it won’t break.

    Anonymous
    #190869

    Thanks, Trevor! Really great support!

Viewing 8 posts - 1 through 8 (of 8 total)