Support » Fixing WordPress » Posts navigation not displayed on home page

  • Resolved J_25

    (@j_25)


    Hello!

    I have another problem 🙁

    The posts navigation is not displayed on the index.php; I’m using this code:

    <div class="navigation">
    			<div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
    			<div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
    		</div>

    When using the Firebug plugin to inspect my page the navigation divs (alignleft and alignright) are empty, the php code inside them is not returning the links…

    I’m really confused because when I view a post then the posts navigation is displayed correctly at the top of the page…

    Can someone help with this?

    TIA

Viewing 1 replies (of 1 total)
  • Problem solved!

    It seems that this happens only when I run the blog on my localhost server.

Viewing 1 replies (of 1 total)
  • The topic ‘Posts navigation not displayed on home page’ is closed to new replies.