Viewing 2 replies - 1 through 2 (of 2 total)
  • horria

    (@horria)

    Same problem, the following worked for me:

    before the loop:

    <?php query_posts(array('post_type'=>'custom_post_type_name'));
    $custom = get_post_custom();
    ?>

    in the loop:

    <?php echo $custom["your_custom_field_key_here"][0];
     ?>

    I’m not an expert, his is just a piece of code from a previous attempt, hope it helps

    Hello. I found this simple code to avoid all problems:

    <?php echo get_post_meta($post->ID, 'your_key', true) ?>

    …Just replace “your_key” with the Field Key.

    Hope it solves future problems ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Verve Meta Boxes Can't get Text’ is closed to new replies.