Forums Forums Search & Filter Pro Using different templates with shortcodes

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #15756

    Hi @bullduck,

    The easiest way to do this is to take the ‘results.php’ template file and copy it to a new file named with the ID number of your form (for example, if your form ID is 102, then name the new template file 102.php)….it should go in a folder named /search-filter which should be in your (active) Theme folder.

    Then modify that new template however you like…..S&P Pro will *automatically* use THAT template (it looks for one that matches the form ID first, before using ‘results.php’) when it displays your results.

    Ross Moderator
    #15765

    Yup once again Trisha great advice 🙂

    Bullduck, you can also read up here:

    http://www.designsandcode.com/wordpress-plugins/search-filter-pro/docs/display-results/with-a-shortcode/

    Thanks

    Anonymous
    #15766

    Thanks to you both for the replies.

    So, am I correct in understanding that I have to create a new form for each different template I want to use, or am I missing something?

    Ross Moderator
    #15767

    Ah yes, you may only have 1 template per search form..

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