Title: Countdown shortcode not working
Last modified: January 22, 2018

---

# Countdown shortcode not working

 *  Resolved [spaniole](https://wordpress.org/support/users/spaniole/)
 * (@spaniole)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/countdown-shortcode-not-working/)
 * Hi, it seems that the shortcode [fp-countdown] does not work properly, the other
   shortcodes seems to work very nice, but nothing appears when the [fp-countdown]
   is selected.
    Related to FP 2.6.5. Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [AntoineH](https://wordpress.org/support/users/antoineh/)
 * (@antoineh)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/countdown-shortcode-not-working/#post-9890627)
 * The shortcode works fine on my install. Could be a conflict with your theme or
   other plugins. Can you show me the page where you set the counter?
 *  Thread Starter [spaniole](https://wordpress.org/support/users/spaniole/)
 * (@spaniole)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/countdown-shortcode-not-working/#post-9890699)
 * Hi, I used the same theme for UEFA Euro 2016 without problems.
    Here by link 
   to the site -> [https://vmtips2018.skytjenesten.dk/](https://vmtips2018.skytjenesten.dk/)
   In the right column you will see the Countdown wigdet only showing the match,
   not the countdown time. It is the same inserted into pages. Thanks.
 *  Plugin Author [AntoineH](https://wordpress.org/support/users/antoineh/)
 * (@antoineh)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/countdown-shortcode-not-working/#post-9890801)
 * I noticed on your page that a javascript error is logged in the console: “Uncaught
   ReferenceError: FootballPool is not defined”.
 * In your case this means that the javascript file is not yet loaded when the function
   is called. So, I looked a bit further in your HTML source and saw that you defer
   the loading of javascript files. Disable the plugin that is causing this problem,
   or try excluding my javascript files from this plugin.
    -  This reply was modified 8 years, 4 months ago by [AntoineH](https://wordpress.org/support/users/antoineh/).
 *  Thread Starter [spaniole](https://wordpress.org/support/users/spaniole/)
 * (@spaniole)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/countdown-shortcode-not-working/#post-9891124)
 * Hi, I have set “defer” to “async” in my theme’s functions.php file, but that 
   did not help. I have no plugins that defer javascripts, it was only set in the
   theme’s functions.php file. Exactly same setup was used for UEFA Euro 2016, but
   of course, plugins and themes has been updated since then. I have concluded that
   it is the theme, that makes all the trouble and not your plugin, sorry for making
   your some noise.
 *  Thread Starter [spaniole](https://wordpress.org/support/users/spaniole/)
 * (@spaniole)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/countdown-shortcode-not-working/#post-9891142)
 * Just for your info, I took the 2 year old theme (same as now, but without updates),
   and now it is working like a charm. Just one more question, how to get rid of
   the seconds in the countdown? Thanks.
 *  Thread Starter [spaniole](https://wordpress.org/support/users/spaniole/)
 * (@spaniole)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/countdown-shortcode-not-working/#post-9891167)
 * Overall it was the “defer” that was the reason for the missing countdown, so 
   you were completely right – thumbs up.
 *  Plugin Author [AntoineH](https://wordpress.org/support/users/antoineh/)
 * (@antoineh)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/countdown-shortcode-not-working/#post-9895155)
 * The seconds in the countdown can’t be removed without changing the minified javascript
   file. I will add some extra formats in the next pool version.
 *  Thread Starter [spaniole](https://wordpress.org/support/users/spaniole/)
 * (@spaniole)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/countdown-shortcode-not-working/#post-9896439)
 * Thank you very much.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Countdown shortcode not working’ is closed to new replies.

 * ![](https://ps.w.org/football-pool/assets/icon-256x256.png?rev=983880)
 * [Football Pool](https://wordpress.org/plugins/football-pool/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/football-pool/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/football-pool/)
 * [Active Topics](https://wordpress.org/support/plugin/football-pool/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/football-pool/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/football-pool/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 8 replies
 * 2 participants
 * Last reply from: [spaniole](https://wordpress.org/support/users/spaniole/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/countdown-shortcode-not-working/#post-9896439)
 * Status: resolved