Countdown Timer – Widget Countdown - Version 1.5.9

Version Description

  • Made changes in code.

=

Download this release

Release Info

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

Code changes from version 1.5.8 to 1.5.9

includes/admin_menu.php CHANGED
@@ -482,7 +482,7 @@ die;
482
  'image_url' => $this->plugin_url.'images/featured_plugins/lightbox.png',
483
  'site_url' => 'http://wpdevart.com/wordpress-lightbox-plugin',
484
  'title' => 'WordPress Lightbox plugin',
485
- 'description' => 'WordPress lightbox is an high customizable and responsive plugin for displaying images and videos in popup.'
486
  ),
487
  'facebook'=>array(
488
  'image_url' => $this->plugin_url.'images/featured_plugins/facebook.jpg',
@@ -494,7 +494,7 @@ die;
494
  'image_url' => $this->plugin_url.'images/featured_plugins/poll.png',
495
  'site_url' => 'http://wpdevart.com/wordpress-polls-plugin',
496
  'title' => 'WordPress Polls plugin',
497
- 'description' => 'WordPress Polls plugin is an wonderful tool for creating polls and survey forms for your visitors. You can use our polls on widgets, posts and pages.'
498
  ),
499
 
500
  );
482
  'image_url' => $this->plugin_url.'images/featured_plugins/lightbox.png',
483
  'site_url' => 'http://wpdevart.com/wordpress-lightbox-plugin',
484
  'title' => 'WordPress Lightbox plugin',
485
+ 'description' => 'WordPress Lightbox Popup is an high customizable and responsive plugin for displaying images and videos in popup.'
486
  ),
487
  'facebook'=>array(
488
  'image_url' => $this->plugin_url.'images/featured_plugins/facebook.jpg',
494
  'image_url' => $this->plugin_url.'images/featured_plugins/poll.png',
495
  'site_url' => 'http://wpdevart.com/wordpress-polls-plugin',
496
  'title' => 'WordPress Polls plugin',
497
+ 'description' => 'WordPress Polls plugin is an handy tool for creating polls and survey forms for your visitors. You can use our polls on widgets, posts and pages.'
498
  ),
499
 
500
  );
includes/front_end.php CHANGED
@@ -50,8 +50,8 @@ class wpdevart_countdown_front_end{
50
  "end_time" => "0,2,0",
51
  "action_end_time" => "hide",
52
  "content_position" => "center",
53
- "top_ditance" => "10",
54
- "bottom_distance" => "10",
55
  "content" =>$content
56
  ), $atts);
57
 
50
  "end_time" => "0,2,0",
51
  "action_end_time" => "hide",
52
  "content_position" => "center",
53
+ "top_ditance" => "11",
54
+ "bottom_distance" => "11",
55
  "content" =>$content
56
  ), $atts);
57
 
includes/library.php CHANGED
@@ -120,7 +120,7 @@ class wpdevart_countdown_setting{
120
 
121
  }
122
 
123
- /*############################### STATIC FUNCTION ###############################################*/
124
  public static function darkest_brigths($color,$pracent){
125
  $new_color=$color;
126
  if(!(strlen($new_color==6) || strlen($new_color)==7))
120
 
121
  }
122
 
123
+ /*############################### STATIC FUNCTION #######################################*/
124
  public static function darkest_brigths($color,$pracent){
125
  $new_color=$color;
126
  if(!(strlen($new_color==6) || strlen($new_color)==7))
includes/widget.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- /*############################### WIDGET CODE ###############################################*/
3
  class wpdevart_countdown extends WP_Widget {
4
  private static $id_for_content=0;
5
  // Constructor //
@@ -64,8 +64,8 @@ class wpdevart_countdown extends WP_Widget {
64
  'action_end_time' => 'hide',
65
  'content' => '',
66
  'content_position' => 'center',
67
- 'top_ditance' => '10',
68
- 'bottom_distance' => '10',
69
  );
70
  $instance = wp_parse_args( (array) $instance, $defaults );
71
  ?>
@@ -155,7 +155,7 @@ class wpdevart_countdown extends WP_Widget {
155
  </span>
156
 
157
  <span style="display:inline-block; width:55px;">
158
- <input onChange="insert_in_input();" type="text" placeholder="Minut" class="countdownminute" size="3" value="<?php echo $minute_of_end ?>"/><small>Minute</small>
159
  </span>
160
  <script>function insert_in_input(){
161
  document.getElementById('<?php echo $this->get_field_id('end_time'); ?>').value=document.getElementById('<?php echo $this->get_field_id('end_time'); ?>').parentNode.getElementsByClassName('countdownday')[0].value+','+document.getElementById('<?php echo $this->get_field_id('end_time'); ?>').parentNode.getElementsByClassName('countdownhour')[0].value+','+document.getElementById('<?php echo $this->get_field_id('end_time'); ?>').parentNode.getElementsByClassName('countdownminute')[0].value
1
  <?php
2
+ /*############################### WIDGET CODE ######################################*/
3
  class wpdevart_countdown extends WP_Widget {
4
  private static $id_for_content=0;
5
  // Constructor //
64
  'action_end_time' => 'hide',
65
  'content' => '',
66
  'content_position' => 'center',
67
+ 'top_ditance' => '11',
68
+ 'bottom_distance' => '11',
69
  );
70
  $instance = wp_parse_args( (array) $instance, $defaults );
71
  ?>
155
  </span>
156
 
157
  <span style="display:inline-block; width:55px;">
158
+ <input onChange="insert_in_input();" type="text" placeholder="Minute" class="countdownminute" size="3" value="<?php echo $minute_of_end ?>"/><small>Minute</small>
159
  </span>
160
  <script>function insert_in_input(){
161
  document.getElementById('<?php echo $this->get_field_id('end_time'); ?>').value=document.getElementById('<?php echo $this->get_field_id('end_time'); ?>').parentNode.getElementsByClassName('countdownday')[0].value+','+document.getElementById('<?php echo $this->get_field_id('end_time'); ?>').parentNode.getElementsByClassName('countdownhour')[0].value+','+document.getElementById('<?php echo $this->get_field_id('end_time'); ?>').parentNode.getElementsByClassName('countdownminute')[0].value
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, countdown form, time counter
5
  Requires at least: 3.3.0
6
  Tested up to: 4.6.1
7
- Stable tag: 1.5.8
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -125,7 +125,7 @@ Contact us at support@wpdevart.com and we will send you the pro version.
125
 
126
  = The pro version is one time pay or not =
127
 
128
- Yes dear users, you need to pay only one time for our pro version.
129
 
130
  Dear users, we also 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) .
131
 
@@ -371,6 +371,10 @@ Dear users, we also recommend you to take a look for this useful plugins - [Word
371
 
372
  * Edited comments in code.
373
 
 
 
 
 
374
  == Wordpress Countdown step by step guide ==
375
 
376
  ### WordPress Countdown plugin options
@@ -379,7 +383,7 @@ Dear users, we also recommend you to take a look for this useful plugins - [Word
379
  * Hour field text - Type here text for Hour field.
380
  * Minute field text - Type here text for Minute field.
381
  * Second field text - Type here text for Second field.
382
- * Countdown expire time - Type the Countdown expire time.
383
  * After Countdown expired - Select the action after Countdown time expired.
384
  * Message after countdown expired - Type the message after countdown expired.
385
  * Countdown timer position - Select the Countdown position.
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, countdown form, time counter
5
  Requires at least: 3.3.0
6
  Tested up to: 4.6.1
7
+ Stable tag: 1.5.9
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
125
 
126
  = The pro version is one time pay or not =
127
 
128
+ Yes dear users, you need to pay only one time for our pro version, it's lifetime plan.
129
 
130
  Dear users, we also 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) .
131
 
371
 
372
  * Edited comments in code.
373
 
374
+ = 1.5.9 =
375
+
376
+ * Made changes in code.
377
+
378
  == Wordpress Countdown step by step guide ==
379
 
380
  ### WordPress Countdown plugin options
383
  * Hour field text - Type here text for Hour field.
384
  * Minute field text - Type here text for Minute field.
385
  * Second field text - Type here text for Second field.
386
+ * Countdown expire time/date - Type the Countdown expire time or select it from calendar.
387
  * After Countdown expired - Select the action after Countdown time expired.
388
  * Message after countdown expired - Type the message after countdown expired.
389
  * Countdown timer position - Select the Countdown position.
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.8
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.9
7
  Author: wpdevart
8
  Author URI: http://wpdevart.com
9
  License: GPL3 http://www.gnu.org/licenses/gpl-3.0.html