The next/previous links are core WordPress functionality and don’t provide the default functionality of linking within a category only.
The core calls are in the single.php template, which can be customized using a child theme.
Edit the core previous_post_link() and next_post_link() calls.
Hiding the links is even simpler with a bit of CSS:
.single #nav-below {
display: none;
}
If you like our creations, help us share by rating them on WordPress.org. Please check the available documentation and search the forums before starting a new topic.
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
The topic ‘Previous/Next post should show posts from same category’ is closed to new replies.
Our site uses only necessary functionality cookies.
See the cookies policy for more info.