- This topic has 3 replies, 2 voices, and was last updated 7 years, 2 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Two shortcodes on same page?
Tagged: V3
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?
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.