How to "Disable" GeoDirectory from automatically selecting a location

This topic contains 5 replies, has 5 voices, and was last updated by  Stiofan O’Connor 6 years, 5 months ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #406924

    Abbas Sarfraz
    Free User
    Post count: 5

    Hey everyone.

    So we have a built a website ( http://www.ghoomlo.pk) using WPGeodirectory using Supreme Directory theme version 1.1.6. We also have a paid plugin of multi-location installed on it.

    So the issue is;

    1 – A users comes on a listing page such as https://www.ghoomlo.pk/listing/balochistan/makran/historical-places/chandragup-volcanos/

    2 – Now he clicks on the category links from the footer on the configured category for the listing. For example, in this case he / she clicks ” Historical Places”

    3 – The user is then re-direct to all the ” Historical Places (Category) in the region ” Balochistan” and city ” Makran”

    4 – However, what we want is that when he/she clicks any of the category link either from the top category menu or the category menu in the footer, he / she should be redirected to this link ” https://www.ghoomlo.pk/listing/attractions/historical-places/ ” (the overall listing of Historical Places” rather than this link “https://www.ghoomlo.pk/listing/pakistan/balochistan/makran/attractions/historical-places/” (the historical places in just that region”

    5 – This applies to the website logo as well, which also locks onto that location.

    Can anyone guide on how to do it?

    Thanks,
    Abbas

    #406933

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    Please sign in with the account used to purchase the license for your paid addons.

    You can renew your subscription here: https://wpgeodirectory.com/downloads/category/addons/

    Thank you

    Related Links
    Support Policy https://wpgeodirectory.com/support-policy/

    #406946

    sadaf abbas
    Free User
    Post count: 107

    Repost ( From Paid Account)

    Hey everyone.

    So we have a built a website ( http://www.ghoomlo.pk) using WPGeodirectory using Supreme Directory theme version 1.1.6. We also have a paid plugin of multi-location installed on it.

    So the issue is;

    1 – A users comes on a listing page such as https://www.ghoomlo.pk/listing/balochistan/makran/historical-places/chandragup-volcanos/

    2 – Now he clicks on the category links from the footer on the configured category for the listing. For example, in this case he / she clicks ” Historical Places”

    3 – The user is then re-direct to all the ” Historical Places (Category) in the region ” Balochistan” and city ” Makran”

    4 – However, what we want is that when he/she clicks any of the category link either from the top category menu or the category menu in the footer, he / she should be redirected to this link ” https://www.ghoomlo.pk/listing/attractions/historical-places/ ” (the overall listing of Historical Places” rather than this link “ https://www.ghoomlo.pk/listing/pakistan/balochistan/makran/attractions/historical-places/ ” (the historical places in just that region”

    5 – This applies to the website logo as well, which also locks onto that location.

    Can anyone guide on how to do it?

    Thanks,
    Abbas & Sadaf

    #406950

    Guust
    Moderator
    Post count: 29970
    #406958

    sadaf abbas
    Free User
    Post count: 107

    Ok, this solves the issue for the homepage logo but not the categories and tags that are still linked with the region.

    How can we get that linked to the main site too?

    #406968

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    For the terms please try adding this code snippet:

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

    Thanks,

    Stiofan

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

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

Open Support Ticket