WordPress.org

Ready to get started?Download WordPress

Forums

how to remove the links to next post and previous post ? (4 posts)

  1. HustleTurtle
    Member
    Posted 4 years ago #

    hello
    i want to know

    how to remove the links to next post and previous post ?

    im using default theme

    when i visit one of my entries, the links of next post and previous post are at the top of the entry title, i dont like it this way, i think it confuses people instead of guiding them, how do i remove it?

  2. Wex
    Member
    Posted 4 years ago #

    There is a very simple fix for this. Go into your single.php page, find the code

    <div class="navigation">
    			<div class="alignleft"><?php previous_post_link('&laquo; %link') ?></div>
    			<div class="alignright"><?php next_post_link('%link &raquo;') ?></div>
    		</div>

    and delete it or comment it out.

  3. HustleTurtle
    Member
    Posted 4 years ago #

    thanks

  4. Wex
    Member
    Posted 4 years ago #

    Sure thing.

Topic Closed

This topic has been closed to new replies.

About this Topic