Need help with 2 column loop
-
Hi there,
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):
1|2
3|4
5|6Up until now i’ve managed to get this working with this code:
[Code moderated as per the Forum Rules. Please use the pastebin]
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?
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Need help with 2 column loop’ is closed to new replies.