Home Forums Add-ons Options Page Option Page Repeater Field – Output Does Not Update


Option Page Repeater Field – Output Does Not Update

  • Not sure what the issue is however when I update the field in my custom options I have set up they do not update to reflect the new data. The old data remains, persists in the output

    I have set up an options page called “Video” with the following code in my custom_functions.php theme file as such:

    function my_acf_options_page_settings($settings) {
    	$settings['title'] = 'Custom Options';
    	$settings['pages'] = array('Video');
    	return $settings;
    add_filter('acf/options_page/settings', 'my_acf_options_page_settings');

    Then I created a field group with a repeater field to be able to add rows, each row has two text fields.

    On my about page I have set up the following code to pull the data into the about page.

    <?php if(get_field('video_box')): ?>
    <ul class="video_box">
    <?php while(has_sub_field('video_box')): ?>
    <a href="<?php the_sub_field('video_thumbnail_link'); ?>"><img src="<?php the_sub_field('video_thumbnail_image'); ?>" alt="Kathy Cramer Video" /></a>
    <?php endwhile; ?>
    <?php endif; ?>

    I had four rows with test content in it originally and all the data displayed correctly. Then I deleted three rows and updated the data on the remaining one it does not seem to want to display the new configuration.

    Any help is greatly appreciated…I am in a bit of a time crunch now, please help me get this unstuck if possible.


  • Hi @john.marcello

    Can you please clarify if any changes to the data are reflected int he back end?


  • Solved my own question…thanks for your input!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Option Page Repeater Field – Output Does Not Update’ is closed to new replies.