• Resolved freizeitmonster

    (@freizeitmonster)


    Hi Greg,

    is it possible to display more than one search bar?
    In my header i would like to display a “main-searchbar” containing just four options (search by title, catgegory, location and radius).

    In the categorie and location pages i would like to display an additional search widget (in the sidebar) with the same fields plus more custom fields like colors, sizes, condition of the item, payment details ……

    Is this possible?
    Can I call the search forms in the shortcode directly, like [show-searchbar=”NAMEXY”]?

    Do you know what i mean?

    Best
    Sven

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    with the Custom Fields extension you can create multiple search forms and assign them to different categories, please see https://wpadverts.com/doc/different-form-for-each-category/ for more details.

    Thread Starter freizeitmonster

    (@freizeitmonster)

    Hello Greg,

    thank you for your answer.

    I am using a general search form in the header, which I have customized (CSS).

    There is a conflict if I create my own search form for the categories.
    Because in the category settings I can only set one search scheme. But I need two:

    Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    you can try adding to the search bar in the header a form_scheme param, like this [adverts_list form_scheme="x"] where “x” is the actual name of a form scheme you would like to use in the header.

    If this will not work then you can replace the [adverts_list] shortcode in the header with a PHP/HTML code that will render always the same search form.

    Thread Starter freizeitmonster

    (@freizeitmonster)

    Hi,
    you first solution is working good.
    But since I customized my header search form, it crashes the design of the sidebar search form and the whole custom ad list page.

    For your second solution (PHP / HTML code in header) my coding skills aren’t that good – unfortunatelly.

    Your support is awesome, Greg.

    Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    this thread is marked as resolved, i am not sure if you still need help with that or not?

    Thread Starter freizeitmonster

    (@freizeitmonster)

    Hi,

    i would need help with it but I think this is custom coding and not a support topic.

    In this case it would be the best way to create a php/html search bar in the header.

    Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    ok please contact me via email or the contact form at https://wpadverts.com/contact/ about it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘More than one search bar?’ is closed to new replies.