Support » Plugin: T(-) Countdown » Show Content only if Countdown is active

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Baden


    What do you mean by PHP content?
    Yes, you can use the before and after attributes. Please read the documentation for more info:
    [tminus t="2012-12-20" before="<p>May the force...</p>"/]

    Thank you but it seems that div’s doesn’t work.
    I need such a code to be displayed only if the code is active.

    $votecode = ‘<div class=”ld-container” tid=”‘.$tidcalc.'” buttonclick=”no” userid=’.$userid.’ pageid=’.$pageid.’ action=””></div>’;

    But as soon as there is a div class, it doesn’t work anymore when I define

    [tminus t=”2012-12-20″ after=”‘.$votecode.'”]

    Plugin Author Baden


    try swapping out your double qoutes (“) for single quotes (‘) and visa-versa…
    Also, a link to the page you are having a problem with would be most helpful.

    me too need this solution, i need show content if only countdown active, if countdown 0 hide content, have chance this plugin make this? how make this shortcode?

    Plugin Author Baden


    rhcarlos: where do you want to show the content?
    above the countdown would be like so:

    [tminus t="2013-12-23" before="<p>May the force...</p>" launchtarget="above"] [/tminus]


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Show Content only if Countdown is active’ is closed to new replies.