Skip to content

Instantly share code, notes, and snippets.

@strarsis
Created February 12, 2019 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save strarsis/98b1ac868e8cbf144082c8001890cbe8 to your computer and use it in GitHub Desktop.
Save strarsis/98b1ac868e8cbf144082c8001890cbe8 to your computer and use it in GitHub Desktop.
ACF Flexible fields with blade/sage9
<?php
@while(have_rows('flexible_field', $post->ID)) @php(the_row())
@while(have_rows('nested_field', $post->ID)) @php(the_row())
get_sub_field('some_field')
@endwhile
@endwhile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment