I want to display a Custom Fields from data base outside the loop, for exemple in this plugin (Igit related posts wordpress plugin). I want to disply the custom field after the image generated by this plugin. Can You help me ?
With this code
<?php echo get_post_meta($GLOBALS['current_id'], "custom-field-name", true); ?> in footer.php or sidebar.php everything seems ok, but the custom field not appear if i put this code on the plugin files.