Forums Forums Search & Filter Pro Filtering and Sorting issue of the results

Viewing 6 posts - 1 through 6 (of 6 total)
  • Anonymous
    #252325

    Hi There,
    Thanks for the great plugin,
    The search cash doesn’t automatically get updated so I had to Rebuild the cache. should I make any changes in the settings so it automatically gets updated?

    Thanks,
    Sara

    Anonymous
    #252326

    Sorry the title need to be Cache doesn’t automatically updated!

    Trevor
    #252377

    The cache will automatically update for any individual post that is edited, deleted or added using the WordPress editor page.

    Are you importing or updating using an Import plugin?

    Anonymous
    #253821

    Hi Trevor,
    Thanks for your reply. Yes we are importing posts via All Import plugin. How can we have the Cache updated automatically?
    Thanks,
    Sara

    Trevor
    #253958

    You would need to add this code to your child theme functions.php file:

    add_action('pmxi_saved_post', 'wp_all_import_post_saved', 1000, 1);
    
    function wp_all_import_post_saved($id) {
        do_action('search_filter_update_post_cache', $id);
    }
    Anonymous
    #254644

    Thanks Trevor, It worked.
    Cheers!
    Sara

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