WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. nohler
    Member
    Posted 2 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.

    http://wordpress.org/extend/plugins/schedule-your-content/

  2. jeff fren
    Member
    Posted 1 year ago #

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

  3. pob13
    Member
    Posted 1 year 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

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic