Countdown Timer – Widget Countdown - Version 2.0.8

Version Description

  • Made some changes in code.

=

Download this release

Release Info

Developer wpdevart
Plugin Icon 128x128 Countdown Timer – Widget Countdown
Version 2.0.8
Comparing to
See all releases

Code changes from version 2.0.7 to 2.0.8

includes/front_end.php CHANGED
@@ -135,7 +135,7 @@ class wpdevart_countdown_front_end{
135
$parametrs_for_countedown['content']='';
136
}
137
$output_js.="
138
- jQuery(document).ready(function(){
139
".((($day_left<=0 && $hourse_left<=0 && $minuts_left<=0 && $seconds_left<=0))?"jQuery('#main_countedown_".self::$id_for_content." .countdown').html('".htmlspecialchars($parametrs_for_countedown['content'])."')":"setInterval(function(){countdown_wpdevart_timer('main_countedown_".self::$id_for_content."');},1000)")."
140
});
141
";
135
$parametrs_for_countedown['content']='';
136
}
137
$output_js.="
138
+ document.addEventListener('DOMContentLoaded', function(event) {
139
".((($day_left<=0 && $hourse_left<=0 && $minuts_left<=0 && $seconds_left<=0))?"jQuery('#main_countedown_".self::$id_for_content." .countdown').html('".htmlspecialchars($parametrs_for_countedown['content'])."')":"setInterval(function(){countdown_wpdevart_timer('main_countedown_".self::$id_for_content."');},1000)")."
140
});
141
";
includes/widget.php CHANGED
@@ -355,7 +355,7 @@ class wpdevart_countdown extends WP_Widget {
355
$parametrs['content']='';
356
}
357
$output_js.="
358
- jQuery(document).ready(function(){
359
".((($day_left<=0 && $hourse_left<=0 && $minuts_left<=0 && $seconds_left<=0))?"jQuery('#main_countedown_widget_".self::$id_for_content." .countdown').html('".htmlspecialchars($parametrs['content'])."')":"setInterval(function(){countdown_wpdevart_timer('main_countedown_widget_".self::$id_for_content."');},1000)")."
360
});
361
";
355
$parametrs['content']='';
356
}
357
$output_js.="
358
+ document.addEventListener('DOMContentLoaded', function(event) {
359
".((($day_left<=0 && $hourse_left<=0 && $minuts_left<=0 && $seconds_left<=0))?"jQuery('#main_countedown_widget_".self::$id_for_content." .countdown').html('".htmlspecialchars($parametrs['content'])."')":"setInterval(function(){countdown_wpdevart_timer('main_countedown_widget_".self::$id_for_content."');},1000)")."
360
});
361
";
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wpdevart.com/wordpress-countdown-plugin
4
Tags: countdown, countdown widget, countdown timer, countdown system, countdown generator
5
Requires at least: 3.3.0
6
Tested up to: 5.2.2
7
- Stable tag: 2.0.7
8
License: GPLv3
9
License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
@@ -470,6 +470,10 @@ Yes dear users, you need to pay only one time for pro version, it's lifetime pla
470
471
* Added comment for developers.
472
473
== Step by step guide ==
474
475
### Options
4
Tags: countdown, countdown widget, countdown timer, countdown system, countdown generator
5
Requires at least: 3.3.0
6
Tested up to: 5.2.2
7
+ Stable tag: 2.0.8
8
License: GPLv3
9
License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
470
471
* Added comment for developers.
472
473
+ = 2.0.8 =
474
+
475
+ * Made some changes in code.
476
+
477
== Step by step guide ==
478
479
### Options
wpdevart-countdown.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Countdown Wpdevart
4
Plugin URI: http://wpdevart.com/wordpress-countdown-plugin/
5
Description: Countdown plugin is an nice tool to create and insert countdown timers into your posts/pages and widgets .
6
- Version: 2.0.7
7
Author: wpdevart
8
Author URI: http://wpdevart.com
9
License: GPL3 http://www.gnu.org/licenses/gpl-3.0.html
3
Plugin Name: Countdown Wpdevart
4
Plugin URI: http://wpdevart.com/wordpress-countdown-plugin/
5
Description: Countdown plugin is an nice tool to create and insert countdown timers into your posts/pages and widgets .
6
+ Version: 2.0.8
7
Author: wpdevart
8
Author URI: http://wpdevart.com
9
License: GPL3 http://www.gnu.org/licenses/gpl-3.0.html