I am using Magic Fields for custom fields. I am not able to retrieve data from my post type.
I have this fields inside my post type:
Now I have Page and Page template is releases.php
Inside releases.php i have this code:
<div class="main_6"> <div class="pargraph"> <?php if(have_posts()): while(have_posts()) : the_post(); ?> <?php $data = get_group('Releases'); print_r($data); ?> <?php endwhile; endif; ?> </div> </div>
You can I am trying to
print_r($data) but nothing display from my page. I also refer this document but not worked for me. http://wiki.magicfields.org/doku.php?id=dealing_with_groups_duplicate_groups_and_duplicate_fields