- This topic has 2 replies, 2 voices, and was last updated 7 years, 3 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 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 › Multiple search forms using post type archive
I have two search forms using a Post Type Archive display mode for the same CPT. But, I am conditionally showing the second one only when on a specific post type archive only. I’m getting this error:
Error: There are 2 Search Forms set to use Post Type Archive display mode for the post type Classes - you may only have 1
The results are as expected, I just want to see if there are hidden issues I may not be aware of. That warning looks pretty scary 🙂
The issue is that if one of the forms will be controlling the posts archive page and taxonomy archives for that post type. If both forms have the same fields, and both forms never appear on the same page (not even if one is hidden with CSS), it is unlikely to cause an issue. If one form has more fields than the other, but the one with more fields has all those of the smaller form, you might be lucky and that might be the form that takes control, and thus both forms will work.