Blog posts have footer navigation links for prev/next post. These always navigate to adjacent posts within the context of the entire blog.
Consider enhancing the behavior of this footer navigation by making the post visit aware of the referrer URL. When the referrer is a category page, make the footer navigation scoped to that particular category. Or when coming from a search results page, scope them to the search results in the result order.
E.g. when visiting a "Weddings" blog category page, clicking to view a post should allow the footer navigation to go prev/next within the weddings category of posts, not within all posts.
There are caching implications here, so we may need to serve the page uncached or we may need to render the links via some post-DOM templating technique to retain page HTML cache support.
Blog posts have footer navigation links for prev/next post. These always navigate to adjacent posts within the context of the entire blog.
Consider enhancing the behavior of this footer navigation by making the post visit aware of the referrer URL. When the referrer is a category page, make the footer navigation scoped to that particular category. Or when coming from a search results page, scope them to the search results in the result order.
E.g. when visiting a "Weddings" blog category page, clicking to view a post should allow the footer navigation to go prev/next within the weddings category of posts, not within all posts.
There are caching implications here, so we may need to serve the page uncached or we may need to render the links via some post-DOM templating technique to retain page HTML cache support.