Location Country Meta in Archive item

This topic contains 4 replies, has 3 voices, and was last updated by  Tim Sanford 5 years, 2 months ago.

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

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #473432

    Tim Sanford
    Full Member
    Post count: 157

    Hi, on an archive item, I’m trying to display the country separate from the “location address”.

    How would I best achieve this? Can I use the %%location_country%% in a [gd_post_meta] by altering the key? I’ve attached an image that displays the desired aesthetic.

    -country
    -title
    -address

    #473526

    Kor
    Moderator
    Post count: 16516

    Hi Tim Sanford,

    Thanks for your post. This should be possible using only custom CSS code. Could you share the URL of the page in question so that we could check on it?

    #473580

    Tim Sanford
    Full Member
    Post count: 157
    This reply has been marked as private.
    #473637

    Alex Rollin
    Moderator
    Post count: 27815

    Location parts are not currently available through GD post meta so you would need to use CSS to hide other parts of the address.

    We have some examples for V1 here:
    https://wpgeodirectory.com/docs/common-styling-examples/#address

    You can use the inspector to find those parts and then use display none: https://wpgeodirectory.com/docs/customizing-your-style/

    We are working on an address feature to make this easier. That will be released with an upcoming version.

    #474524

    Tim Sanford
    Full Member
    Post count: 157

    Thank you!

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