Support

Account

Home Forums Backend Issues (wp-admin) Can’t get dynamic repeater to display Reply To: Can’t get dynamic repeater to display

  • I’ve labelled the repeater ID as ‘master_content_type’

    And referenced it in the content php file.

        <?php if (have_rows('master_content_type')) : ?>
        <section id="truffles_contentWrapper" class="truffles_contentType truffles_content">
            <?php while (have_rows('master_content_type')) : the_row(); 
      // Available Variables under sub field 'select'

    I also tried to register a new field in the functions.php file.

    acf_add_local_field_group( array(
    	'key' => 'group_649377b3715ff',
    	'title' => 'Master Page Builder',
    	'fields' => array(
    		array(
    			'key' => 'field_649377b3bddda',
    			'label' => 'Master Content Type',
    			'name' => 'master_content_type',
    			'aria-label' => '',
    			'type' => 'repeater',

    Should I be modifying something else? Or registering the new field with JSON?