WordPress.org

Ready to get started?Download WordPress

Forums

T(-) Countdown
[resolved] [Plugin: jQuery T Minus CountDown Widget] does not count (4 posts)

  1. thorshammers
    Member
    Posted 2 years ago #

    shows the time when you display the page but the counter is frozen

    http://wordpress.org/extend/plugins/jquery-t-countdown-widget/

  2. Baden
    Member
    Plugin Author

    Posted 2 years ago #

    @thorshammers: This is probably one of the most common questions regarding the plugin. Almost always it is due to a javascript error being thrown by either your theme or another plug-in. Furthermore, this is almost always caused by jQuery being forced-injected into the header or loading up it's own version of the jQuery library in some cockamamie way that does not follow the recommended method of using jQuery with WordPress.

    Without having a url to the page, not much more help can be provided other than look for:
    <script type="text/javascript" src="http://...bla bla bla.../jquery.min.js"></script>
    being hardcoded into your header.

    To everyone else out there that is having this same issue--yes, you--before posting that 'the countdown is broke, it's not counting down' please first check your JavaScript error console in Chrome, FireFox, Safari or Opera. Sorry, IE users, your entire browser is an error console.

  3. chrisfaller
    Member
    Posted 1 year ago #

    Hi Baden,

    thanks for clarifying this.
    I've also got the same problem and I'm quite sure it's for the exact reason you said.

    I'm trying to implement the countdown on this page http://hackthesystem.com/
    specifically on this subpage: http://hackthesystem.com/zenhabits/

    I'm getting this bug:

    "Uncaught TypeError: Object #<Object> has no method 'countDown'"

    and I already checked and got this line of code that might cause it: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

    Now, I'm not a code pro, so my question is how to fix it. What will happen if I delete the ajax line? Is there any way I can get both things to work?

    Thanks for your help!

  4. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Chris: People like to use the google api's to load in the ajax. They just go ahead and hard-code the load into there plugins and themes. Good plugin and theme's first check to see if WordPress has already loaded up the jQuery library, and only load it up if needed. So, removing this line will not affect your page in a negative way, as more than likely the jQuery library is being loaded up twice because of it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic