Remove previous and next post links

WordPress Tutorial – Adding this PHP code to the functions.php of your wordpress theme will remove the previous and next post links within the wp_head of your wordpress theme. Remove the previous post and the next post links.


remove_action(‘wp_head’, ‘adjacent_posts_rel_link_wp_head’, 10, 0 );


Be Sociable, Share!

Leave a comment