Here is how to easily remove the Next Post and Previous Post Links along with the box and border in WordPress.

  1. Get into your WP-Admin
  2. Under Appearance, Click “Editor”
  3. On the right side under Templates, Click “Single Post” (single.php)
  4. Look for these 2 lines of code, you should not have to scroll down. It should be right in the middle:

‘next_link’ => theme_get_previous_post_link(‘« %link’),

‘prev_link’ => theme_get_next_post_link(‘%link »’)

Just Add these 2 forward slashes in front of each. It should look like this:

//’next_link’ => theme_get_previous_post_link(‘« %link’),

//’prev_link’ => theme_get_next_post_link(‘%link »’)

Be sure to hit Update


Custom Search