Meta field names

This topic contains 4 replies, has 2 voices, and was last updated by  Alex Rollin 5 years, 8 months ago.

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

Open Support Ticket

Tagged: , ,

  • Author
    Posts
  • #475743

    siparker
    Buyer
    Post count: 114

    I am using a plugin to display some of the listings on one page and i need to find the post meta field value for the address and review rating.

    I can see the field name is “address” from the address custom field but this doesnt display anything if i specify that as a meta key

    is there a direct way to get meta keys or a way to list them anywhere?

    or does it require GD to return them.

    #475780

    Alex Rollin
    Moderator
    Post count: 27815

    That should work,

    [gd_post_meta key="address"]

    We have a new address block coming out very soon that will give you more control over the address display. That should be in the next release or the one just after.

    GD Post Meta as a widget, block, or in the shortcode builder, each will show all available keys.

    #475887

    siparker
    Buyer
    Post count: 114

    Thanks Alex

    Is there a direct meta field key rather than a shortcode?

    I am using smart sections which asks for the actual key rather than a shortcode

    View post on imgur.com

    #475948

    Alex Rollin
    Moderator
    Post count: 27815

    Any key can be prepended with geodir_ for programmatic calls.

    geodor_website etc

    #475949

    Alex Rollin
    Moderator
    Post count: 27815

    BTW we have a new address blocl coming out soon, so, wait for that if you want to format the data coming back with a block.

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
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount