WordPress.org

Ready to get started?Download WordPress

Forums

Another cry for help with pagination (3 posts)

  1. kapa0
    Member
    Posted 5 years ago #

    I have one page set up with a multiple loop to show two categories side-by-side, and I'm having trouble with pagination. I've tried various mixes of the solutions here and here, but I still have trouble.

    • Clicking on Older or Newer entries doesn't go more than two pages, but I know I've got about 30 posts per category.
    • Sometimes, the Older or Newer links don't show up at all.

    I'm going to keep fiddling with the code, but I hope someone out there can help me out.

    Here's the latest version of the code.

    Also, there ought to be an extra </div> before get_footer, but for some reason that breaks the template.

  2. kapa0
    Member
    Posted 5 years ago #

    Hmm... I missed the "Important note" on the codex page for query_posts and will be looking at WP_Query. Will be back with a solution, I hope. Or more questions.

  3. kapa0
    Member
    Posted 5 years ago #

    Fatal error: Call to a member function have_posts() on a non-object in /home2/ccforgph/public_html/beta/wp-content/themes/zinmag-futura/page856.php on line 39

    I have no idea what that means. :(

    Here's the code with WP_Query.

Topic Closed

This topic has been closed to new replies.

About this Topic