WordPress.org

Support

Support » Plugins and Hacks » T(-) Countdown » [Resolved] [Plugin: T(-) Countdown] Add countdown to header?

[Resolved] [Plugin: T(-) Countdown] Add countdown to header?

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

    @baden03

    Yes. Just do_shortcode using the standard [tminus] shortcode

    Could you please post an example for this shortcode, of what I would put in the header? I haven’t used this do_shortcode type of code before – Thanks for your help! 🙂

    [tminus t=”2012-05-18 09:00:00″ before=”<p>This is my countdown timer</p>” omitweeks=”true” style=”carbonlite” jsplacement=”inline”/]

    Plugin Author Baden

    @baden03

    Dudle, really? OK:
    echo do_shortcode('[tminus t="2012-05-18 09:00:00" before="<p>This is my countdown timer</p>" omitweeks="true" style="carbonlite" jsplacement="inline"/]');

    I want to put date from database where is t=”2012-05-18 09:00:00″ , but I see only ‘2012’ in simple text.
    How to get it? My data result from database is $row[‘matchDate’];
    Thanks!

    Plugin Author Baden

    @baden03

    Hey Bulgarin,

    What is the results from the database? What is returned from var_dump($row['matchDate']);? Are you enclosing the date value in double quotes?
    So many questions…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] [Plugin: T(-) Countdown] Add countdown to header?’ is closed to new replies.
Skip to toolbar