Forums

page navi only showing 1st page of posts, even when 2nd page link is clicked. (3 posts)

  1. justinwashere
    Member
    Posted 1 year ago #

    Hello folks!

    I'm running a customized version of the Imbalance theme, you can see my site here: http://erniecefalu.com/

    The page nav at the bottom of the page is malfunctioning strangely. there are at least 3 pages worth of content (9 posts per page), but when I click the next button, it reloads the first page, even though the url bar indicates page 2 is being loaded.

    Originally this theme used the wp-pagenavi plugin, i thought that might be the culprit, so i disabled it, and put in generic next and previous links (<previous_posts_link('« Back ') ?> | <?php next_posts_link('Next »'))

    still no luck.

    thanks in advance for anyone who can shed some light on this one, i'm prone to fits of noobism, so if it's something stupid, i apologize!

    cheers!
    Justin

  2. vtxyzzy
    Member
    Posted 1 year ago #

    Check to see if there is a call to query_posts without the 'paged'
    argument. This is the most common cause of this problem.

  3. justinwashere
    Member
    Posted 1 year ago #

    Thanks so much! That was exactly the problem - I had added a query_post to restrict a category from showing up on the main page, and accidently removed the "paged" argument. its all fixed now!

    thanks again!

Topic Closed

This topic has been closed to new replies.

About this Topic