• Resolved kgraphik

    (@kgraphik)


    I am currently working on a custom theme for a site I’m redesigning. Everything has been going along smoothly up until now. So here it goes:

    On the theme, I have the last post up at the top, with 5 previous posts, styled differently at the bottom. When you click on the most recent post’s title, it goes to the single post page as it should. The comments appear under it, in roughly the same style. The thing is, the area where I have the previous 5 posts in has to remain at the bottom. I’m using 2 The Loops to get the needed articles. For some reason, the 5 previous articles at the bottom vanish. I’m guessing that when you’re viewing an article in single post, it only allows for 1 The Loop query? Is there anyway around this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You may want to use rewind_posts() and query_posts('..'). Look in the codex, there should be some documentation.

    Thread Starter kgraphik

    (@kgraphik)

    Hmm, rewind_posts() didn’t seem to really be doing anything. query_posts(‘..’) worked though. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show more than 1 post (using multiple queries) on singe post page?’ is closed to new replies.