downshiftorg / prophoto7-issues

A current roadmap and bug tracking for ProPhoto 7
1 stars 0 forks source link

Enhance previous/next footer navigation links by referrer #781

Open postmastersteve opened 4 years ago

postmastersteve commented 4 years ago

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.

postmastersteve commented 4 years ago

+1 Elisa Copeland ticket 198477