Advanced Custom Fields
Fix the repeater not showing up when maximum rows set to 1 (3 posts)

  1. Alexandrie
    Posted 3 years ago #

    To fix the problem with the repeaters not showing up the content when you set maximum rows to 1

    Edit this file

    Around line 86 you should find this

    if( $field['row_min'] > count($field['value']) )

    Replace it with this

    if( $field['row_min'] >= count($field['value']) || $field['row_min'] == $field['row_limit'] )


  2. Zoe Rooney
    Posted 3 years ago #

    Curious - why would you want a repeater field with a max of 1? Doesn't that defeat the purpose?

  3. Alexandrie
    Posted 3 years ago #

    I sometimes use the repeaters to group elements together. It displays them nicer.

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