WordPress.org

Forums

Artiss Timed Content
Appear daily on a timeslot? (5 posts)

  1. kalligator
    Member
    Posted 2 years ago #

    Is it possible to have content appear on a daily schedule for example 10:00 - 12:00 on weekdays?

    http://wordpress.org/extend/plugins/simple-timed-plugin/

  2. dartiss
    Member
    Plugin Author

    Posted 2 years ago #

    Theoretically, although I've not tried it, specifying ON and OFFDAY for Saturday and Sunday and an ONTIME and OFFTIME of 10 and 12 should work.

    David.

  3. kalligator
    Member
    Posted 2 years ago #

    How do you specify multiple on and offdays in the shortcode? One next to another, like '67' in our case?

  4. dartiss
    Member
    Plugin Author

    Posted 2 years ago #

    You'd use onday=6 and offday=7 to indicate Saturday and Sunday.

    David.

  5. kalligator
    Member
    Posted 2 years ago #

    I ended up repeating [timed onday="1" ontime="1000" offtime="1200"] content [/timed] for each of the five weekdays, I am looking for something more elegant.

    Perhaps if onday/offday were treated as an array and calculations were looped for each value?
    I'll try and hack this is in.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic