variable post styling, multiple loops, and pagination
-
I have a sort of complicated index page and I’m having trouble getting pagination to work with it.
Here’s my site: http://victoriaarriaga.com/test_site/
As you can see, the second page just seems to repeat the first, and I’m sure it’s because of the multiple loops I have going on. I’ve found other posts here where people have labeled that the problem. Problem is, I have yet to be successful in piecing together their solutions to fit what I’m aiming for.Here’s my index/loops:
http://pastebin.com/babd4KDeThe first post is the “Featured Post”, which is essentially just the latest post. The rest of the posts are divided into “Left” and “Right” columns based on odd or even number posts, and excluding the first.
The function for 2-column posts:
http://pastebin.com/enPdEschWhat I’m looking for is for either 1) the featured post will only show up on the first page, or 2) the featured post will remain at the top on each page and only the columned posts will change with each page.
I realize I’ll most likely have to rewrite the page. I did find one forum where someone mentioned using $ post_count, but was unable to figure out how to do it myself, or find any examples.
Anyway, I’ve been trying to figure this out for about two weeks now – my WordPress PHP skills are still relatively new – and I would love any help someone could offer.
Thank you.
The topic ‘variable post styling, multiple loops, and pagination’ is closed to new replies.