Countdown Timer – Widget Countdown - Version 2.2.0

Version Description

  • Edit parameters.

=

Download this release

Release Info

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

Code changes from version 2.1.9 to 2.2.0

includes/front_end.php CHANGED
@@ -58,12 +58,12 @@ class wpdevart_countdown_front_end{
58
  "countdown_end_type" => "time",
59
  "hide_on_mobile" => "show",
60
  "end_date" => date('d-m-Y 23:59'),
61
- "end_time" => "0,7,7",
62
  "font_color" => "#000000",
63
  "action_end_time" => "hide",
64
  "content_position" => "center",
65
- "top_ditance" => "12",
66
- "bottom_distance" => "12",
67
  "content" =>$content
68
  ), $atts);
69
  if($curent_value["hide_on_mobile"]=="hidee" && wp_is_mobile()){
58
  "countdown_end_type" => "time",
59
  "hide_on_mobile" => "show",
60
  "end_date" => date('d-m-Y 23:59'),
61
+ "end_time" => "0,9,9",
62
  "font_color" => "#000000",
63
  "action_end_time" => "hide",
64
  "content_position" => "center",
65
+ "top_ditance" => "10",
66
+ "bottom_distance" => "10",
67
  "content" =>$content
68
  ), $atts);
69
  if($curent_value["hide_on_mobile"]=="hidee" && wp_is_mobile()){
includes/gutenberg/gutenberg.php CHANGED
@@ -29,6 +29,8 @@ class wpda_countdown_gutenberg{
29
  'before'
30
  );
31
  }
 
 
32
 
33
  private function other_dates(){
34
  $array=array('icon_src'=>$this->plugin_url."images/icon.svg","content_icon"=>$this->plugin_url."images/icon.png");
29
  'before'
30
  );
31
  }
32
+
33
+ /*###################### Other dates function ##################*/
34
 
35
  private function other_dates(){
36
  $array=array('icon_src'=>$this->plugin_url."images/icon.svg","content_icon"=>$this->plugin_url."images/icon.png");
includes/widget.php CHANGED
@@ -70,15 +70,15 @@ class wpdevart_countdown extends WP_Widget {
70
  'start_time' => mktime (date("H"), date("i"), date("s"),date("n"), date("j"),date("Y")),
71
  'hide_on_mobile' => 'show',
72
  'end_time_type' => 'time',
73
- 'end_time' => '0,7,7',
74
  'end_time_date' => date('d-m-Y 23:59'),
75
  'font_color' => '#000000',
76
  'action_end_time' => 'hide',
77
  'redirect_url' => get_home_url(),
78
  'content' => '',
79
  'content_position' => 'center',
80
- 'top_ditance' => '12',
81
- 'bottom_distance' => '12',
82
  );
83
  $instance = wp_parse_args( (array) $instance, $defaults );
84
  ?>
70
  'start_time' => mktime (date("H"), date("i"), date("s"),date("n"), date("j"),date("Y")),
71
  'hide_on_mobile' => 'show',
72
  'end_time_type' => 'time',
73
+ 'end_time' => '0,9,9',
74
  'end_time_date' => date('d-m-Y 23:59'),
75
  'font_color' => '#000000',
76
  'action_end_time' => 'hide',
77
  'redirect_url' => get_home_url(),
78
  'content' => '',
79
  'content_position' => 'center',
80
+ 'top_ditance' => '10',
81
+ 'bottom_distance' => '10',
82
  );
83
  $instance = wp_parse_args( (array) $instance, $defaults );
84
  ?>
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: wpdevart
3
  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.6
7
- Stable tag: 2.1.9
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -518,6 +518,10 @@ Yes dear users, you need to pay only one time for pro version, it's lifetime pla
518
 
519
  * Changed some default parameters.
520
 
 
 
 
 
521
  == Step by step guide ==
522
 
523
  ### Options
3
  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.6.1
7
+ Stable tag: 2.2.0
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
518
 
519
  * Changed some default parameters.
520
 
521
+ = 2.2.0 =
522
+
523
+ * Edit parameters.
524
+
525
  == Step by step guide ==
526
 
527
  ### 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.1.9
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.2.0
7
  Author: wpdevart
8
  Author URI: http://wpdevart.com
9
  License: GPL3 http://www.gnu.org/licenses/gpl-3.0.html