Version Description
- Made changes in code.
=
Download this release
Release Info
Developer | wpdevart |
Plugin | Countdown Timer – Widget Countdown |
Version | 1.6.7 |
Comparing to | |
See all releases |
Code changes from version 1.6.6 to 1.6.7
- includes/admin_menu.php +4 -1
- includes/front_end.php +5 -3
- includes/library.php +1 -1
- includes/widget.php +3 -3
- readme.txt +7 -3
- wpdevart-countdown.php +1 -1
includes/admin_menu.php
CHANGED
@@ -1,4 +1,7 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
2 |
class wpdevart_countdown_admin_menu{
|
3 |
|
4 |
private $menu_name;
|
@@ -23,7 +26,7 @@ class wpdevart_countdown_admin_menu{
|
|
23 |
add_action( 'wp_ajax_wpdevart_countdown_page_save', array($this,'save_in_databese') );
|
24 |
add_action( 'wp_ajax_wpdevart_countdown_send_mail', array($this,'sending_mail') );
|
25 |
}
|
26 |
-
/*############################### Countdown Insert button code
|
27 |
public function wpdevart_countdown_button($context) {
|
28 |
|
29 |
$img = $this->plugin_url. 'images/post_button.jpg';
|
1 |
<?php
|
2 |
+
|
3 |
+
/*############################### Admin Menu code ########################################*/
|
4 |
+
|
5 |
class wpdevart_countdown_admin_menu{
|
6 |
|
7 |
private $menu_name;
|
26 |
add_action( 'wp_ajax_wpdevart_countdown_page_save', array($this,'save_in_databese') );
|
27 |
add_action( 'wp_ajax_wpdevart_countdown_send_mail', array($this,'sending_mail') );
|
28 |
}
|
29 |
+
/*############################### Countdown Insert button code ########################################*/
|
30 |
public function wpdevart_countdown_button($context) {
|
31 |
|
32 |
$img = $this->plugin_url. 'images/post_button.jpg';
|
includes/front_end.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
|
|
|
|
|
3 |
class wpdevart_countdown_front_end{
|
4 |
private $menu_name;
|
5 |
|
@@ -47,11 +49,11 @@ class wpdevart_countdown_front_end{
|
|
47 |
"start_time" => mktime (date("H"), date("i"), date("s"),date("n"), date("j"),date("Y")),
|
48 |
"countdown_end_type" => "time",
|
49 |
"end_date" => date('d-m-Y 23:59'),
|
50 |
-
"end_time" => "0,
|
51 |
"action_end_time" => "hide",
|
52 |
"content_position" => "center",
|
53 |
-
"top_ditance" => "
|
54 |
-
"bottom_distance" => "
|
55 |
"content" =>$content
|
56 |
), $atts);
|
57 |
|
1 |
<?php
|
2 |
|
3 |
+
/*############################### Frontend Code #######################################*/
|
4 |
+
|
5 |
class wpdevart_countdown_front_end{
|
6 |
private $menu_name;
|
7 |
|
49 |
"start_time" => mktime (date("H"), date("i"), date("s"),date("n"), date("j"),date("Y")),
|
50 |
"countdown_end_type" => "time",
|
51 |
"end_date" => date('d-m-Y 23:59'),
|
52 |
+
"end_time" => "0,8,8",
|
53 |
"action_end_time" => "hide",
|
54 |
"content_position" => "center",
|
55 |
+
"top_ditance" => "10",
|
56 |
+
"bottom_distance" => "10",
|
57 |
"content" =>$content
|
58 |
), $atts);
|
59 |
|
includes/library.php
CHANGED
@@ -11,7 +11,7 @@ class wpdevart_countdown_setting{
|
|
11 |
}
|
12 |
return $animation;
|
13 |
}
|
14 |
-
/*############################### ANIMATION
|
15 |
public static function generete_animation_select($select_id='',$curent_effect='none'){
|
16 |
?>
|
17 |
<select onClick="alert(countdown_pro_text)" id="<?php echo $select_id; ?>" name="<?php echo $select_id; ?>">
|
11 |
}
|
12 |
return $animation;
|
13 |
}
|
14 |
+
/*############################### ANIMATION FUNCTIONS #######################################*/
|
15 |
public static function generete_animation_select($select_id='',$curent_effect='none'){
|
16 |
?>
|
17 |
<select onClick="alert(countdown_pro_text)" id="<?php echo $select_id; ?>" name="<?php echo $select_id; ?>">
|
includes/widget.php
CHANGED
@@ -10,7 +10,7 @@ class wpdevart_countdown extends WP_Widget {
|
|
10 |
|
11 |
}
|
12 |
|
13 |
-
/* Displaying countdown in
|
14 |
function widget($args, $instance) {
|
15 |
self::$id_for_content++;
|
16 |
extract( $args );
|
@@ -64,8 +64,8 @@ class wpdevart_countdown extends WP_Widget {
|
|
64 |
'action_end_time' => 'hide',
|
65 |
'content' => '',
|
66 |
'content_position' => 'center',
|
67 |
-
'top_ditance' => '
|
68 |
-
'bottom_distance' => '
|
69 |
);
|
70 |
$instance = wp_parse_args( (array) $instance, $defaults );
|
71 |
?>
|
10 |
|
11 |
}
|
12 |
|
13 |
+
/* Displaying countdown in frontend*/
|
14 |
function widget($args, $instance) {
|
15 |
self::$id_for_content++;
|
16 |
extract( $args );
|
64 |
'action_end_time' => 'hide',
|
65 |
'content' => '',
|
66 |
'content_position' => 'center',
|
67 |
+
'top_ditance' => '12',
|
68 |
+
'bottom_distance' => '12',
|
69 |
);
|
70 |
$instance = wp_parse_args( (array) $instance, $defaults );
|
71 |
?>
|
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, time counter
|
5 |
Requires at least: 3.3.0
|
6 |
Tested up to: 4.7.0
|
7 |
-
Stable tag: 1.6.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -123,11 +123,11 @@ Dear user, contact us at support@wpdevart.com and we will fix it, usually the pr
|
|
123 |
|
124 |
You need to select the .zip file only, there is no need to extract the zip file, just upload it
|
125 |
|
126 |
-
= I purchased the pro version, but didn't download the pro file =
|
127 |
|
128 |
Contact us at support@wpdevart.com and we will send you the pro version.
|
129 |
|
130 |
-
= The pro version is one time pay or not =
|
131 |
|
132 |
Yes dear users, you need to pay only one time for our pro version, it's lifetime plan.
|
133 |
|
@@ -407,6 +407,10 @@ Dear users, we also recommend you to take a look for this useful plugins - [Word
|
|
407 |
|
408 |
* Bug fixed.
|
409 |
|
|
|
|
|
|
|
|
|
410 |
== Wordpress Countdown step by step guide ==
|
411 |
|
412 |
### WordPress Countdown plugin options
|
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, time counter
|
5 |
Requires at least: 3.3.0
|
6 |
Tested up to: 4.7.0
|
7 |
+
Stable tag: 1.6.7
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
123 |
|
124 |
You need to select the .zip file only, there is no need to extract the zip file, just upload it
|
125 |
|
126 |
+
= I purchased the pro version, but didn't download the Countdown pro file =
|
127 |
|
128 |
Contact us at support@wpdevart.com and we will send you the pro version.
|
129 |
|
130 |
+
= The Countdown pro version is one time pay or not =
|
131 |
|
132 |
Yes dear users, you need to pay only one time for our pro version, it's lifetime plan.
|
133 |
|
407 |
|
408 |
* Bug fixed.
|
409 |
|
410 |
+
= 1.6.7 =
|
411 |
+
|
412 |
+
* Made changes in code.
|
413 |
+
|
414 |
== Wordpress Countdown step by step guide ==
|
415 |
|
416 |
### WordPress Countdown plugin 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: 1.6.
|
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.6.7
|
7 |
Author: wpdevart
|
8 |
Author URI: http://wpdevart.com
|
9 |
License: GPL3 http://www.gnu.org/licenses/gpl-3.0.html
|