[resolved] remove older posts link on top (2 posts)

  1. Michael Lanfield
    Posted 2 years ago #


    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?

  2. keesiemeijer
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.