The loop not working on custom template

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)
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.