• Resolved crimea

    (@crimeahrg)


    Hi! I can’t find in documentation feature for filtering ads. For example I have category “houses” and inside there houses with 2,3,4 bedrooms. Is it possible to arrange their filtering, if I will use “Custom field” extension?
    Also for me very necessary feature to filter by price – set min – max. Is it also possible somehow?

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

    (@gwin)

    Hi,
    with the Custom Fields extension, you can add a field for example “Bedrooms” to the [adverts_add] form so users would need to select number of bedrooms while posting an Ad.

    Then also using Custom Fields extension you can add the Bedroom field to [adverts_list] as well and configure it to search inside the [adverts_add] Bedrooms field.

    As for the searching by the price (min and max), we have a code snippet that does it here https://github.com/simpliko/wpadverts-snippets/blob/master/search-by-price/search-by-price.php you can install it as explained here https://github.com/simpliko/wpadverts-snippets/ at the bottom of the page.

    That being said the same search by Min and Max price you can configure using the Custom Fields extension, so if you will decide to use the extension i would recoomend creating the search by price using Custom Fields as it will be easier to control where the fields will display in the search form.

    Thread Starter crimea

    (@crimeahrg)

    Many thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Filtering possible?’ is closed to new replies.