Here's a small .php script that will display your content once each month for a few days, depending on the date and number of items to be rotated
Development logic
(Today's Date is
23)
Day number is
23
Number of articles is
9 --
# days in a month (31) divided by number of articles (9) gives number of days per article:
3.44444444444
Date divided by the number of days per article gives raw article#
6.67741935484
Rounded up article number to display is #
7
CONDENSED SCRIPT:
<?php
$num_items = 4;
$num_days = 31
/ $num_items;
$sl =
ceil( date("d") /
$num_days);
include
('video_'.$sl.'.htm');
?>
Set the $num_items =
to the number of videos or articles you want to rotate. Make their file names look like this: video_1.htm
, video_2.htm
, etc.