Categories for Countries, Regions and Cities

This topic contains 9 replies, has 2 voices, and was last updated by  Paolo 8 years, 1 month ago.

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

Open Support Ticket
  • Author
    Posts
  • #155781

    giuseppe cuttone
    Buyer
    Post count: 242

    Hi,
    I have added in the following widget area:
    GD LISTING TOP SECTION
    The followings widgets:
    1. CPT CATEGORIES
    2. GMAP LISTING PAGE

    So, in the widget CPT CATEGORIES are showed all the categories, depending if I visit places page or event page, or other CPT page.

    So, if an user visit the following page:
    infocity.website/places/spain/catalunya/girona
    he can see
    1. CATEGORIES
    2. GMAP
    3. LISTING
    But if the user clic in one of the categories in order to filter (for example “Bars to Drink and Eat”), it will be redirect to the following general page:
    http://infocity.website/places/bars-to-drink-and-eat/
    But I`d like redirect the visitor to the following page:
    http://infocity.website/places/spain/catalunya/girona/bars-to-drink-and-eat/
    (I think it should be the correct funcionality, because if an user click in one of the categories, he want filter results and he want continue to stay in GIRONA CITY). But the icon category redirect the user to the general page of this categorie:
    http://infocity.website/places/bars-to-drink-and-eat/
    So, I think I am wrong if I add CPT CATEGORIES WIDGET in GD LISTING TOP SECTION.

    After that I ask you if there is a solution in order to do what I need.
    (if user is in:
    infocity.website/places/spain/catalunya/girona
    let the user want filter “Bars to Drink and Eat”, and redirect it to:
    http://infocity.website/places/spain/catalunya/girona/bars-to-drink-and-eat/)

    So my questions are:
    1. Is there one GD WIDGET that let me that?
    2. Maybe are you work in that? For example introduce some option as “Enable Location Filter”
    just like in the POPULAR POST VIEW WIDGET?
    3. The solution only is to add GD LOCATION DESCRIPTION in GD LISTING TOP SECTION and add html in SEO SETTING=>LOCATION DESCRIPTION? If I must do that with all the cities I can convert in a crazy man… There are a lot of cities…

    Please let me know. Thanks for your support.

    #155842

    Paolo
    Site Admin
    Post count: 31206

    HI,

    there must be something wrong in your install, because that is how it works…

    Example: http://wpgeo.directory/location/united-states/illinois/chicago/

    The Categories are all filtered by location.

    Please provide admin credentials and we will check.

    Thanks

    #155846

    giuseppe cuttone
    Buyer
    Post count: 242
    This reply has been marked as private.
    #155848

    Paolo
    Site Admin
    Post count: 31206
    #155867

    giuseppe cuttone
    Buyer
    Post count: 242

    Ok, now all run very very well.
    I am very happy:)
    Only I dont have clear the following option:
    “Show CPT on same line”
    If I select or deselect the option, categories are showed always in vertical position.
    If I select or deselect this option only will generate a change in the in the length of the red line.
    I think this change must show the categories in one column, or alternatively in horitzontal line.
    Is it so?

    #155989

    Paolo
    Site Admin
    Post count: 31206

    Please see images attached to see the difference.

    The 1st is with that option enabled.

    Thanks

    #156067

    giuseppe cuttone
    Buyer
    Post count: 242

    Hi @paolo, you are right.
    If I have understood well, in your web:
    http://wpgeo.directory/location
    you have the option “Show CPT on same line” DISABLED, so categories are showed like the second picture.
    I think I have understood how this option runs.
    But the problem is that in my web, if I ENABLED or DISABLED this option, categories are showed always ON SAME LINE (vertical)
    http://www.infocity.website/location
    I`d like to show categories just like they are showed in your web (horizontal), but I cant…
    Maybe is there incompatibility with ENFOLD THEME?
    Let me know.

    #156258

    Paolo
    Site Admin
    Post count: 31206

    Yes the problem is some Enfold css.

    Please add this to your custom css:

    
    
    #top .widget ul.gd-cptcat-ul {
        float: none;
        margin-top: 0.5em;
        padding-left: 1em;
        width: auto;
    }

    Thanks

    #156635

    giuseppe cuttone
    Buyer
    Post count: 242

    ok, thanks very very much.
    You can mark this post like resolved.
    Very good support.

    #156869

    Paolo
    Site Admin
    Post count: 31206

    You are welcome 🙂

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

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

Open Support Ticket