Support

Account

Forum Replies Created

  • Thanks for that I can now make that work on its own I now need to combine three subfields a text field an image field and wysiwyg field is there a specific syntax to combining all three

  • having got the repeater form to work with text and wysiwyg formats I am now trying to add a sub field with an image I have it showing up on the edit page but when previewed I can only see url not the graphic am I needing to add a bit of code ? please excuse my ignorance I am new to coding.

    <?php
    // check if the repeater field has rows of data
    if( have_rows('features') ):
    
     	// loop through the rows of data
        while ( have_rows('features') ) : the_row();
    
            // display a sub field value
            the_sub_field('hero');
            the_sub_field('content');
        endwhile;
    
    else :
    
        // no rows found
    
    endif;
    ?>

    `

Viewing 2 posts - 1 through 2 (of 2 total)