Displaying Geodirectory Place Address in new Custom Post Type

This topic contains 4 replies, has 3 voices, and was last updated by  Stiofan O’Connor 8 years, 9 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #341554

    Matt Wangsness
    Expired Member
    Post count: 2

    Our client wants a custom plugin essentially allowing employees (the new custom post type) to be associated with Places… the new plugin does provide meta boxes to populate Geodirectory Places in a given employee post, but on the (custom) list template for employees, we are trying to display ADDRESS in the template’s display. We’re having good luck with get_the_title() and the_content(), but haven’t been able to display addresses associated with the gd_places posts through which we’re looping for each employee. I’ve search the codex and find no actions, functions, filters, or property names to pull out the address line for a gd_places post type. Can you point us in the right direction.

    i.e.:

    echo get_the_title(); // shows the gd_places title
    echo the_content(); // shows the gd_places content
    echo ???? // needed to show the gd_places address

    #341852

    Paolo
    Site Admin
    Post count: 31211

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #345771

    Matt Wangsness
    Expired Member
    Post count: 2

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #345774

    Matt Wangsness
    Expired Member
    Post count: 2

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #345819

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

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