Black Friday! Get up to 25% off GP Premium! Learn more ➝

Reply To: Display Meta Data in Custom Post

Home Forums Support Display Meta Data in Custom Post Reply To: Display Meta Data in Custom Post

Home Forums Support Display Meta Data in Custom Post Reply To: Display Meta Data in Custom Post

#237512
John

I am getting the values to show up now using:
<?php echo get_post_meta( the_ID(), 'age', true );?>
I see that there is content.php for the archive template and content-single.php for the single template.
I would like to set the css for only the meta-data these post types.
Any tips?
Thanks again,
John