WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Asides, query_posts and pagination (2 posts)

  1. diniscorreia
    Member
    Posted 5 years ago #

    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.

  2. diniscorreia
    Member
    Posted 5 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic