Viewing 2 replies - 1 through 2 (of 2 total)
  • Thank you for this nice plugin!
    I’m looking for the feature of “scheduled for days of the week” too

    Its an easy fix to get this to do days of the week….its just a matter of getting it to compare the start date with date(“l”)
    which is the php code to get the current day name i.e. Monday

    Put

    if ($atts['start_date'] == date("l") ) {
    			$atts['start_date'] = $curTime[0];
    			$atts['end_date'] = $curTime[0];
    			$atts['start_time'] = $curTime[1];
    			$atts['end_time'] = '23:59';
     }

    just before

    if (empty($atts['start_date']))
    			$atts['start_date'] = $curTime[0];
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Schedule Your Content] can it be scheduled for days of the week?’ is closed to new replies.