How display the custom post meta from a specified post
Inside the loop in Wordpress you can do
<?php
$meta_values = get_post_meta( get_the_ID() );
foreach ($meta_values as $key => $value){
echo $key . ' : ' . $value[0] . '<br>';
}
?>
Written by Mikhail Cruz Andrade
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#