WordPress.org

Ready to get started?Download WordPress

Forums

Artiss Timed Content
[Plugin: Simple Timed Content] Simple Timed Plugin - Content to appear on one day per week at a spec (4 posts)

  1. stylishjm
    Member
    Posted 3 years ago #

    Im designing a site for a friend who has a radio slot every Tuesday 1-3am.

    Would the following be correct?

    [timed ontime="0100" offtime="0300" onday="2" offday="2"]Content here[/timed]

    I want it to appear just as his radio slot starts and to disappear once it ends.
    http://wordpress.org/extend/plugins/simple-timed-plugin/

  2. dartiss
    Member
    Plugin Author

    Posted 3 years ago #

    Yes, that's correct.

  3. Jerry Hobby
    Member
    Posted 2 years ago #

    Dartiss,

    I am doing the same thing. Except as I am using the sidebar, I am using the PHP code. The "test" code I use is:

    if (simple_timed_content( "onday=1&offday=2&ontime=0900&offtime=1000"))

    The onday/offday portion is working fine. But it is ignoring the ontime/offtime settings. It doesn't matter what times I put in, the content displays on the specified days.

    Can you please advise on this?

  4. dartiss
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Jerry,

    I'm not sure I tested an on/off time across multiple days so I'm not sure what the outcome would be. Would you expect this to switch on at 9am on Monday and go off at 10am on Tuesday OR go on at 9 and off at 10 on both days?

    David.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic