Forums Forums Search & Filter Pro Multiple search forms using post type archive

Viewing 3 posts - 1 through 3 (of 3 total)
  • Anonymous
    #201766

    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 🙂

    Trevor
    #201802

    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.

    Anonymous
    #201910

    Thanks for the breakdown Trevor, so far so good.

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