Countdown Timer – Widget Countdown - Version 1.5.2

Version Description

  • Edited code comments.

=

Download this release

Release Info

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

Code changes from version 1.5.1 to 1.5.2

includes/admin_menu.php CHANGED
@@ -16,7 +16,7 @@ class wpdevart_countdown_admin_menu{
16
$this->plugin_url=trailingslashit(dirname(plugins_url('',__FILE__)));
17
18
19
- // Insert button
20
add_action('media_buttons_context', array($this,'wpdevart_countdown_button'));
21
add_action( 'wp_ajax_wpdevart_countdown_window_manager', array($this,'wpdevart_countdown_window_insert_content') );
22
16
$this->plugin_url=trailingslashit(dirname(plugins_url('',__FILE__)));
17
18
19
+ // Insert button code
20
add_action('media_buttons_context', array($this,'wpdevart_countdown_button'));
21
add_action( 'wp_ajax_wpdevart_countdown_window_manager', array($this,'wpdevart_countdown_window_insert_content') );
22
includes/front_end.php CHANGED
@@ -14,7 +14,7 @@ class wpdevart_countdown_front_end{
14
function __construct($params){
15
16
$this->databese_parametrs=$params['databese_parametrs'];
17
- //If plugin url does not come in parent class
18
if(isset($params['plugin_url']))
19
$this->plugin_url=$params['plugin_url'];
20
else
@@ -27,7 +27,7 @@ class wpdevart_countdown_front_end{
27
//For updated parameters
28
29
}
30
- /*###################### Scripts and Styles ##################*/
31
public function generete_front_javascript(){
32
33
wp_enqueue_script('countdown-front-end');
14
function __construct($params){
15
16
$this->databese_parametrs=$params['databese_parametrs'];
17
+ //If plugin url doesn't come in parent class
18
if(isset($params['plugin_url']))
19
$this->plugin_url=$params['plugin_url'];
20
else
27
//For updated parameters
28
29
}
30
+ /*###################### Scripts and Styles part##################*/
31
public function generete_front_javascript(){
32
33
wp_enqueue_script('countdown-front-end');
includes/widget.php CHANGED
@@ -59,7 +59,7 @@ class wpdevart_countdown extends WP_Widget {
59
'text_for_second' => 'Seconds',
60
'start_time' => mktime (date("H"), date("i"), date("s"),date("n"), date("j"),date("Y")),
61
'end_time_type' => 'time',
62
- 'end_time' => '0,1,5',
63
'end_time_date' => date('d-m-Y 23:59'),
64
'action_end_time' => 'hide',
65
'content' => '',
59
'text_for_second' => 'Seconds',
60
'start_time' => mktime (date("H"), date("i"), date("s"),date("n"), date("j"),date("Y")),
61
'end_time_type' => 'time',
62
+ 'end_time' => '0,2,5',
63
'end_time_date' => date('d-m-Y 23:59'),
64
'action_end_time' => 'hide',
65
'content' => '',
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wpdevart.com/wordpress-countdown-plugin
4
Tags: countdown, count down, countdown timer, jQuery countdown, countdown generator, animated countdown, countdown widget, timer, countdown clock, wp countdown timer, event countdown, widget countdown, clock, countdown to time, countdown timer plugin, wordpress countdown, birthday countdown, html5 countdown, wp countdown, countdown timer widget, website countdown, date countdown, flash countdown, time counter, countdown system
5
Requires at least: 3.3.0
6
Tested up to: 4.6
7
- Stable tag: 1.5.1
8
License: GPLv3
9
License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
@@ -84,7 +84,7 @@ Also, we recommend you to take a look for this useful plugins - [WordPress booki
84
85
### The Best Offer From WpDevArt
86
87
- **You can check the best offer page here - [Best Price](http://wpdevart.com/the-best-offer-from-wpdevart)**
88
89
== Frequently Asked Questions ==
90
@@ -119,7 +119,7 @@ Dear users, we also recommend you to take a look for this useful plugins - [Word
119
120
### The Best Offer From WpDevArt
121
122
- **You can check the best offer page here - [Best Price](http://wpdevart.com/the-best-offer-from-wpdevart)**
123
124
== Screenshots ==
125
@@ -331,6 +331,10 @@ Dear users, we also recommend you to take a look for this useful plugins - [Word
331
332
* Fixed notices.
333
334
== Wordpress Countdown step by step guide ==
335
336
### WordPress Countdown plugin options
@@ -366,6 +370,6 @@ After that set your Countdown timer options. That's all.
366
367
### The Best Offer From WpDevArt
368
369
- **You can check the best offer page here - [Best Price](http://wpdevart.com/the-best-offer-from-wpdevart)**
370
371
We recommend you to take a look for this useful plugins - [WordPress booking calendar](https://wordpress.org/plugins/booking-calendar), [WordPress Poll plugin](https://wordpress.org/plugins/polls-widget/), [WordPress Facebook like box](https://wordpress.org/plugins/like-box), [WordPress YouTube](https://wordpress.org/plugins/youtube-video-player), [WordPress Coming soon plugin](https://wordpress.org/plugins/coming-soon-page), [Facebook comments WordPress](https://wordpress.org/plugins/comments-from-facebook), [WordPress lightbox plugin](https://wordpress.org/plugins/lightbox-popup) .
4
Tags: countdown, count down, countdown timer, jQuery countdown, countdown generator, animated countdown, countdown widget, timer, countdown clock, wp countdown timer, event countdown, widget countdown, clock, countdown to time, countdown timer plugin, wordpress countdown, birthday countdown, html5 countdown, wp countdown, countdown timer widget, website countdown, date countdown, flash countdown, time counter, countdown system
5
Requires at least: 3.3.0
6
Tested up to: 4.6
7
+ Stable tag: 1.5.2
8
License: GPLv3
9
License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
84
85
### The Best Offer From WpDevArt
86
87
+ **You can check our best offer page here - [Best Price](http://wpdevart.com/the-best-offer-from-wpdevart)**
88
89
== Frequently Asked Questions ==
90
119
120
### The Best Offer From WpDevArt
121
122
+ **You can check our best offer page here - [Best Price](http://wpdevart.com/the-best-offer-from-wpdevart)**
123
124
== Screenshots ==
125
331
332
* Fixed notices.
333
334
+ = 1.5.2 =
335
+
336
+ * Edited code comments.
337
+
338
== Wordpress Countdown step by step guide ==
339
340
### WordPress Countdown plugin options
370
371
### The Best Offer From WpDevArt
372
373
+ **You can check our best offer page here - [Best Price](http://wpdevart.com/the-best-offer-from-wpdevart)**
374
375
We recommend you to take a look for this useful plugins - [WordPress booking calendar](https://wordpress.org/plugins/booking-calendar), [WordPress Poll plugin](https://wordpress.org/plugins/polls-widget/), [WordPress Facebook like box](https://wordpress.org/plugins/like-box), [WordPress YouTube](https://wordpress.org/plugins/youtube-video-player), [WordPress Coming soon plugin](https://wordpress.org/plugins/coming-soon-page), [Facebook comments WordPress](https://wordpress.org/plugins/comments-from-facebook), [WordPress lightbox plugin](https://wordpress.org/plugins/lightbox-popup) .
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: 1.5.1
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: 1.5.2
7
Author: wpdevart
8
Author URI: http://wpdevart.com
9
License: GPL3 http://www.gnu.org/licenses/gpl-3.0.html