Created
February 12, 2019 15:40
-
-
Save strarsis/98b1ac868e8cbf144082c8001890cbe8 to your computer and use it in GitHub Desktop.
ACF Flexible fields with blade/sage9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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