Forums Forums Search & Filter Pro The loop not working on custom template

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #16948

    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?

    Ross Moderator
    #16973

    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

Viewing 2 posts - 1 through 2 (of 2 total)