• Resolved hfinlay10

    (@hfinlay10)


    Hi, I have a page with certain content that shows only between certain times on one day each week, and then different content the rest of the time. I have set up as follows, but the second codes are not showing anything.

    [time-restrict-repeat type=”weekly” onday=”Wednesday” ontime=”20:00:00″ offday=”wednesday” offtime=”22:00:00″]CONTENT[/time-restrict-repeat]

    [time-restrict-repeat?type=”weekly” onday=”wednesday” offday=”wednesday” ontime=”22:00:01″ offtime=”19:59:59″]CONTENT[/time-restrict-repeat]

    I’m sure this used to work, but it doesn’t seem to be now. Love to knwo what I’m doing wrong here.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Dave Clements

    (@thewanderingbrit)

    The syntax looks correct to me. The only thing I’d point out is that I see curly quotes, but that could be down to how you pasted the code. If you’re using double quotes correctly, I don’t see a reason why this wouldn’t work.

    So you’re saying that it should the first content correctly for 2 hours, but the other content which should show for the other 166 hours of the week just doesn’t appear whatsoever?

    Thread Starter hfinlay10

    (@hfinlay10)

    Hi, It seems to be working OK now, but sometimes it seems to get it wrong and the second content just doesn’t get shown so I have a blank page! Maybe my imagination – I’ll pay close attention for a while and see how it goes. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Simple weekly schedule’ is closed to new replies.