At the moment I have a really basic PHP script for randomly drawing quotes from a text file.
<?php include('testimonials.txt');
srand ((double) microtime() * 100000);
$random_number = rand(0,count($quotes)-1);
echo ($quotes[$random_number]);
?>
Of course currently the script executes every time the page loads and brings up new content each time the page is refreshed.
I want to know is there any easy way to modify this to change the content on a timer, so it only changes once a day, or every few days?
If it requires altering the wp-cron.php of my site, any idea what I would need to put in there to do so?
Thank you