Schedule Your Content
can it be scheduled for days of the week? (3 posts)

  1. nohler
    Posted 3 years ago #

    This plugin looks really handy.

    It looks like it handles calendar dates and times for when to start showing content and when to stop showing content.

    Q1: Can it handle days of the week? i.e. Monday, Tuesday, Wednesday?

    Q2: Does it have an auto refresh or must the page be reloaded to update the content?

    This looks great.


  2. jeff fren
    Posted 3 years ago #

    Thank you for this nice plugin!
    I'm looking for the feature of "scheduled for days of the week" too

  3. pob13
    Posted 3 years ago #

    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


    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];

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Schedule Your Content
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic