Please remove the limit of only 1 form per archive

Forums › Forums › Search & Filter Pro › Please remove the limit of only 1 form per archive

Tagged: 

Viewing 4 posts – 1 through 4 (of 4 total)
  • Anonymous
    #272369

    I have an archive showing cars for sale. It has a search form.

    I duplicated the search form, reduced a few fields to make it simpler, and put it on the front page.

    I get this error message: “Error: There are 2 Search Forms set to use Post Type Archive display mode … you may only have 1”

    Why? What possible difference does it make?

    Can you remove this limitation?

    Trevor
    #272419

    Because, with the way our plugin currently works, they will conflict with each other, as these type of forms attach themselves to the template for the post type archive. The easiest solution for now is to use custom CSS on the Home page to hide some fields (the Home page always has a classname on the body tag of home), OR, another idea …

    If a search on the Home Page would redirect to the shop page, you could make it a Custom form, set with Ajax off, and the results URL as the shop page. That would work.

    V3 of our plugin (due in a few months or so), should address your original question.

    Anonymous
    #272624

    Ok. Switching Ajax off solved it, obvious really. Thanks.

    Trevor
    #272626

    Thanks for getting back to me. I will close this thread for now.

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

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.