Support

Account

Home Forums Add-ons Repeater Field Combine results from multiple repeater fields Reply To: Combine results from multiple repeater fields

  • Hi @AKA Digital

    To achieve the above, you would:

    1. Perform a get_posts query to load and loop through the desired post objects
    2. For each post object, load the repeater field data via get_field and add each row to a variable (defined outside of the loop)
    3. After your loop is complete, this variable will not hold all your rows of repeater field data
    4. Sort the variable just like in this tutorial:
    http://www.advancedcustomfields.com/resources/how-to/how-to-sorting-a-repeater-field/

    Good luck

    Thanks
    E