Browsing forcing Location choices

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

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #438974

    Carin Handsun
    Expired Member
    Post count: 178

    I would really like to turn this behavior off, but have no idea how its in the settings.
    if I click another Category link after clicking on any Listing, then it only wants to show me listings from the Location of the Listing I clicked in before I went back to the Category Link. Not sure what setting would create that behavior? I have to click to a regular page, then revisit the categories to get out of the location funnel. If I click on a Listing in CityA, then if I go back to the Category Page, it only shows me Listings in CityA.

    #438980

    Guust
    Moderator
    Post count: 29970

    Go to
    GD > Permalinks
    and un-tick “add location to listings URL”

    Let us know if that solves your issue.

    Thanks

    #438981

    Alex Rollin
    Moderator
    Post count: 27815

    You can try this snippet to see if it is what you are after:

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

    More information here under the section:
    Change Category and Tag links to remove the Location Filter
    https://wpgeodirectory.com/docs/faqs/detail-page/

    #438985

    Carin Handsun
    Expired Member
    Post count: 178

    I did the first suggestion, and it worked, but would like to actually have the city slug in the url, if I add the filter can i keep the city slug in permalink settings? Thanks again!!

    #439015

    Alex Rollin
    Moderator
    Post count: 27815

    Yes, the two are unrelated.

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

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

Open Support Ticket