Advanced Custom Fields
Repeater fields not showing in admin, but still stored in post meta (5 posts)

  1. Andrew Martin
    Posted 2 years ago #

    Hi there,

    For some reason, my repeater fields stopped showing in the admin panel. There are no PHP errors coming in. I believe this happened on an upgrade from 3.0.6 (ish) to the latest version, but rolling back didn't seem to help.

    The Client has about 100 repeater fields and they're showing up when you look at the built in "Custom Fields" stuff with WordPress, but they're not showing up at all under the repeater fields in the admin.

    Any idea what could've caused this? Would love to know how to fix this without having to re-input all 100 or so fields.


  2. Andrew Martin
    Posted 2 years ago #

    Anyone got any ideas here?

  3. mumford66
    Posted 2 years ago #


    I cannot get my repeater fields to show on the page, also within the admin area of the page I cannot add anymore repeater fields.

    I have set my template up like this

    <div class="rightContent">
    		<div class="padding">
    			<?php while(the_repeater_field('explore_list')): ?>
    			<div class="exploreBox">
    				<h1><?php the_sub_field('explore_title'); ?></h1>
    				<div class="exploreImage"><img src="<?php echo get_field('explore_image'); ?>" alt="" /></div>
    				<div class="exploreText">
    					<p><?php echo get_field('explore_text'); ?></p>
    			<?php endwhile; ?>

    But nothing shows on the page, and when I got to my template in WordPress I cannot add anymore.

    Any ideas please?


  4. elliotcondon
    Plugin Author

    Posted 2 years ago #

    Hi mumford66

    You code needs to use the the_sub_field and get_sub_field functions within the repeater loop.

    If you edit your code to use the correct functions, does that help?

  5. mumford66
    Posted 2 years ago #

    Thanks Elliot

    I will check, I start my code as follows

    `<?php while(the_repeater_field('explore_list')): ?>
    <div class="exploreBox">
    <h1><?php the_sub_field('explore_title'); ?></h1>

    Is that right?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced Custom Fields
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic