Style last item with a different class in a loop

This example styles the last item in a loop with a different list class in an Advanced Custom Field ( acf ) repeater in ACF Options page. It allows you to add as many emails as you want with the last one not receiving the class that gives the border or pipe in the list.


Leave a Reply

Your email address will not be published. Required fields are marked *

+ 49 = 50