Forum: Feature Requests

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support related to the Feature Requests premium extension please open a new premium support ticket.

[Resolved]Make location-based search optional on the search form?

Forums Feature Requests Make location-based search optional on the search form?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #36293
    jasonli
    Member

    Hi,

    I am just testing out your app and it is fantastic!

    I only have one small suggestion. Currently if a member doesn’t have a set location, he or she will not appear on your search result, even when no location criteria is specified for the search.

    Can we make the location-based search optional? So that I can find a user by the user name alone even if the user’s location hasn’t been set?

    As I said before, your plugin is awesome. I just don’t want to have to keep my old member search widget.

    Thanks for reading!

    Jason

    #36322

    Hi Jason,
    I am glad you find GEO my WP useful 🙂

    add the line of code below to the functions.php file of your theme/child:

    Let me know if that helps.

    #36350
    jasonli
    Member

    I did but it is not working 🙁

    I turned WP_DEBUG on but saw nothing

    #36455

    The line above should work.

    Note that the plugin will show members without locations only when submitting the search form and the address field is empty.

    Since your site is in development mode I advice you to give a try to the new beta version. It might fix some of the issues that you are having with the plugin.

    So far there were no major issues reported.

    #36521
    jasonli
    Member

    Trying the beta version right now. The filter worked, but only when no other criteria is used. If I type a member name without specifying an address, the member is returned in the search result only if the member has a set location.

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Make location-based search optional on the search form?’ is closed to new replies.