Skip to content

Instantly share code, notes, and snippets.

@erezLieberman
Created November 3, 2015 09:18
Show Gist options
  • Save erezLieberman/8d710cb1d3c673aa0bec to your computer and use it in GitHub Desktop.
Save erezLieberman/8d710cb1d3c673aa0bec to your computer and use it in GitHub Desktop.
acf repeater short syntax
<?php
if( have_rows('left_box_items') ): while ( have_rows('left_box_items') ) : the_row();?>
<?php the_sub_field('sub_field_name'); ?>
<?php endwhile;endif;?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment