Move Previous and Next Links

This document is deprecated! The information on this page refers to a Thesis version that is now obsolete. Please visit the Thesis Docs for current documentation.

From After Content to Before Content ∞

On Single Post Pages ∞

Place this code in custom_functions.php:

remove_action('thesis_hook_after_content', 'thesis_prev_next_posts');
add_action('thesis_hook_before_content', 'thesis_prev_next_posts');

On Home, Archive, and Search Pages ∞

Place this code in custom_functions.php:

remove_action('thesis_hook_after_content', 'thesis_post_navigation');
add_action('thesis_hook_before_content', 'thesis_post_navigation');

Remove on Home Page Only ∞

Place this code in custom_functions.php:

function no_home_post_nav() {
if (is_home())
  remove_action('thesis_hook_after_content', 'thesis_post_navigation');
}
add_action('thesis_hook_before_content','no_home_post_nav');

Remove on Single Posts ∞

Go to Design Options > Display Options > Posts, and uncheck Show previous/next post links.