Split posts into unequal rows
-
Hello people!
I have a little problem. I need to split desired amount of posts (10) into four rows. Odd rows should have two posts, and even rows should have three posts. I have no idea how to make The Loop to make things work. I have no idea how to start. Can you help me out?Any help appreciated very much!
<div class="odd-row"> two posts here </div> <div class="even-row"> three posts here </div> <div class="odd-row"> two posts here </div> <div class="even-row"> three posts here </div>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Split posts into unequal rows’ is closed to new replies.