Post in Multiple Categories to stay in current category (permalink, next previous post link)
Hi, I have a problem exactly same as this:
a post are assigned to more than one categories.
- Post 1
- Assigned to Category A and Category B
When you visit the Category A page, Post 1 is shown there.
When you visit the Category B page, Post 1 is shown there too.
When you click Post 1 in the Category A page, it takes you normally to the Post 1 page
staying in Category A, so next previous post links work inside Category A ok.
When you click Post 1 in the Category B page, it takes you normally to the Post 1 page
but not staying in Category B, so next previous post links work inside Category A again.
How can i resolve this so when you are in a category page and you click a post that is assigned to multiple categories, the post page will stay in the category from which it was clicked, so the permalink will show that category name and the previous and next post links will work inside that category 】
if anyone can help. Please!
Thank you so much.