Forums Forums Search & Filter Pro How to show two different 'results' pages

Tagged: ,

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

    Hi there

    Great plugin working great.

    I have one big issue

    I need to have two different resluts.php pages and I cant get it to work.

    I know how to style the existing template results.php to my liking, but I need two completly different reults pages that pass different variables (url) to detail pages.

    I tried duplicating the ‘results.php page and changing the name to ‘results_two.php’ and then changing the shortcode from

    [searchandfilter id=’1046′ show=’results’ ]

    to

    [searchandfilter id=’1046′ show=’results-two’ ]

    But this does not work.

    Can you please explain to me how to get this working?

    Thanks in advance.

    Ross Moderator
    #24152

    Hi there,

    If you see in the admin section, you should always use just

    [searchandfilter id=’1046′ show=’results’ ] show, should always be “results”

    Please see the docs on how to have different results templates:

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

    Essentially you just need to rename you template files to match the ID of your S&F form.

    Thanks

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