- This topic has 4 replies, 2 voices, and was last updated 6 years, 5 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › When results are loaded with Ajax, the modified results.php is not used
Tagged: ajax, custom template, shortcode
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)
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.