Forums Forums Search & Filter Pro Two shortcodes on same page?

Tagged: 

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

    Hi,

    We have a site search in the header of the site that displays on all pages (search text input and submit button). This then goes to /search and works as intended. However, we’d like to add additional filters to the search results page (taxonomy term dropdowns). I’ve added a second shortcode to search.php that has a dropdown for tags. However, when I select one, the page loads in content via ajax but the results don’t change?

    Is it ok to have 2 different search filter pro shortcodes on the same page pointing to the same search results list?

    Trevor
    #211824

    I am sorry, but what you have done will not work. Only one form can point to the a single results list, and you can have only one form on the results page.

    Anonymous
    #211848

    Ok thought so, thanks for confirming.

    What about using the same shortcode twice then and have the search box and taxonomy filters together?

    One in the site header and again on search.php and just use css to hide fields. Hide taxonomy in the header and hide the search input on the search page.

    Trevor
    #211852

    Sadly, that also will not work. V3 of our plugin will allow you to separate parts of the form and place in in different areas of the page, but that is still months away.

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