i’m trying to put together a query for wordpress that will allow me to display posts in two columns alternating, like this (the pipe shows where the column separates):
Up until now i’ve managed to get this working with this code:
However, whenever there is an odd number of posts displaying on the page, I recieve an extra div that does not contain any information.
I know i’m probably missing something very simple, but i’m just not seeing it. Can anyone help me?
- The topic ‘Need help with 2 column loop’ is closed to new replies.