When results are loaded with Ajax, the modified results.php is not used

Forums › Forums › Search & Filter Pro › When results are loaded with Ajax, the modified results.php is not used

Viewing 5 posts – 1 through 5 (of 5 total)
  • Anonymous
    #218679

    When displaying results with shortcodes using a modified results.php template, on page load or with Ajax disabled the correct template is used, but with Ajax activated, on filtering, the results appear like when the template was in original form. For some reason the modified results.php (in theme directory/search-filter folder)

    Anonymous
    #218680
    This reply has been marked as private.
    Anonymous
    #218682
    This reply has been marked as private.
    Trevor
    #218703
    This reply has been marked as private.
    Anonymous
    #218728

    Thank you for your prompt reply. I think it was a caching related issue. I created a new search form and for now everything works fine. I’m trying to have different “templates” for each posts type search/filter form, without resorting to “form-id.php”, the default way – its difficult when you have many forms and languages. Instead I want to use only results.php and conditionals for each post type and hopefully reach the same outcome.

Viewing 5 posts – 1 through 5 (of 5 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.