Support » Fixing WordPress » How do i remove links on postings
6 years ago
I am running wp on testserver currently using twenty ten childtheme. My problem is removing the links that appears over and under postings. (the links to next and previous post)
Would appreciate if someone know how I can remove them.
Volunteer Forum Moderator
To remove these, you’ll need to make a copy of the loop.php and insert it in your child theme. Then you can edit it by removing the following code:
<div id="nav-above" class="navigation">
<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts', 'twentyten' ) ); ?></div>
<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' ) ); ?></div>
</div><!-- #nav-above -->
That bit of code displays the links above the post. There’s something similar for ones below.