Support

Account

Home Forums Add-ons Repeater Field How to get the count of a child field inside a nested repeater Reply To: How to get the count of a child field inside a nested repeater

  • sorting a repeater field is not an easy thing to do, even more so with multiple nested repeaters. You’d have to somehow do it as an array and loose all ability to use have_rows loops. I don’t even know if it’s possible.

    There is a basic idea here https://www.advancedcustomfields.com/resources/how-to-sorting-a-repeater-field/

    I have also used usort, but never for anything with nested values so I can’t even say if that’s possible.