Forums Forums Search & Filter Pro Not showing all results

Tagged: 

Viewing 10 posts - 1 through 10 (of 17 total)
  • Anonymous
    #198737

    I hit rebuild cache on the form and it now shows an updated list. I will have clients constantly adding “listings” is there something I will need to do?

    Trevor
    #198754

    If you are adding posts from a front end submissions tool, that tool must make a call to our plugin to tell it that the posts has changed. See this action:

    https://searchandfilter.com/documentation/action-filter-reference/#update-cache-for-a-particular-post

    This will trigger the same action in our plugin as though you had pressed the Update post button in the editor.

    The problem is arising because the script you are using is probably not using the WordPress save_post() function.

    Anonymous
    #210181

    Hey Trevor, any way I can set the plugin to do this periodically? As a cron job? The cache is not updating. Thanks in advance.

    Trevor
    #210264

    There is not, sorry. What import tool/plugin are you using?

    Anonymous
    #210266

    WP All Import, i have to rebuild the cache to have all results show up.

    Trevor
    #210274

    See this post (it might work):if using WP All Import, have you have included this code in functions.php?

    add_action('pmxi_saved_post', 'wp_all_import_post_saved', 10, 1);
    
    function wp_all_import_post_saved($id) {
        do_action('search_filter_update_post_cache', $id);
    }

    As this (should) update our cache each time you use that plugin.

    Anonymous
    #211502

    ill give it a try thank you!

    Anonymous
    #216671

    Hey there, I want to give you an update. I have added this on the functions.php but still do not have the cache updating. Are we sure there isnt some way i can systematically cause the plugin to update its cache on a specific cycle? This is causing issues.

    Trevor
    #216681
    This reply has been marked as private.
    Trevor
    #216749
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 17 total)