Support » Plugin: WPAdverts - Classifieds Plugin » Purchase support

  • Resolved RichardCulley

    (@richardculley)


    I purchased the full bundle from you for my site. I am trying to create a search form.

    I want to search by advert-category via drop down and it just doesn’t want to work. I have sports categories and I want to use the search to Filter them down but it doesn’t want to work for me. Which field am I better to link it too? Title, slug, etc

Viewing 3 replies - 1 through 3 (of 3 total)
  • See the documentation here.
    https://wpadverts.com/documentation/custom-fields-paid-addon/

    I was in trouble too after reading it worked out.

    Form – Search

    When you will create first search form you will notice that it layouts differs from the Ad form and mimics the design of a search form in [adverts_list] shortcode…

    Taxonomies

    Taxonomies usually have predefined values in the wp-admin panel, so most of the time you will want to use radio, checkbox or drop-down inputs to search for them, although the search can work with other inputs as well.

    By default the sentence will look pretty much like below, you will need to fill two values:

    In the first field you select taxonomy field you want to search by, allowed values are term id, title, term slug and term taxonomy id. When searching by “Adverts Categories” you will want to select term id, in other cases, it will depend on how is your callback function was written or what field you are using to search. If you are using a text field it makes sense by title or term slug….

    Plugin Author Greg Winiarski

    (@gwin)

    Hi, the Dropdown and Checkbox fields should work best for filtering by category, can you let me know how you have the search field configured in the Custom Fields editor?

    Also, please let me know what do you mean by “does not work”? The search options do not display in the form, they display but search is not finding anything or something else?

    Thread Starter RichardCulley

    (@richardculley)

    Ok I figured out the issue…

    When I renamed the “field name” I didn’t link the words together, i.e. custom_field_1 I had it set to select your sport without the underline links and it confused the system.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Purchase support’ is closed to new replies.