Support » Fixing WordPress » Can’t link to previous pages/posts

  • Resolved kristarella

    (@kristarella)


    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 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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 😛

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

    Please, does anyone have any suggestions?

    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. 😛

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t link to previous pages/posts’ is closed to new replies.