Firstly, you’re probably going to want to more the “left-column” and “right-column” divs to outside of the loop, then you’re fine to just put the post navigation above and/or below e.g.
<div id="content">
<!-- Top posts nav can go here -->
<div id="left-column">
<!-- left col content -->
</div>
<div id="right-column">
<!-- right col content -->
</div>
<!-- Bottom posts nav can go here -->
</div>
Hi,
I’m really interested in what is happening here but lacking some (!) understanding of where the parts fit together and how you got there. I would like to have two vertical column posts in the body (content), pages perhaps with posts nested with them.
I’ve been trying Page Columnist, WP Post Columns and WP Post Columns 2 to no avail.
One, are there other plug-ins I should be investing and two where would be the best place to begin to understand what is happening here? The intricacy of it all is baffling and keeping me from moving forward.
thanks so much
The code here is probably a little bit daunting, so hopefully if I explain it in pseudocode it might make a bit more sense.
Go in to posts loop
if this is an "odd" post, show the post content
leave the posts loop
rewind the posts loop to the start
Go in to posts loop
if this is an "even" post, show the post content
leave the posts loop
show pagination
Of course you’d also need to apply some CSS to get the first column on the left and second column on he right, but that’s not a tough job.
If you’d want to show posts on a page, you might need a plugin for that, or possible write some code to get (for example) the latest posts and loop through them.