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?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Repeater fields’ is closed to new replies.