• Resolved oguruma

    (@oguruma)


    I would like to try my hand at building templates via PHP instead of the standard method.

    Is there documentation on how to call CPT meta without having to build them via shortcodes?

Viewing 1 replies (of 1 total)
  • Hello @oguruma

    I think you talking about Geodirectory CPT’s post meta.

    You can use the following function to get post meta by code.

    geodir_get_post_meta( $post_id, ‘country’, true );

    Regards

Viewing 1 replies (of 1 total)
  • The topic ‘Functions to display CPT meta?’ is closed to new replies.