Title: repeatable fields
Last modified: August 20, 2016

---

# repeatable fields

 *  [alienfactory](https://wordpress.org/support/users/alienfactory/)
 * (@alienfactory)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/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/](http://wordpress.org/extend/plugins/simple-fields/)

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

 * ![](https://s.w.org/plugins/geopattern-icon/simple-fields_fafafa.svg)
 * [Simple Fields](https://wordpress.org/plugins/simple-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-fields/reviews/)

## Tags

 * [repeatable](https://wordpress.org/support/topic-tag/repeatable/)

 * 0 replies
 * 1 participant
 * Last reply from: [alienfactory](https://wordpress.org/support/users/alienfactory/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/repeatable-fields/)
 * Status: not resolved