WordPress.org

Support

Support » Plugins and Hacks » Appear daily on a timeslot?

Appear daily on a timeslot?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author dartiss
    Participant

    @dartiss

    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.

    kalligator
    Participant

    @kalligator

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

    Plugin Author dartiss
    Participant

    @dartiss

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

    David.

    kalligator
    Participant

    @kalligator

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Appear daily on a timeslot?’ is closed to new replies.