Forums Forums Search & Filter Pro Can’t search on the search results page

Viewing 10 posts - 11 through 20 (of 23 total)
  • Ross Moderator
    #237501

    Sorry that was not correct (.elementor-posts) – the pagination was not updating, it should be .elementor-widget-archive-posts. (I’ve update this)

    Thanks

    Anonymous
    #237523
    This reply has been marked as private.
    Ross Moderator
    #237537
    This reply has been marked as private.
    Anonymous
    #237539
    This reply has been marked as private.
    Trevor
    #237575

    Hi Tanya

    The easiest way to add JavaScript is to use this plugin:

    https://wordpress.org/plugins/tc-custom-javascript/

    Anonymous
    #237578
    This reply has been marked as private.
    Trevor
    #237580

    Can you replace the script with this (I hope this is correct, I just re-wrote it for you):

    (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/archive-posts.archive_cards', jQuery('.elementor-widget-archive-posts'));
    	});
    	
    }(jQuery));
    Anonymous
    #237693
    This reply has been marked as private.
    Trevor
    #237710
    This reply has been marked as private.
    Anonymous
    #237740
    This reply has been marked as private.
Viewing 10 posts - 11 through 20 (of 23 total)