• Hi

    I would make a loop on my group with repeatable text field, and in my group I have got 2 fields name and city.

    <ul><?php $value_repeat = simple_fields_get_post_group_values( get_the_id(), "partenaire", true, 2 );
    	    			foreach ( $value_repeat as $value ) { ?>
    
    <li><p><strong><?php echo $value["nom"]; ?></strong><?php echo $value["ville"]; } ?></p></li>
    </ul>

    Could you check my code please.
    thanks

    https://ww.wp.xz.cn/plugins/simple-fields/

The topic ‘loop text field’ is closed to new replies.