in my main loop i show only posts of the 'artworks' post type, orderby=rand.
when i view a single artwork and use the next / prev nav, it disregards the main query and goes by chronological order - as described in the codex: http://codex.wordpress.org/Template_Tags/next_post_link
how can i store and use the random order generated at first to alter the post navigation order? any ideas?
the order would be randomized upon the reload of the home page, but within each session each 'random order' should be consistent.
so, for example:
1- home page i see posts in a random order (4,7,1,8,6,3). i click on post 8.
2- on the single view of post 8, the 'next' post would be 6, and the previous would be 1. etc..
3- i should be able to go through back and forth and the order would be consistent.
4- if i click on the title of the website or reload it again (not just history>back, but an actual reload). then there should be a new random order.