WordPress.org

Support

Support » Plugins and Hacks » T(-) Countdown » [Resolved] Show Content only if Countdown is active

[Resolved] Show Content only if Countdown is active

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

    @baden03

    What do you mean by PHP content?
    Yes, you can use the before and after attributes. Please read the documentation for more info: http://plugins.twinpictures.de/plugins/t-minus-countdown/documentation/
    [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=”http://xxx.de/poll/ajax_likes.php”></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

    @baden03

    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

    @baden03

    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]

    Documentation

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