Version Description
Download this release
Release Info
Developer | wpdevart |
Plugin | Countdown Timer – Widget Countdown |
Version | 2.0.4 |
Comparing to | |
See all releases |
Code changes from version 2.0.3 to 2.0.4
- includes/front_end.php +3 -3
- includes/gutenberg/gutenberg.php +3 -0
- includes/widget.php +3 -3
- readme.txt +2 -2
- wpdevart-countdown.php +1 -1
includes/front_end.php
CHANGED
@@ -56,11 +56,11 @@ class wpdevart_countdown_front_end{
|
|
56 |
"start_time" => mktime (date("H"), date("i"), date("s"),date("n"), date("j"),date("Y")),
|
57 |
"countdown_end_type" => "time",
|
58 |
"end_date" => date('d-m-Y 23:59'),
|
59 |
-
"end_time" => "0,
|
60 |
"action_end_time" => "hide",
|
61 |
"content_position" => "center",
|
62 |
-
"top_ditance" => "
|
63 |
-
"bottom_distance" => "
|
64 |
"content" =>$content
|
65 |
), $atts);
|
66 |
|
56 |
"start_time" => mktime (date("H"), date("i"), date("s"),date("n"), date("j"),date("Y")),
|
57 |
"countdown_end_type" => "time",
|
58 |
"end_date" => date('d-m-Y 23:59'),
|
59 |
+
"end_time" => "0,9,9",
|
60 |
"action_end_time" => "hide",
|
61 |
"content_position" => "center",
|
62 |
+
"top_ditance" => "10",
|
63 |
+
"bottom_distance" => "10",
|
64 |
"content" =>$content
|
65 |
), $atts);
|
66 |
|
includes/gutenberg/gutenberg.php
CHANGED
@@ -8,6 +8,9 @@ class wpda_countdown_gutenberg{
|
|
8 |
private function hooks_for_gutenberg(){
|
9 |
add_action( 'init', array($this,'guthenberg_init') );
|
10 |
}
|
|
|
|
|
|
|
11 |
public function guthenberg_init(){
|
12 |
if ( ! function_exists( 'register_block_type' ) ) {
|
13 |
// Gutenberg is not active.
|
8 |
private function hooks_for_gutenberg(){
|
9 |
add_action( 'init', array($this,'guthenberg_init') );
|
10 |
}
|
11 |
+
|
12 |
+
/*###################### Guthenberg init function ##################*/
|
13 |
+
|
14 |
public function guthenberg_init(){
|
15 |
if ( ! function_exists( 'register_block_type' ) ) {
|
16 |
// Gutenberg is not active.
|
includes/widget.php
CHANGED
@@ -63,13 +63,13 @@ class wpdevart_countdown extends WP_Widget {
|
|
63 |
'text_for_second' => 'Seconds',
|
64 |
'start_time' => mktime (date("H"), date("i"), date("s"),date("n"), date("j"),date("Y")),
|
65 |
'end_time_type' => 'time',
|
66 |
-
'end_time' => '0,
|
67 |
'end_time_date' => date('d-m-Y 23:59'),
|
68 |
'action_end_time' => 'hide',
|
69 |
'content' => '',
|
70 |
'content_position' => 'center',
|
71 |
-
'top_ditance' => '
|
72 |
-
'bottom_distance' => '
|
73 |
);
|
74 |
$instance = wp_parse_args( (array) $instance, $defaults );
|
75 |
?>
|
63 |
'text_for_second' => 'Seconds',
|
64 |
'start_time' => mktime (date("H"), date("i"), date("s"),date("n"), date("j"),date("Y")),
|
65 |
'end_time_type' => 'time',
|
66 |
+
'end_time' => '0,9,9',
|
67 |
'end_time_date' => date('d-m-Y 23:59'),
|
68 |
'action_end_time' => 'hide',
|
69 |
'content' => '',
|
70 |
'content_position' => 'center',
|
71 |
+
'top_ditance' => '10',
|
72 |
+
'bottom_distance' => '10',
|
73 |
);
|
74 |
$instance = wp_parse_args( (array) $instance, $defaults );
|
75 |
?>
|
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.
|
7 |
-
Stable tag: 2.0.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
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.1.1
|
7 |
+
Stable tag: 2.0.4
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
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 |
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.4
|
7 |
Author: wpdevart
|
8 |
Author URI: http://wpdevart.com
|
9 |
License: GPL3 http://www.gnu.org/licenses/gpl-3.0.html
|