advance search addon

This addon extends the default GeoDirectory search widget.

It adds an Ajax Autocompleter function to both Search fields: “Search For” and “Near”.

The “Search For” field will search for Keywords (Title, category, tags), while the Near field will query locations and return results by distance.

You can also search using the “Near Me” option, which will return results near your shared location within a radius that you can also reduce or increase following your needs.

The Near field allows to switch location acting like an alternative MultiLocation Switcher.

You can also filter search results by certain custom fields you may have added to your listings.

For example if you had added a custom select field “Pet Friendly” you could then filter results that only include pet friendly listings, this could be useful for hotels, café’s, bars etc.

You can also filter by multiple values, you could set up your directory so you could search for “Pet Friendly”, “Free WiFi” listings within 10 miles of the location you enter in the “Near” field.

This plugin also integrates well with our “GeoDirectory Custom Post Types” plugin to allow you to add different filter options per post type and also search per post type.

Possibilities are limitless.

27 thoughts on “Advanced search filters

    • Yes, using a widget though, not a shortcode. Shortcodes are under construction and an addon for them will be released soon.
      Thx

  1. Do the search filters also work for numerical values? E.g. there is a custom field for the average price of a meal in the restaurant listings and you can then filter the search for restaurants between 20 and 30 USD. Could a slider be added to select the min and max values of the filter?

    • Hi, the search filters work for numeric value too. A unique value should be used though (20 or 30). There is no way currently to define between 20 and 30. To get a slider to define the price in the search form, it would require a customization.
      Thx

  2. Hi paolo,
    My optimal search bar would have category, zip, and radius options without going into the “advanced search”. Also I would like to hide the “search for” input area. Would this be possible?

    • Not without a customization. Currently, as you can see on our demo, category and radius can only be added in the advance search part.
      Thx

  3. Also on your demo site.. as soon as choose a category from the dropdown menu on the search bar the map disappears and im given a list of stores in that category before I even hit “search”. Is there a way to select a category, then location, then the results only appear after I hit “search”? And I would like the map to still be visable even after I hit search button instead of it automatically dissapearing. Is this possible? Thanks in advance!

    • Yes the map can be visible on top on search results too.

      The 1st select are not category though. they are custom post types and once selected it redirect you to the list of only that custom post type.

      This will be soon changed though and will work similarly to what you described.

      Thx

  4. Can this placed on the left hand nav? Similar to a facted navigation? This is what I am looking for.

    If so can you tell me how difficult this will be?

    • Hi,

      it’s a widget, so it can be dragged and dropped in any widget area. If you theme provides a left hand nav widget area, it is very easy.

      Thx

  5. Hi,
    I need two clarifications here…1)Can I create custom fields for each category and search them. For example In Category Auto has fields Brand, year, mileage, color, price..etc. but for a category Real estate I need fields type, area, furnished etc.
    2) Is it possible to create relation fields…for example if I select state Colorado in the state field…the city field should display only cities in Colorado

    Thx

    • Hi,

      for the 1st question, you can create price or custom post type dependent custom fields, not for every single category. For the second question, that’s exactly how it works.

      Thx

  6. Hi,

    1) Do you have a link to a working demo of the advanced search filter feature?

    2) Does the advanced search actively show filtered listings on the map? i.e. can you have the map on the same page and keep it updated?

    Thank you

  7. Thank you for your reply.

    It doesn’t have to be AJAX. I simply need the map to appear on the same page as the search results. So each time an advanced search is filtered, the map markers and the text search results are updated. The example link you provided does not have a map on the page.

  8. Are you able to briefly explain to me how this is done. It would be much appreciated. Please email me directly if you prefer.

  9. I was wondering if you are able to have search use “or” logic instead of “and” logic. For example if 2 locations are seasonal and both has winter applied as an atribute and one has fall. I select both fall and winter and the results should still return both the locations. as apposed to only the one that contans both the fall and winter attribute.

    • Hi,

      the AND logic was set as default, because in most case, custom fields are used to search for a place offering all the options checked.

      Example, if I search for an hotel and check WIFI and Swimming Pool as features. I doubt anyone would be happy to see all places having one or another.

      We were already thinking to add a front end option for users to select AND / OR logic explaining how it works… It should appear soon.

      Thanks

  10. I want to style the bar alignment and search button to look like the demo. I placed the GD_search on a widget, but I have not been able to do this via css or the settings.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>