Support » Plugin: Advanced Custom Fields » Prepend not showing

  • Resolved Dvd709


    Hi guys,

    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; ?>

Viewing 1 replies (of 1 total)
  • Nevermind found a way to solve it.

    (In a href a prepend will most likely not show so what I did was make another sub field to put in front of it.)

Viewing 1 replies (of 1 total)
  • The topic ‘Prepend not showing’ is closed to new replies.