I click on a link in my WP site to open a category archive. I see a list of posts for that category. I click on the permalink of one of those posts to see the full post.
at the top of the window are prev/next arrows. I click on them expecting to be taken to the prev/next post within the same category, but that doesn't happen. I'm taken instead to the prev/next post within the post_type=post collection of posts.
is it possible to set up the system so that when a post is displayed from a category archive, clicking on the prev/next buttons takes the visitor to the prev/next post within the same category?
I apologise for the lack of detail.
for those people who need more information...
the category archive/listing currently loads a default 'index.php' template.
each post within the archive list has a permalink link.
the permalink link loads a default 'single.php' template (note. there can only be one permalink per post)
Michael is correct. the theme is using the next_post_link() and previous_post_link() functions. the in_same_cat parameter is interesting but not really useful because it refers to the categories of the currently viewed post, not the category currently being viewed. a method would be needed to indicate that a specific category is being viewed, and it's id, so that the current page could point to the previous/next posts in that specific category rather than the complete collection of posts.
I'm wondering if the permalinks would need to be adjusted on the category archive page to indicate that a category is being perused; eg, add a query to the permalink; '&cat=7'. the single.php page could then check for presence of the query variable and react accordingly. if this method was used, would I need to use a non-core variable to prevent WP from loading the wrong template?
or... would it make sense to create a category.php page with a loop of only one post per page?
again, my apologies for not giving specifics in the initial question.