Home › Forums › General topics for our real estate themes › How to print a custom field in a different place then default display
This topic contains 0 replies, has 1 voice, and was last updated by Anna 2 years, 4 months ago.
Find the php template where you wish to display the custom field
print a custom field with this function
get_post_meta($post->ID, ‘custom_field_name’, true);
Help – https://codex.wordpress.org/Function_Reference/get_post_meta
You must be logged in to reply to this topic.