Support

Account

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

  • Should I change it to ‘content_type’ then, like the advanced custom layout?

    I have the repeater ID labelled ‘master_content_type’

    and then referenced in the content 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'

    There’s also this code in the functions.php

    add_action( 'acf/include_fields', function() {
    	if ( ! function_exists( 'acf_add_local_field_group' ) ) {
    		return;
    	}
    
    	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 use JSON to register new fields?