how to call custom fields in loop in wordpress

by mbwani
6 replies
i tried to add player to the post through custom fields in wordpress
i added "player" key to the custom fields.
now i want this player to display in somewhere in theme loop.
i used the code :
<?php $player = get_post_meta($post->ID,'player', true); ?>
but player doesn't display at all . is this code correct .
please help.:confused:
#call #custom #fields #loop #wordpress

Trending Topics