tammyhart / Reusable-Custom-WordPress-Meta-Boxes

177 stars 97 forks source link

How to get field data? #49

Closed ke6et closed 11 years ago

ke6et commented 11 years ago

I was using the older version of Reusable Meta Boxes implemented these lines to get the data//

<?php $album_repeatable = get_post_meta($post->ID, 'album_repeatable', true);  
    echo '<ul class="album_repeatable">';  
    foreach ($album_repeatable as $string) {  
    echo '<li>"'.$string.'"</li>';  }  
    echo '</ul>'; 
?>

But now that doesn't even grab the data... Please help...