Quantcast
Channel: Tagged with repeater - Plugin Support
Viewing all articles
Browse latest Browse all 160

Subfields not displaying

$
0
0

Hi,

For some reason, subfields of repeaters aren't displaying on my front end and I'm not sure why. Here's an example of what my code looks like in my post type's single page template.

<?php if(get_field('examples')): ?> <h4>Examples</h4> <?php while(has_sub_field('examples')): ?> <blockquote><?php the_sub_field('example'); ?></blockquote> —<?php the_sub_field('example_source'); ?> <?php endwhile; ?> <?php endif; ?>

There are two "examples" in the post I'm looking at. However, this is the HTML that is being rendered:

<h4>Examples</h4> <blockquote></blockquote> —

This is happening on all my repeaters. I am certain that my subfield names are correct, as you can see in this screencap: http://d.1ski.me/image/3C0a313E083D

What am I doing wrong?


Viewing all articles
Browse latest Browse all 160

Trending Articles