WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Posts navigation not displayed on home page (2 posts)

  1. J_25
    Member
    Posted 4 years ago #

    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

  2. J_25
    Member
    Posted 4 years ago #

    Problem solved!

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.