Show/Hide Content at Set Time
[resolved] Combining expires and showafter (2 posts)

  1. BennyW
    Posted 3 years ago #

    If I have the scenario where I want some content to appear for a fixed amount of time in the future, how woudl i do it.

    eg, up until decemeber i wan text to say
    "Its not decemeber yet"

    [expires off="1 December 2012"]Its not december yet[/expires]

    Then in December say
    "Its the month of Xmas"

    [showafter on="1 December 2012"]Its the month of Xmas[/showafter]

    BUT, heres what I can't work out, hoe can i get that to go away after december so it just says
    "Xmas has passed, it will comeback soon"



  2. Dave Clements
    Plugin Author

    Posted 3 years ago #

    Hmm, I don't think that's something that you can achieve with this plugin, because I don't think you can nest the shortcodes, which is what you would have to do in order to create a condition which relies upon expires and showafter. Sorry!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Show/Hide Content at Set Time
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.