I’ve made a field with subfields, the subfields are both text. Though after making the subfields/fields I’ve input a prepend before one of the subfields which during my while doesn’t show.
So I thought all I had to do was press edit again(to sort of update) on the page it would show on. But that didn’t work.
I have more fields and subfields with prepends and those seem to work.
Does anyone know why this is so?
This is my code on which it doesn’t work.
<?php if( have_rows('gallery_project') ): while( have_rows('hyperlink_samenwerking') ): the_row(); ?> <div class="projectinfo"> <?php the_content(); ?> <a href="<?php the_sub_field('url');?>"><?php the_sub_field('naam'); ?></a> <?php endwhile; endif; ?>
- The topic ‘Prepend not showing’ is closed to new replies.