How to remove City, Region, Country, Zip Code from Adress in Archive Page.

This topic contains 18 replies, has 4 voices, and was last updated by  Alex Rollin 4 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #498496

    jotomas
    Buyer
    Post count: 802

    Hi Alex,

    Thank you very much for your reply.

    Ok, I will try using the adress shortcode in a tab to show the adress as I wish.

    However, I am confused. I do not think that I am asking for any customization, but reporting what I think are a couple of bugs:

    1) Show City box can not be unticked in the Adress field of CPT Custom Fields settings.

    2) Show Region, Country and Zip Code boxes seem not to work correctly since, being all unticked in the Adress field of CPT Custom Fields settings of two different CPTs, they show in the Adress Tab of one of the CPTs while they do not show in the Adress Tab of the other CPT.

    I look forward to your news.

    Thank you very much once again for your help.

    Best regards.

    #498562

    Alex Rollin
    Moderator
    Post count: 27815

    There are four different ways to show the address

    One of the way is to use the GeoDirectory single template, but, for the template, the address display is built in and currently, changing the address format in the sd-detail section just under the photo, is a customization.

    You can choose any of the other methods, using GD Output Location, GD Post Meta, and GD Post Address anywhere else on the Details and archive item templates.

    If you want to skip showing city, then you will need to use GD Post Address.

    The developers are aware of the ‘city cannot be unticked’ issue and there is a task to work on that, as well as to consider changing how the address in the GeoDirectory Single template is rendered. An update will be posted here about the resolution of the ‘city cannot be unticked’ issue.

    #498607

    jotomas
    Buyer
    Post count: 802

    Hi Alex,

    Thanks a lot for your detailed explanation.

    I will try the different shortcodes you suggested.

    What really puzzles me is that listings of two different CPTs with the same Adress (“Adreça”) Tab settings show different info, although both them use the same GD Detail page template, as per my last comment in this other ticket:

    https://wpgeodirectory.com/support/topic/supreme-detail-page-template-adress/#post-498604

    Best regards.

    #498615

    Alex Rollin
    Moderator
    Post count: 27815

    When you use GD Post Address it will not be a problem.

    There is a fix for unchecking city in the next release.

Viewing 4 posts - 16 through 19 (of 19 total)

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

Open Support Ticket