I wanted a way to offer a daily quote from the database, so I added a todays_quote=true attribute to the shortcode. To pick a quote, it takes the number of quotes returned by the db query, and mods it into a day-of-the-unix-epoch value. This means that given any specific collection of quotes, it will cycle through them one per day, no matter how often you refresh the page.
I wanted a way to offer a daily quote from the database, so I added a todays_quote=true attribute to the shortcode. To pick a quote, it takes the number of quotes returned by the db query, and mods it into a day-of-the-unix-epoch value. This means that given any specific collection of quotes, it will cycle through them one per day, no matter how often you refresh the page.
For example:
[quotecoll todays_quote=true show_source=false tags="favorite, quoted, other"]
It's not extensively tested, but works on my website. See the top section of the homepage: larrywitzel.com