Support » Plugin: Show/Hide Content at Set Time » Show different images on a weekly schedule

  • Resolved Divan

    (@divan-web-devine)


    Hi Dave,

    We have implemented the shortcodes included at the bottom of my email on the given URL. Kindly note that it’s related to the images that are located in the top right-hand corner of the website.

    For some reason the images aren’t showing at the times mentioned in the shortcodes. We have set the timezone correctly under WordPress admin.

    Your assistance in this regard will be greatly appreciated.

    [time-restrict-repeat type=”weekly” onday=”Monday” offday=”Friday” ontime=”05:00:00″ offtime=”05:59:59″]

    [/time-restrict-repeat]

    [time-restrict-repeat type=”weekly” onday=”Monday” offday=”Friday” ontime=”06:00:00″ offtime=”08:59:59″]

    [/time-restrict-repeat]

    [time-restrict-repeat type=”weekly” onday=”Monday” offday=”Friday” ontime=”09:00:00″ offtime=”11:59:59″]

    [/time-restrict-repeat]

    [time-restrict-repeat type=”weekly” onday=”Monday” offday=”Friday” ontime=”12:00:00″ offtime=”14:59:59″]

    [/time-restrict-repeat]

    [time-restrict-repeat type=”weekly” onday=”Monday” offday=”Friday” ontime=”15:00:00″ offtime=”17:59:59″]

    [/time-restrict-repeat]

    [time-restrict-repeat type=”weekly” onday=”Monday” offday=”Friday” ontime=”18:00:00″ offtime=”21:59:59″]

    [/time-restrict-repeat]

    [time-restrict-repeat type=”weekly” onday=”Monday” offday=”Wednesday” ontime=”22:00:00″ offtime=”04:59:59″]

    [/time-restrict-repeat]

    [time-restrict-repeat type=”weekly” onday=”Thursday” offday=”Sunday” ontime=”22:00:00″ offtime=”04:59:59″]

    [/time-restrict-repeat]

    The page I need help with: [log in to see the link]

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

    (@thewanderingbrit)

    A few things:

    • It looks as though, since this is a radio show, you’re wanting to display who’s on air now, or something similar. If so, your shortcodes need to be nested to show the same image every weekday from one time to another. The way that you have set up the bulk of these shortcodes, the image would show all week from e.g. 5AM on Monday until 6AM on Friday. Look at how to use nested shortcodes to show something for a set period every day.
    • This may be just because you didn’t paste your shortcodes as “code”, but make sure that your quotes are not “curly quotes”.
    • Don’t leave line breaks between sequential shortcodes. This might leave empty paragraphs
    • In general though, I’m surprised that something isn’t showing up in your testing. Try playing around with the times and see if you can get it to appear at all and nail down what the cause is. Also consider if your site is caching content.
    Thread Starter Divan

    (@divan-web-devine)

    Hi Dave,

    Thank you for your feedback, it’s much appreciated.

    The solution was to remove the line-breaks, and replace “weekly” with “daily”.

    All of the best

    Plugin Author Dave Clements

    (@thewanderingbrit)

    Excellent. Thanks for following up with your resolution.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show different images on a weekly schedule’ is closed to new replies.