WordPress.org

Forums

T(-) Countdown
[resolved] Select style when you have to hard code in widget? (3 posts)

  1. Starhorsepax2
    Member
    Posted 1 year ago #

    So here is the question: I've managed to hard code this in to a spot that did not want to take a widget. Largely thanks to THIS thread and a tip from the template maker where the right file was.

    Can someone please tell me what to put in the PHP code to select the right style? I'm trying to get carbonlite.

    Right now I have this much: http://wordpress.org/support/topic/how-to-insert-it-inside-the-header
    And it shows the default version countdown (too big for the spot, unfortunately).

    I'd include a link but I'm hiding in an under construction page for now.

    https://wordpress.org/plugins/jquery-t-countdown-widget/

  2. Starhorsepax2
    Member
    Posted 1 year ago #

    OOPs. What I meant to say is I have THIS much hard coded in with the correct date: what else does it need to change the style?

    <?php echo do_shortcode('[tminus t="launch_date_goes_here"]'); ?>

  3. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    as described in the documentation, you would use the style attribute like so:

    <?php echo do_shortcode('[tminus t="launch_date_goes_here" style="carbonite"]'); ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • T(-) Countdown
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic