Styling first post using Advanced Custom Fields
You can check current_post in the loop. Just remember it’s zero-indexed, so first is 0, second is 1, etc.: if( 0 == $employee->current_post ): // this is the first post else: // this is > first post endif;