WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Removing Next and Previous (6 posts)

  1. herbshirt
    Member
    Posted 5 years ago #

    Can someone please tell me how to remove the Next and Previous links...

    I tried removing this from the index.php but it didn't work.

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

    Or is there somewhere in admin?

    Thanks.

  2. Len
    Member
    Posted 5 years ago #

    It probably exists in other files in addition to index.php

  3. herbshirt
    Member
    Posted 5 years ago #

    Thanks. That was my guess too but I can't find it anywhere. SO that's the right code I should be looking for?

  4. herbshirt
    Member
    Posted 5 years ago #

    Found it! Boy that was a hunt!

    FYI - single.php

  5. Len
    Member
    Posted 5 years ago #

    I knew you'd find it. Feels good to figure this stuff out on your own, yes? :)

  6. herbshirt
    Member
    Posted 5 years ago #

    Yes.

    I didn't realise it would.should reside in more than one file.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.