• Resolved Adam B

    (@bigfatweb)


    I’m new to the Timed Content plugin and have a question. I’m currently using it to display images at certain times of the day (working great).

    Is there anyway to have a ‘fallback image’ that will always display as a default in the event a time slot rule to display a image is not assigned?

    EXAMPLE…

    8AM - 9AM (set as a rule to show content)
    [timed-content-rule id="1662"]<a href="https://websiteurl.com"><img src="https://websiteurl.com/8AM.jpg" width="600" height="200" /></a>[/timed-content-rule]
    
    9AM - 10AM (no rule set - fallback image to display here)
    <a href="https://websiteurl.com"><img src="https://websiteurl.com/fallback.jpg" width="600" height="200" /></a>
    
    10AM - 11AM (set as a rule to show content)
    [timed-content-rule id="1665"]<a href="https://websiteurl.com"><img src="https://websiteurl.com/10AM.jpg" width="600" height="200" /></a>[/timed-content-rule]
    • This topic was modified 5 years, 2 months ago by Adam B.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fallback Content (Image)’ is closed to new replies.