How to show all the custom field values for a WordPress post

I’m working with TDO Mini Forms in WordPress and having problems getting one particular custom field to display in my template. Haven’t figured it out yet, but I did find a useful tool to display all the custom fields for any particular post.

Add this to the template, within the loop:

$cf_values = the_meta();
if ($cf_values){
echo 'Custom field values are: ' .$cf_values;

Leave a Reply

Your email address will not be published. Required fields are marked *