Support » Plugin: Simple Fields » repeatable fields

  • i have tried the sample code to get repeatable fields to show and the only thing that works is the code below but this only shows 1 image

    is there some code i can paste into my page template to get this to work

    Thanks
    Terry

    <?php
    $image_id = get_post_meta(get_the_ID(), "_simple_fields_fieldGroupID_1_fieldID_1_numInSet_0", true);
    $img_src = wp_get_attachment_url($image_id, 'thumbnail');
    ?>
    <img src="<?php echo $img_src ?>" alt="An image" />

    http://wordpress.org/extend/plugins/simple-fields/

  • The topic ‘repeatable fields’ is closed to new replies.