Support » Fixing WordPress » remove older posts link on top

  • Resolved Michael Lanfield


    Hi I would like to remove the older posts link from the top, but not the bottom. I searched everywhere on the net and got this.

    If you look in your index.php file you should see something that resembles this code above your loop and below it. Just remove the one above the loop:

    <div class=”navigation”>
    <div class=”left”><?php next_posts_link(‘« Older Posts’) ?></div>
    <div class=”right”><?php previous_posts_link(‘Newer Posts »’) ?></div>

    However I can not find this code in my index.php page. What do I do?

Viewing 1 replies (of 1 total)
  • Moderator keesiemeijer


    Try removing this from index.php.

    <?php devwp_content_nav( 'nav-above' ); ?>

    I don’t know if this will affect the layout of the theme.

    consider creating a child theme instead of editing your theme directly – if you upgrade the theme all your modifications will be lost.

Viewing 1 replies (of 1 total)
  • The topic ‘remove older posts link on top’ is closed to new replies.