pre_get_posts with ajax calls

  • Unknown's avatar

    HI! I am using pre_get_posts to intercept queries and modify the query that smart filters are doing in the store page. It works.
    However the client wants to use AJAX with the filters and pre_get_posts don’t get called, so I can not modify the filters queries any longer.

    Is there a way to do this with ajax?

  • Hi there,

    I do not see any sites under your @pablowerus WordPress.com account when I check on our end. You can confirm by visiting this page: https://wordpress.com/sites.

    Is it possible you created your site under a different login with us or are using another provider like GoDaddy, Bluehost, Hostgator, etc. instead? What is the URL of the site you are needing help with?

    Happy to check in our system so we can take a closer look.

  • The topic ‘pre_get_posts with ajax calls’ is closed to new replies.