WordPress.org

Ready to get started?Download WordPress

Forums

Multiple loops and Pagination Problem (2 posts)

  1. Javier
    Member
    Posted 3 years ago #

    Hi, i followed this example to run Multiple loops in my site:
    http://codex.wordpress.org/The_Loop#Multiple_Loops

    Now I have 2 columns displaying different categories, but when I try to include Pagination, it doesn't work. the <?php wp_pagenavi(); ?> appears, but it doesn't display the following posts.

    Please, could you help me?
    Thanks in advanced!

  2. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    what is the exact code of your template?

    (please paste the code into a http://pastebin.com/ and post the link to it here.)

    often, the 'paged' parameter is missing in the query:
    http://codex.wordpress.org/Function_Reference/WP_Query#Pagination_Parameters

    and with two queries, you have to make your mind up which one to paginate.

Topic Closed

This topic has been closed to new replies.

About this Topic