• Resolved Starhorsepax2

    (@starhorsepax2)


    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Starhorsepax2

    (@starhorsepax2)

    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”]’); ?>

    Plugin Author Baden

    (@baden03)

    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"]'); ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Select style when you have to hard code in widget?’ is closed to new replies.