How can I display my custom metaboxes on a custom post template?
Looking at your code, it appears all meta keys are prefixed with _cmb_. Your start time key is text_datetime_timestamp, so combined with the prefix, you want to fetch: get_post_meta( get_the_ID(), ‘_cmb_text_datetime_timestamp’, true ); Note the third parameter, which will retrieve a single value if set to true, as it’s possible to save multiple values under … Read more