Displaying custom field data from a WordPress page, post, or custom post type is very easy. Simply access WordPress’ global query and grab the custom field you need!
global $wp_query; $postid = $wp_query->post->ID; echo get_post_meta($postid, 'customFieldSlug', true);
Related posts:




