Advanced custom fields – If/ while field problem
use if instead of while because you want to compare if a field is exist or has some value, by using while you are looping trough and this loop can’t stop until your php’s execution time limit is ended, try this. <?php if (get_field(‘block_repeater’)) { ?> <ul> <?php if (has_sub_field(‘block_repeater’)) : ?> <li> <!– problem … Read more