Hey, using advanced custom fields for wordpress which has a repeater field function as follows. i'm interested in a way to add a special class to the last P tag in the array. Not sure how.
PHP Code:
<?php while(the_repeater_field('test')): ?>
<p><?php the_sub_field('test-sub'); ?></p>
<?php endwhile; ?>
Comment