WordPress.org

Forums

[resolved] Can't link to previous pages/posts (5 posts)

  1. kristarella
    Member
    Posted 7 years ago #

    I'm on v2.2.1, but I think this function hasn't been working for a while. (For the record I've searched the docs and forums for several hours trying to find the answer.)
    I can't link to previous posts from the front page, or category archives, or monthly archives.

    I'm using

    <div class="navigation">
    
    	<p><?php next_posts_link('&larr; Previous Entries') ?></p>
    
    	<p class="next"><?php previous_posts_link('Next Entries &rarr;') ?></p>
    
    </div>

    as per the Kubrik example, but I've also tried

    <div class="navigation">
    
    	<p><?php posts_nav_link('','','&laquo; Previous Entries') ?></p>
    
    	<p class="next"><?php posts_nav_link('','Next Entries &raquo;','') ?></p>
    
    </div>

    My blog's front page doesn't show the links at all. If I manually go to the second page of posts then I get a next posts link but still no previous posts.

    Please help :)

  2. kristarella
    Member
    Posted 7 years ago #

    Yeah, I hate it when people come back to their own posts asking if someone will solve their problem... I'm gonna do it because I'm hoping it will put my question closer to the front of the list and closer to being answered :P

  3. kristarella
    Member
    Posted 7 years ago #

    No doubt this question has been buried in the pile... anyone got a solution?

  4. kristarella
    Member
    Posted 7 years ago #

    Please, does anyone have any suggestions?

  5. kristarella
    Member
    Posted 7 years ago #

    Problem fixed! I deactivated all my plugins and turned them back on one by one (don't know why it didn't occur to me before). The adhesive (sticky post) plugin was blocking the nav links. I don't even use this plugin so it's out! Is this a built-in feature of WP now anyway? Oh well, thanks for not replying. :P

Topic Closed

This topic has been closed to new replies.

About this Topic