how can I make an irregular loop where at any second item it assigns a different class. What I want to do is something like that:
the first post article (the big one) is:
<article class="work-item work-item-big"> code ... </article>
the second one (the small one) is:
<article class="work-item work-item-small"> code ... </article>
What’s the way to make it and obviously what are the conditions to apply in the loop?
Thank you in advance.