[Plugin: Magic Fields 2] Duplicated image in a group does not work…
-
Ok…so I’ve successfully been able to show other fields (text fields) that are duplicated within a group and have them show up just fine. But now I just tried to do the same with the image field (the one that uses the wordpress gallery).
All that shows is the word “Array” for each of the image fields. Once each time it gets duplicated.
Here’s the code I have that I know works using other types of fields. I’d like to get it working for images as well.
<?php $fields = get_group('media'); foreach($fields as $field){?> <?php foreach( $field['media_image'] as $list){echo $list;} ?> <?php } ?>
Again, if I change the field type from image to a simple text field, the code above works flawlessly.
Please help…thanks in advance.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Magic Fields 2] Duplicated image in a group does not work…’ is closed to new replies.