Home › Forums › General topics for our real estate themes › What is the PHP function to print a custom field in a different place
This topic contains 1 reply, has 2 voices, and was last updated by altemir 2 years ago.
use this PHP function to print a custom field
get_post_meta($post->ID, 'custom_field_name', true);
Help – https://codex.wordpress.org/Function_Reference/get_post_meta
I want to add one more item; footage of the house.
$slides.= ‘ ‘.$baths;
$slides.= ‘ ‘.$size;
You must be logged in to reply to this topic.