I am looking for a solution to sort posts randomly with a menu button.
what would you suggest is the best way?
I could think of a PAGE which uses a different template where the query is modified with the 'rand' parameter but this doesn't look like the best way.
Maby with some code in the functions.php which allows something like this:
site.com/?orderby=random but I have no idea how to do this.
thanks for all ideas.