Support Forums

Looking for support? You can access the support system via your account.

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

Viewing 6 posts - 1 through 6 (of 6 total)
  • Sara Mansouri
    #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

    Sara Mansouri
    #252326

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

    Trevor Moderator
    #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?

    Sara Mansouri
    #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 Moderator
    #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);
    }
    Sara Mansouri
    #254644

    Thanks Trevor, It worked.
    Cheers!
    Sara

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

The topic ‘Filtering and Sorting issue of the results’ is closed to new replies.