Use Addresses in Company Listings but Ignore for Search Results

This topic contains 7 replies, has 3 voices, and was last updated by  N 4 years, 7 months ago.

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

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #540222

    N
    Expired Member
    Post count: 19

    How can I continue to implement listings with addresses but have their locations ignored when a user searches?

    Limiting search to a selected city ignores all nearby cities with helpful matches, limiting search order to “closest” ignores some of the better matches and/or matches where someone has paid more for a better package for higher visibility.

    #540237

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    you can hide the Near search field. It can be done easily with some CSS you can find on this page:

    https://wpgeodirectory.com/docs-v2/faq/common-examples/#gd_search

    
    
    
    /*GDV2 Custom CSS – Hide the Search Near field in all GD Search Bars */
    .gd-search-field-near {
    display: none;
    }
    
    #540260

    Guust
    Moderator
    Post count: 29970

    Or turn off
    GD > Settings > Locations tab > Enable location search autocompleter? > NO

    And check the search radius search at
    GD > Settings > General tab > Search sub-tab > Search near radius

    Thanks

    #540407

    N
    Expired Member
    Post count: 19

    To clarify – my companies have addresses which need to be listed.

    I would like user entered search (keyword?) results to not take the company locations into consideration when determining order.

    #540420

    Alex Rollin
    Moderator
    Post count: 27815

    Yes, we understand. Have you tried the above?

    #540427

    N
    Expired Member
    Post count: 19
    This reply has been marked as private.
    #540455

    Alex Rollin
    Moderator
    Post count: 27815

    Those would have numbers if they were in effect, they are not. Only using the Near search field triggers ordering by distance.

    The CPT sorting options are not available for search. Search results are always sorted by the relevance of the keyword in the post title/description/categories/tags, and a small bump is given if the listing is relevant and ‘featured’.

    #540457

    N
    Expired Member
    Post count: 19

    I see – well it’s unfortunate the results cannot be controlled better but I appreciate your thorough response.

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount