- This topic has 1 reply, 2 voices, and was last updated 11 years, 2 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 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 › The loop not working on custom template
Hey,
I’ve got the settigns: Display as an archived page, and use a custom template for the results. When using the default template in: Plugins > search-filter-pro > templates > results.php, won’t work either. If I create a new template, remove the_loop stuff from WordPress and just print a <h1>Hello</h1>, this will be displayed in a blank page.
Wordpress version: 4.2.2
S&F version: 1.4.3
Does anyone know why it won’t load the template in correctly?
Hey Sabrina
The template: Plugins > search-filter-pro > templates > results.php, is only to be used when displaying results using a shortcode.
If you are using “as archive” there is no sample template, because it should be a template from your theme.
Take a look in your theme folder for templates you could use… under “display results” and under “filename” try any of the following: archive.php, search.php or index.php, most themes have these templates as standard.
Thanks