get custom fields outside the loop

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


custom fields outside the loop