Plugin Author
Baden
(@baden03)
Is this a Widget or a Shortcode?
Try placing the script ‘inline’ using the jsplacement=”inline” attribute in the shortcode, or the JS Placement option in the Widget.
Regardless, there is something that is throwing JS errors on your page. You might want to de-activate all plugins and turn them back on one-by-one to identify the culprit.
Summary: I screwed up. No problem with the plugin. 🙂
Full explanation:
This was a shortcode, but it was a shortcode being used in the functions.php through do_shortcode, and stuck in a shortcode we created. Due to the way we wanted to output, it is first stored in a variable which is then sent as part of the full output for our shortcode (it’s shortcodes all the way down!).
We had a previous deadline variable still in our shortcode function that called do_shortcode for another call on tminus — and that’s what was causing the problem.
Even though that variable didn’t get output, the jquery code for it was output and when it couldn’t find the id for that div it popped the error which also prevented the deadline we actually needed from having its javascript run. Removed that old call to do_shortcode, and everything started working.
On a side note, if you move that problem do_shortcode call below the other one, the other one starts working since the error isn’t triggered until after it’s javascript runs. But it’s just waiting there to cause problems, possibly in code that isn’t related so could be hard to track down.
Plugin Author
Baden
(@baden03)
glad you got it sussed out, and thanks for the detailed wrap-up. Issue marked as resolved.