GD > Listings Widget – Address format

This topic contains 3 replies, has 3 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
  • #491913

    Neil Hall
    Buyer
    Post count: 83

    I am using the GD listing Widget on my home page to display ‘Places’.

    In the Places > Settings > Custom Fields > Address > Show in extra output location – I have added ‘Listing Page’ which works and displays the full address of the listing.

    Is there a way where instead of showing the whole address I can just show the city and Country within this widget?

    Best Regards
    Neil

    #491953

    Kor
    Moderator
    Post count: 16516

    Hi Neil,

    Thanks for your post. Could you try using the method here https://wpgeodirectory.com/docs-v2/faq/common-examples/#gd_post_address and see if it helps?

    #491989

    Neil Hall
    Buyer
    Post count: 83

    Hi Kor

    That’s Great, worked it out, entered [gd_post_address show=”value” address_template=”%%city%%, %%country%% ” alignment=”left”] in the ‘GD Archive Item’ Page, and then in Places > Settings > Custom Fields > Address > Show in extra output location – I have deleted ‘Listing Page’.

    Many thanks for your help

    #492039

    Alex Rollin
    Moderator
    Post count: 27815

    Perfect, thanks for letting us know

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

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

Open Support Ticket