The idea of using Prev/Next links to navigate to the previous or next post in a blog is something that is not new. It’s really a cool WordPress default feature.
But sometime’s it’s not necessary to keep prev/next links. Maybe you don’t like the design or you use a categorized filter for related posts. In that case, keeping Prev/Next link at the bottom of your post is irrelevant.
Here is a solution for you on how to remove Prev/Next links.
Search for your function.php file inside the active theme directory. Edit the function.php file text or code editor. Copy and Paste the following code inside your function.php file properly. It will remove your Prev/Next links from blog posts.
// Remove Prev/Next Link from Head remove_action('wp_head', 'adjacent_posts_rel_link_wp_head', 10); // Remove Prev-next Links From Header -not From Post-. remove_action('wp_head', 'adjacent_posts_rel_link', 10, 0); // Remove Prev-next Links. remove_action('wp_head', 'start_post_rel_link', 10, 0); // Remove Random Link Post. remove_action('wp_head', 'parent_post_rel_link', 10, 0); // Remove Parent Post Link.
This can be done via WP Adminify plugin from your Website Dashboard too. Click on WP Adminify > Tweaks > Head option and search for Remove Prev/Next Links option. Just enable it and save the settings.