Disable distance

This topic contains 15 replies, has 3 voices, and was last updated by  Alex Rollin 6 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #417438

    Tim Sanford
    Full Member
    Post count: 157

    Hi I have 2 quick questions,

    I’m trying to disable the distance text that appears under results after doing a search.
    The target is an h3 but I’m having difficulty targeting that child exclusively, could you assist please?

    Also,

    From here http://perfectpaddles.com/?geodir_search=1&stype=gd_place&s=+&snear=california+&sgeo_lat=36.778261&sgeo_lon=-119.41793239999998

    When I search in the location bar by “California” the result “Tim Sanford” is not displayed. However, when I enter “Tim Sanford” into the keyword bar, the result is displayed with the location “california” visible. Is this a bug? or am I overlooking something?

    #417491

    Kor
    Moderator
    Post count: 16516

    Hi Tim,

    Try this custom CSS code and see if it helps. Insert into GD > Design > Scripts > Custom Style CSS or try unchecking the option shown in the attached.

    
    
    .search-results .geodir-content >h3 {
        display:none!important;
    }

    Thanks!

    #417594

    Tim Sanford
    Full Member
    Post count: 157

    That CSS worked perfectly! Thank you!

    On the second question, do you have any idea what is causing the behavior of the “Tim Sanford” listing not being listed when I search by area “california” when the listing is located in california? I don’t have a range limit set. For that matter, no listings in Los Angeles are appearing if that helps refine down to the answer.

    I hope you can help

    #417599

    Kor
    Moderator
    Post count: 16516

    Hi Tim,

    Thanks for your reply. Could you please share WP admin access in private reply so that I could check on it?

    Thanks!

    #417615

    Tim Sanford
    Full Member
    Post count: 157
    This reply has been marked as private.
    #417619

    Kor
    Moderator
    Post count: 16516

    Hi Tim,

    I’ve switched “On” the Autocomplete for you and could you check and see if it works now? Check out the attached screenshot.

    #417634

    Tim Sanford
    Full Member
    Post count: 157

    Is there another solution to this? there are 2 reasons I ask;

    1 – In the event that a user does not use the auto-complete feature, they will not see certain desired results. This can happen in the case that a user clicks enter before the auto-complete suggestion is presented.

    2 – Given that the field can return 2 different types of query results(with or without auto-complete), this can lead to inconsistent behavior for the user. This is the reason auto-complete was off by default.

    I do see that having it enabled returns all results however.

    #417660

    Alex Rollin
    Moderator
    Post count: 27815

    In a lot of cases, when it is desireable to show ‘all’ the listings in a given location, the path leads towards including direct links for the user so they can get their without user error.

    You can add the Popular Location widget: https://wpgeodirectory.com/docs/location-manager-widgets/#pop
    Also available as a shortcode: https://wpgeodirectory.com/docs/location-manager-shortcodes/#pop

    Did you have another idea? Some other way to go about helping the user find what they are looking for?

    #417668

    Tim Sanford
    Full Member
    Post count: 157

    I don’t have another idea that comes to mind,

    ultimately I’m trying to arrive to the following place..

    From the search bar;

    – User’s will get consistent behavior when using search(so we disable auto-complete to reduce variability)
    – All results in a specified region are displayed – currently not the case 🙁

    Is this not possible?

    #417775

    Alex Rollin
    Moderator
    Post count: 27815

    Hello

    when near search is used and a location match is found, the advanced search uses the near search radius to return results; that’s how the search works, but you can leave off the autocomplete, as you have done, to limit the functionality to that behavior. To see all the listings in an area then you can link to the locations, which is a different idea than search.

    #418298

    Tim Sanford
    Full Member
    Post count: 157
    This reply has been marked as private.
    #418316

    Alex Rollin
    Moderator
    Post count: 27815

    What fix should be rolled in?

    The form is provided by Buddypress, and I am not aware of a fix but you could contact the plugin author about it.

    #418321

    Tim Sanford
    Full Member
    Post count: 157

    “when near search is used and a location match is found, the advanced search uses the near search radius to return results” There isn’t a max radius set yet I don’t see all eligible results.

    On buddypress, thanks I’ll investigate further on that side

    #418521

    Alex Rollin
    Moderator
    Post count: 27815

    If a result is missing, send us the details and we can help track down the reason why. Please include a link to the result you think should be included as well as a link to the page where you think it ought to show.

    #418875

    Tim Sanford
    Full Member
    Post count: 157

    I’ve created a page w/ repro steps – it’s very short 🙂
    http://perfectpaddles.com/987-2/

    as stated previously, I’m not setting a max range on my side

Viewing 15 posts - 1 through 15 (of 16 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket