Version Description
Download this release
Release Info
Developer | wpdevart |
Plugin | Countdown Timer – Widget Countdown |
Version | 1.8.5 |
Comparing to | |
See all releases |
Code changes from version 1.8.4 to 1.8.5
- includes/admin_menu.php +2 -0
- includes/front_end.php +3 -3
- includes/style/jquery-ui-style.css +1 -0
- includes/widget.php +3 -3
- readme.txt +4 -4
- wpdevart-countdown.php +3 -1
includes/admin_menu.php
CHANGED
@@ -28,7 +28,9 @@ class wpdevart_countdown_admin_menu{
|
|
28 |
add_action( 'wp_ajax_wpdevart_countdown_page_save', array($this,'save_in_databese') );
|
29 |
add_action( 'wp_ajax_wpdevart_countdown_send_mail', array($this,'sending_mail') );
|
30 |
}
|
|
|
31 |
/*############################### Countdown Insert button code ########################################*/
|
|
|
32 |
public function wpdevart_countdown_button($context) {
|
33 |
|
34 |
$img = $this->plugin_url. 'images/post_button.jpg';
|
28 |
add_action( 'wp_ajax_wpdevart_countdown_page_save', array($this,'save_in_databese') );
|
29 |
add_action( 'wp_ajax_wpdevart_countdown_send_mail', array($this,'sending_mail') );
|
30 |
}
|
31 |
+
|
32 |
/*############################### Countdown Insert button code ########################################*/
|
33 |
+
|
34 |
public function wpdevart_countdown_button($context) {
|
35 |
|
36 |
$img = $this->plugin_url. 'images/post_button.jpg';
|
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" => "11",
|
63 |
+
"bottom_distance" => "11",
|
64 |
"content" =>$content
|
65 |
), $atts);
|
66 |
|
includes/style/jquery-ui-style.css
CHANGED
@@ -105,6 +105,7 @@
|
|
105 |
border-top: 0;
|
106 |
overflow: auto;
|
107 |
}
|
|
|
108 |
.ui-autocomplete {
|
109 |
position: absolute;
|
110 |
top: 0;
|
105 |
border-top: 0;
|
106 |
overflow: auto;
|
107 |
}
|
108 |
+
/*Autocomplete style*/
|
109 |
.ui-autocomplete {
|
110 |
position: absolute;
|
111 |
top: 0;
|
includes/widget.php
CHANGED
@@ -62,13 +62,13 @@ class wpdevart_countdown extends WP_Widget {
|
|
62 |
'text_for_second' => 'Seconds',
|
63 |
'start_time' => mktime (date("H"), date("i"), date("s"),date("n"), date("j"),date("Y")),
|
64 |
'end_time_type' => 'time',
|
65 |
-
'end_time' => '0,
|
66 |
'end_time_date' => date('d-m-Y 23:59'),
|
67 |
'action_end_time' => 'hide',
|
68 |
'content' => '',
|
69 |
'content_position' => 'center',
|
70 |
-
'top_ditance' => '
|
71 |
-
'bottom_distance' => '
|
72 |
);
|
73 |
$instance = wp_parse_args( (array) $instance, $defaults );
|
74 |
?>
|
62 |
'text_for_second' => 'Seconds',
|
63 |
'start_time' => mktime (date("H"), date("i"), date("s"),date("n"), date("j"),date("Y")),
|
64 |
'end_time_type' => 'time',
|
65 |
+
'end_time' => '0,9,9',
|
66 |
'end_time_date' => date('d-m-Y 23:59'),
|
67 |
'action_end_time' => 'hide',
|
68 |
'content' => '',
|
69 |
'content_position' => 'center',
|
70 |
+
'top_ditance' => '9',
|
71 |
+
'bottom_distance' => '9',
|
72 |
);
|
73 |
$instance = wp_parse_args( (array) $instance, $defaults );
|
74 |
?>
|
readme.txt
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
=== Countdown WordPress plugin ===
|
2 |
Contributors: wpdevart
|
3 |
Donate link: http://wpdevart.com/wordpress-countdown-plugin
|
4 |
-
Tags: countdown,
|
5 |
Requires at least: 3.3.0
|
6 |
-
Tested up to: 4.7.
|
7 |
-
Stable tag: 1.8.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
11 |
-
Countdown
|
12 |
|
13 |
== Description ==
|
14 |
|
1 |
=== Countdown WordPress plugin ===
|
2 |
Contributors: wpdevart
|
3 |
Donate link: http://wpdevart.com/wordpress-countdown-plugin
|
4 |
+
Tags: countdown, countdown widget, countdown timer, countdown system, countdown generator, count down, jQuery countdown, animated countdown, timer, countdown clock, wp countdown timer, event countdown, widget countdown, clock, countdown timer plugin, wordpress countdown, html5 countdown, wp countdown, countdown timer widget, website countdown, date countdown, flash countdown, time counter,
|
5 |
Requires at least: 3.3.0
|
6 |
+
Tested up to: 4.7.4
|
7 |
+
Stable tag: 1.8.5
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
11 |
+
Countdown timer plugin is an nice tool to create and insert countdown timers into your posts/pages and widgets.
|
12 |
|
13 |
== Description ==
|
14 |
|
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.8.
|
7 |
Author: wpdevart
|
8 |
Author URI: http://wpdevart.com
|
9 |
License: GPL3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -71,6 +71,8 @@ class wpdevart_countdown_main{
|
|
71 |
wp_register_script('foundation-datepicker',$this->wpdevart_countdown_plugin_url.'includes/javascript/foundation-datepicker.min.js');
|
72 |
wp_register_style('foundation-datepicker',$this->wpdevart_countdown_plugin_url.'includes/style/foundation-datepicker.min.css');
|
73 |
}
|
|
|
|
|
74 |
|
75 |
public function call_base_filters(){
|
76 |
add_action( 'init', array($this,'registr_requeried_scripts') );
|
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.8.5
|
7 |
Author: wpdevart
|
8 |
Author URI: http://wpdevart.com
|
9 |
License: GPL3 http://www.gnu.org/licenses/gpl-3.0.html
|
71 |
wp_register_script('foundation-datepicker',$this->wpdevart_countdown_plugin_url.'includes/javascript/foundation-datepicker.min.js');
|
72 |
wp_register_style('foundation-datepicker',$this->wpdevart_countdown_plugin_url.'includes/style/foundation-datepicker.min.css');
|
73 |
}
|
74 |
+
|
75 |
+
/*###################### Call base filters function ##################*/
|
76 |
|
77 |
public function call_base_filters(){
|
78 |
add_action( 'init', array($this,'registr_requeried_scripts') );
|