Tags and Categorys

This topic contains 2 replies, has 2 voices, and was last updated by  Brendan O’Donovan 6 years, 3 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #414199

    Brendan O’Donovan
    Expired Member
    Post count: 40

    When I click on a listing the tags and categories are displayed in that listing. When I click on the tags/categorys it shows related listings in that village/town/city only. Is there any way of changing the settings so it will display related listings in a region of say 50 miles from the town? The reason being is that these tags will hardly ever be useful unless the business is in a city where there will many related business

    #414244

    Alex Rollin
    Moderator
    Post count: 27815

    Hello Brendan,

    there isn’t a setting for that, but you can do a customization to remove the location filter completely.

    For sites that are just starting out this can be a strategic option

    Links for Categories and Tags on the Detail page will include the location of the listing. For example, the “Restaurant” Category at the top of the page will have a link that includes the location of the listing: https://MyGeodirectory.com/places/united-kingdom/northern-ireland/newcastle/restaurants/
    Use the following snippet to make the link for Categories and Tags point to the base page like: https://MyGeoDirectory.com/places/restaurants/

    The following Snippet will remove the filter that adds the location slugs to the URL on any page including Listing pages.

    
    
    
    remove_filter('term_link', 'geodir_get_term_link', 10);
    

    New to snippets? See the bottom of this page:

    https://wpgeodirectory.com/docs/customizing-your-style/

    #414322

    Brendan O’Donovan
    Expired Member
    Post count: 40

    Hi Alex, ya that works and thanks very much for the explanation as well.

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

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

Open Support Ticket