Custom field outside the loop

Display your custom field outside the loop.

Code Snippet:

<?php
global $wp_query;
$postid = $wp_query->post->ID;
echo get_post_meta($postid, 'customField', true);
?>

Posted in Custom Fields