Support » Fixing WordPress » Asides, query_posts and pagination

  • Resolved diniscorreia

    (@diniscorreia)


    Hi there,

    I’m banging my head with this one. I’m using Matt’s hack for asides and I’m also excluding a category on the loop. I’ve used

    query_posts(“cat=-10”)

    before the loop but soon found out that this was incompatible with pagination.

    I found a working solution on another topic – http://wordpress.org/support/topic/57912 – however, when I’m on the last page the number of posts is lower than the maximum defined on the settings and I’m getting “empty” post markup – as if it’s forcing the page to have 10 posts when, in fact, there are only 3.

    Screenshot here: http://img.skitch.com/20090217-eqxdn8b6dgi1erag54ni1dgwyd.jpg

    Ideas?
    Thanks in advance.

Viewing 1 replies (of 1 total)
  • diniscorreia

    (@diniscorreia)

    Nevermind, had some conflict with *another* loop I was using – solved now!

Viewing 1 replies (of 1 total)
  • The topic ‘Asides, query_posts and pagination’ is closed to new replies.