Title: data-countdown issue
Last modified: March 28, 2020

---

# data-countdown issue

 *  Resolved [iHuman](https://wordpress.org/support/users/ihuman/)
 * (@ihuman)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/data-countdown-issue/)
 * Hi! There is a conflict with the countdown widget and the theme I’m using. It
   also uses jquery countdown and since both ‘data-countdown’ they conflict. The
   result is the countdown widget flickers every second. If I block out the code
   in the theme, it works. Is there a way to modify sportspress.js so
    `$("[data-
   countdown]").each(function() {` is something else? Suggestions?

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

 *  Plugin Contributor [Savvas](https://wordpress.org/support/users/savvasha/)
 * (@savvasha)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/data-countdown-issue/#post-12594097)
 * Hi [@ihuman](https://wordpress.org/support/users/ihuman/) ,
 * Isnt it easier to create a [child theme](https://developer.wordpress.org/themes/advanced-topics/child-themes/)
   and alter the code of the theme? Otherwise you will not be able to update your
   SportsPress plugin.
 * Thanks,
    Savvas
 *  Thread Starter [iHuman](https://wordpress.org/support/users/ihuman/)
 * (@ihuman)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/data-countdown-issue/#post-12595888)
 * I did create a child theme – but it still calls the js functions of the parent
   theme.
 *  [corrinarusso](https://wordpress.org/support/users/corrinarusso/)
 * (@corrinarusso)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/data-countdown-issue/#post-12599336)
 * [@ihuman](https://wordpress.org/support/users/ihuman/)
 * Then you did not implement it properly.
 *  [Roch](https://wordpress.org/support/users/rochesterj/)
 * (@rochesterj)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/data-countdown-issue/#post-12603619)
 * Hi!
 * If you want new scripts you need to dequeue the parent theme scripts. You can
   dequeue plugin scripts as well if you want to. This allows you to add new scripts
   with your own selectors.
 * Unfortunately, the exact code is beyond the scope of our support, but if you 
   need any general help let us know.
 * Thanks!

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

 The topic ‘data-countdown issue’ is closed to new replies.

 * ![](https://ps.w.org/sportspress/assets/icon-256x256.png?rev=1252005)
 * [SportsPress - Sports Club & League Manager](https://wordpress.org/plugins/sportspress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sportspress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sportspress/)
 * [Active Topics](https://wordpress.org/support/plugin/sportspress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sportspress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sportspress/reviews/)

## Tags

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

 * 4 replies
 * 4 participants
 * Last reply from: [Roch](https://wordpress.org/support/users/rochesterj/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/data-countdown-issue/#post-12603619)
 * Status: resolved