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?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.