Another update for quotes-collection users
Tuesday, April 27th, 2010Updated. See the latest entry for details. The latest versions of the Quotes Collection plugin have changed the get-quote function. Here is an updated version of the quotescollection_get_quote function that does not waste randomness. function quotescollection_get_quote($condition = 0) { global $wpdb; $offset = rand( 0, quotescollection_count($condition) ); $sql = “SELECT quote_id, quote, author, source FROM […]