Title: Repeater fields
Last modified: August 24, 2016

---

# Repeater fields

 *  [_Miika](https://wordpress.org/support/users/_miika/)
 * (@_miika)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/repeater-fields/)
 * Hi,
 * Congratulations for you plugin. That’s amazing.
    Can you help me? My new job 
   require php from me, but I don’t have many skills about that.
 * I’m trying to render the repeated content.
 *     ```
       <?php query_posts('cat=3'); ?>
       		<?php if (have_posts()): while (have_posts()) : the_post(); ?>
   
       		<section id="experiencia-internacional">
       			<div class="slide-experience">
   
       				<!-- Slide -->
       				<ul class="slide-with-thumbs">
   
       					<?php foreach( get_uf_repeater( 'slider_big' )as $slider_big ): extract( $slider_big ) ?>
       					<li>
       						<figure>
       							<img
       								src="<?php echo $slider_big_image ?>"
       								alt="<?php  echo $slider_big_title ?>"
       								role="img" />
       							<figcaption class="figcaption-description">
       								<span class="figcaption-title">
       									<?php echo $slider_big_title ?>
       								</span>
       								<?php echo $slider_big_description ?>
       							</figcaption>
       						</figure>
       					</li>
       					<?php endforeach; ?>
   
       				</ul>
       			</div>
       		</section>
       		<!-- END of EXPERIENCIA INTERNACIONAL -->
       		<?php endwhile; else: ?>
       		<?php endif;?>
       ```
   
 * But I have the output bellow:
 * “Warning: Invalid argument supplied for foreach() in /home/mdo/public_html/web/
   rbl/novo-site/wp-content/themes/mdo/index.php on line 86”
 * In an infinite loop.
 * Can you help me?
 * [https://wordpress.org/plugins/ultimate-fields/](https://wordpress.org/plugins/ultimate-fields/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Radoslav Georgiev](https://wordpress.org/support/users/radogeorgiev/)
 * (@radogeorgiev)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/repeater-fields/#post-6070504)
 * Hello Miika,
 * the code seens to be right, so I guess that there is something else that is wrong
 * Can you export the container with the repeater as an XML file and attach it here
   or send it to rageorgiev at gmail.com? This way I will be able to diagnose the
   issue correctly.
 * Best regards,
    Rado
 *  Thread Starter [_Miika](https://wordpress.org/support/users/_miika/)
 * (@_miika)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/repeater-fields/#post-6070515)
 * I’ll send u an email! Thank you very much! =*
 *  Thread Starter [_Miika](https://wordpress.org/support/users/_miika/)
 * (@_miika)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/repeater-fields/#post-6070540)
 * Hello, I send you the email. Did you receive that? Thanks for your support. (
   mfabianad at gmail.com)
 *  Thread Starter [_Miika](https://wordpress.org/support/users/_miika/)
 * (@_miika)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/repeater-fields/#post-6070554)
 * What is these two parameters?
 * `<?php foreach( get_uf_repeater( 'slider_big' )as $HERE ): extract( $HERE ) ?
   >`
 *  Thread Starter [_Miika](https://wordpress.org/support/users/_miika/)
 * (@_miika)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/repeater-fields/#post-6070565)
 * New Error:
 * **Invalid argument supplied for foreach() – /wp-content/plugins/ultimate-fields/
   classes/UF_Field_Repeater.php:676 **

Viewing 5 replies - 1 through 5 (of 5 total)

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

 * ![](https://ps.w.org/ultimate-fields/assets/icon-256x256.png?rev=1856787)
 * [Ultimate Fields](https://wordpress.org/plugins/ultimate-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-fields/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [_Miika](https://wordpress.org/support/users/_miika/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/repeater-fields/#post-6070565)
 * Status: not resolved