Support » Plugin: WP-TopBar » Countdown Code Insert Needed

  • Resolved undressedmoney


    Dear guys:

    I need a working code for a countdown timer. The trouble i have is this: there are many working countdown timers in wordpress that work with shortcodes, but I can’t use those shortcodes in WP Top Bar.

    I want a countdown for Halloween. I know that I can create a toolbar for each day and make it like “Only xxx days left to Halloween!” but that is a lot of extra work.

    I look for a soution to be able to enter some code that automatically displays a countdown like those countless countdown timer plugins offer!

    Thanks for an urgent solution of this!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Bob


    To execute a shortcode, you can use the do_shortcode() function.

    For example, here is one way to do it in the PHP tab. This will create a countdown timer. Using the code below, you would need to style the timer with CSS to make it look nice.

    echo do_shortcode( '[tminus t="10-31-2014 00:00:00"]HTML to be displayed when the countdown reaches zero.[/tminus]');




    i am not really a programmer, is it possible to have a screenshot to where exactly put it in – in “before the topBar is generated” or “after” – and then what to add into the regular text field?



    or is there someone who can program this for me for pay



    You could post a job listing here:

    As per the forum guidelines, this thread is now closed – nothing personal, it just attracts too much spam –

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Countdown Code Insert Needed’ is closed to new replies.