Version Description
- Live preview draggable and toggle improvement
- Clock 1 new improvements
- Clock 2 new improvements
- Clock 3 new improvements
- Clock 4 new improvements
- Clock 5 new improvements
- Clock 6 new improvements
- Clock 7 new improvements
- Minor bug fixed
Download this release
Release Info
Developer | adamskaat |
Plugin | Countdown, Coming Soon – Countdown & Clock |
Version | 1.4.0 |
Comparing to | |
See all releases |
Code changes from version 1.3.9 to 1.4.0
- assets/js/Admin.js +19 -1
- assets/views/main/clock2View.php +63 -1
- assets/views/main/clock3View.php +31 -1
- classes/Actions.php +2 -2
- classes/countdown/Clock1Countdown.php +0 -1
- classes/countdown/Clock2Countdown.php +21 -5
- classes/countdown/Clock3Countdown.php +22 -5
- config/proOptionsConfig.php +46 -0
- countdown-builder.php +1 -1
- readme.txt +18 -7
assets/js/Admin.js
CHANGED
@@ -20,6 +20,20 @@ YcdAdmin.prototype.init = function() {
|
|
20 |
|
21 |
/*clock*/
|
22 |
this.clockLivePreview();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
};
|
24 |
|
25 |
YcdAdmin.prototype.promotionalVideo = function() {
|
@@ -209,7 +223,11 @@ YcdAdmin.prototype.livePreview = function() {
|
|
209 |
return false;
|
210 |
}
|
211 |
|
212 |
-
preview.draggable(
|
|
|
|
|
|
|
|
|
213 |
};
|
214 |
|
215 |
function validateEmail(email) {
|
20 |
|
21 |
/*clock*/
|
22 |
this.clockLivePreview();
|
23 |
+
this.proOptions();
|
24 |
+
};
|
25 |
+
|
26 |
+
YcdAdmin.prototype.proOptions = function() {
|
27 |
+
var proOptions = jQuery('label .ycd-pro-span');
|
28 |
+
|
29 |
+
if(!proOptions.length) {
|
30 |
+
return false;
|
31 |
+
}
|
32 |
+
|
33 |
+
proOptions.parent().bind('click', function(e) {
|
34 |
+
e.preventDefault();
|
35 |
+
window.open(ycd_admin_localized.proUrl);
|
36 |
+
});
|
37 |
};
|
38 |
|
39 |
YcdAdmin.prototype.promotionalVideo = function() {
|
223 |
return false;
|
224 |
}
|
225 |
|
226 |
+
preview.draggable({
|
227 |
+
stop: function(e, ui) {
|
228 |
+
jQuery('.ycd-live-preview').css({'height': 'auto'});
|
229 |
+
}
|
230 |
+
});
|
231 |
};
|
232 |
|
233 |
function validateEmail(email) {
|
assets/views/main/clock2View.php
CHANGED
@@ -2,6 +2,13 @@
|
|
2 |
use ycd\AdminHelper;
|
3 |
$defaultData = AdminHelper::defaultData();
|
4 |
$type = $this->getCurrentTypeFromOptions();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
?>
|
6 |
<div class="ycd-bootstrap-wrapper">
|
7 |
<div class="row form-group">
|
@@ -23,7 +30,7 @@ $type = $this->getCurrentTypeFromOptions();
|
|
23 |
<?php _e('px', YCD_TEXT_DOMAIN); ?>
|
24 |
</div>
|
25 |
</div>
|
26 |
-
<div class="row">
|
27 |
<div class="col-md-6">
|
28 |
<label class="ycd-label-of-input"><?php _e('Alignment', YCD_TEXT_DOMAIN); ?></label>
|
29 |
</div>
|
@@ -31,6 +38,61 @@ $type = $this->getCurrentTypeFromOptions();
|
|
31 |
<?php echo AdminHelper::selectBox($defaultData['horizontal-alignment'], esc_attr($this->getOptionValue('ycd-clock2-alignment')), array('name' => 'ycd-clock2-alignment', 'class' => 'js-ycd-select ycd-clock2-alignment ycd-clock-alignment')); ?>
|
32 |
</div>
|
33 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
</div>
|
35 |
<?php
|
36 |
require_once YCD_VIEWS_PATH.'preview.php';
|
2 |
use ycd\AdminHelper;
|
3 |
$defaultData = AdminHelper::defaultData();
|
4 |
$type = $this->getCurrentTypeFromOptions();
|
5 |
+
|
6 |
+
$isPro = '';
|
7 |
+
$proSpan = '';
|
8 |
+
if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
|
9 |
+
$isPro = '-pro';
|
10 |
+
$proSpan = '<span class="ycd-pro-span">'.__('pro', YCD_TEXT_DOMAIN).'</span>';
|
11 |
+
}
|
12 |
?>
|
13 |
<div class="ycd-bootstrap-wrapper">
|
14 |
<div class="row form-group">
|
30 |
<?php _e('px', YCD_TEXT_DOMAIN); ?>
|
31 |
</div>
|
32 |
</div>
|
33 |
+
<div class="row form-group">
|
34 |
<div class="col-md-6">
|
35 |
<label class="ycd-label-of-input"><?php _e('Alignment', YCD_TEXT_DOMAIN); ?></label>
|
36 |
</div>
|
38 |
<?php echo AdminHelper::selectBox($defaultData['horizontal-alignment'], esc_attr($this->getOptionValue('ycd-clock2-alignment')), array('name' => 'ycd-clock2-alignment', 'class' => 'js-ycd-select ycd-clock2-alignment ycd-clock-alignment')); ?>
|
39 |
</div>
|
40 |
</div>
|
41 |
+
|
42 |
+
<div class="row form-group">
|
43 |
+
<div class="col-md-6">
|
44 |
+
<label for="ycd-clock2-dial1-color" class=""><?php _e('Ditail 1 color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
|
45 |
+
</div>
|
46 |
+
<div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
|
47 |
+
<div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
|
48 |
+
<input type="text" id="ycd-clock2-dial1-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock2-dial1-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock2-dial1-color')); ?>">
|
49 |
+
</div>
|
50 |
+
</div>
|
51 |
+
</div>
|
52 |
+
|
53 |
+
<div class="row form-group">
|
54 |
+
<div class="col-md-6">
|
55 |
+
<label for="ycd-clock2-dial2-color" class=""><?php _e('Ditail 2 color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
|
56 |
+
</div>
|
57 |
+
<div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
|
58 |
+
<div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
|
59 |
+
<input type="text" id="ycd-clock2-dial2-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock2-dial2-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock2-dial2-color')); ?>">
|
60 |
+
</div>
|
61 |
+
</div>
|
62 |
+
</div>
|
63 |
+
|
64 |
+
<div class="row form-group">
|
65 |
+
<div class="col-md-6">
|
66 |
+
<label for="ycd-clock2-dial3-color" class=""><?php _e('Ditail 3 color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
|
67 |
+
</div>
|
68 |
+
<div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
|
69 |
+
<div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
|
70 |
+
<input type="text" id="ycd-clock2-dial3-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock2-dial3-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock2-dial3-color')); ?>">
|
71 |
+
</div>
|
72 |
+
</div>
|
73 |
+
</div>
|
74 |
+
|
75 |
+
<div class="row form-group">
|
76 |
+
<div class="col-md-6">
|
77 |
+
<label for="ycd-clock2-time-color" class=""><?php _e('Time color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
|
78 |
+
</div>
|
79 |
+
<div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
|
80 |
+
<div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
|
81 |
+
<input type="text" id="ycd-clock2-time-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock2-time-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock2-time-color')); ?>">
|
82 |
+
</div>
|
83 |
+
</div>
|
84 |
+
</div>
|
85 |
+
|
86 |
+
<div class="row form-group">
|
87 |
+
<div class="col-md-6">
|
88 |
+
<label for="ycd-clock2-date-color" class=""><?php _e('Date color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
|
89 |
+
</div>
|
90 |
+
<div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
|
91 |
+
<div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
|
92 |
+
<input type="text" id="ycd-clock2-date-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock2-date-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock2-date-color')); ?>">
|
93 |
+
</div>
|
94 |
+
</div>
|
95 |
+
</div>
|
96 |
</div>
|
97 |
<?php
|
98 |
require_once YCD_VIEWS_PATH.'preview.php';
|
assets/views/main/clock3View.php
CHANGED
@@ -2,6 +2,14 @@
|
|
2 |
use ycd\AdminHelper;
|
3 |
$defaultData = AdminHelper::defaultData();
|
4 |
$type = $this->getCurrentTypeFromOptions();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
?>
|
6 |
<div class="ycd-bootstrap-wrapper">
|
7 |
<div class="row form-group">
|
@@ -23,7 +31,7 @@ $type = $this->getCurrentTypeFromOptions();
|
|
23 |
<?php _e('px', YCD_TEXT_DOMAIN); ?>
|
24 |
</div>
|
25 |
</div>
|
26 |
-
<div class="row">
|
27 |
<div class="col-md-6">
|
28 |
<label class="ycd-label-of-input"><?php _e('Alignment', YCD_TEXT_DOMAIN); ?></label>
|
29 |
</div>
|
@@ -31,6 +39,28 @@ $type = $this->getCurrentTypeFromOptions();
|
|
31 |
<?php echo AdminHelper::selectBox($defaultData['horizontal-alignment'], esc_attr($this->getOptionValue('ycd-clock3-alignment')), array('name' => 'ycd-clock3-alignment', 'class' => 'js-ycd-select ycd-clock3-alignment ycd-clock-alignment')); ?>
|
32 |
</div>
|
33 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
</div>
|
35 |
<?php
|
36 |
require_once YCD_VIEWS_PATH.'preview.php';
|
2 |
use ycd\AdminHelper;
|
3 |
$defaultData = AdminHelper::defaultData();
|
4 |
$type = $this->getCurrentTypeFromOptions();
|
5 |
+
|
6 |
+
$isPro = '';
|
7 |
+
$proSpan = '';
|
8 |
+
if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
|
9 |
+
$isPro = '-pro';
|
10 |
+
$proSpan = '<span class="ycd-pro-span">'.__('pro', YCD_TEXT_DOMAIN).'</span>';
|
11 |
+
}
|
12 |
+
|
13 |
?>
|
14 |
<div class="ycd-bootstrap-wrapper">
|
15 |
<div class="row form-group">
|
31 |
<?php _e('px', YCD_TEXT_DOMAIN); ?>
|
32 |
</div>
|
33 |
</div>
|
34 |
+
<div class="row form-group">
|
35 |
<div class="col-md-6">
|
36 |
<label class="ycd-label-of-input"><?php _e('Alignment', YCD_TEXT_DOMAIN); ?></label>
|
37 |
</div>
|
39 |
<?php echo AdminHelper::selectBox($defaultData['horizontal-alignment'], esc_attr($this->getOptionValue('ycd-clock3-alignment')), array('name' => 'ycd-clock3-alignment', 'class' => 'js-ycd-select ycd-clock3-alignment ycd-clock-alignment')); ?>
|
40 |
</div>
|
41 |
</div>
|
42 |
+
|
43 |
+
<div class="row form-group">
|
44 |
+
<div class="col-md-6">
|
45 |
+
<label for="ycd-clock3-dial1-color" class=""><?php _e('Ditail 1 color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
|
46 |
+
</div>
|
47 |
+
<div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
|
48 |
+
<div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
|
49 |
+
<input type="text" id="ycd-clock3-dial1-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock3-dial1-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock3-dial1-color')); ?>">
|
50 |
+
</div>
|
51 |
+
</div>
|
52 |
+
</div>
|
53 |
+
|
54 |
+
<div class="row form-group">
|
55 |
+
<div class="col-md-6">
|
56 |
+
<label for="ycd-clock3-date-color" class=""><?php _e('Date color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
|
57 |
+
</div>
|
58 |
+
<div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
|
59 |
+
<div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
|
60 |
+
<input type="text" id="ycd-clock3-date-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock3-date-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock3-date-color')); ?>">
|
61 |
+
</div>
|
62 |
+
</div>
|
63 |
+
</div>
|
64 |
</div>
|
65 |
<?php
|
66 |
require_once YCD_VIEWS_PATH.'preview.php';
|
classes/Actions.php
CHANGED
@@ -35,10 +35,10 @@ class Actions {
|
|
35 |
add_action('admin_head', array($this, 'adminHead'));
|
36 |
}
|
37 |
add_action('wp_enqueue_scripts', array($this, 'enqueueScripts'));
|
38 |
-
add_filter('mce_external_plugins', array($this, '
|
39 |
}
|
40 |
|
41 |
-
public function
|
42 |
$isLoadedMediaData = $this->isLoadedMediaData();
|
43 |
new Tickbox(true, $isLoadedMediaData);
|
44 |
$buttons['countdownBuilder'] = plugins_url( '/../assets/js/admin/ycd-tinymce-plugin.js',__FILE__ );
|
35 |
add_action('admin_head', array($this, 'adminHead'));
|
36 |
}
|
37 |
add_action('wp_enqueue_scripts', array($this, 'enqueueScripts'));
|
38 |
+
add_filter('mce_external_plugins', array($this, 'editorButton'));
|
39 |
}
|
40 |
|
41 |
+
public function editorButton($buttons) {
|
42 |
$isLoadedMediaData = $this->isLoadedMediaData();
|
43 |
new Tickbox(true, $isLoadedMediaData);
|
44 |
$buttons['countdownBuilder'] = plugins_url( '/../assets/js/admin/ycd-tinymce-plugin.js',__FILE__ );
|
classes/countdown/Clock1Countdown.php
CHANGED
@@ -48,7 +48,6 @@ class Clock1Countdown extends Countdown {
|
|
48 |
}
|
49 |
|
50 |
private function getClockArgs() {
|
51 |
-
|
52 |
$indicate = '#222';
|
53 |
$dial1Color = '#666600';
|
54 |
$dial2Color = '#81812e';
|
48 |
}
|
49 |
|
50 |
private function getClockArgs() {
|
|
|
51 |
$indicate = '#222';
|
52 |
$dial1Color = '#666600';
|
53 |
$dial2Color = '#81812e';
|
classes/countdown/Clock2Countdown.php
CHANGED
@@ -48,16 +48,32 @@ class Clock2Countdown extends Countdown {
|
|
48 |
}
|
49 |
|
50 |
private function getClockArgs() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
$args = array(
|
52 |
'indicate' => true,
|
53 |
-
'indicate_color' =>
|
54 |
-
'dial1_color' =>
|
55 |
-
'dial2_color' =>
|
56 |
-
'dial3_color' =>
|
57 |
'time_add' => 1,
|
58 |
'time_24h' => true,
|
59 |
'date_add' => 3,
|
60 |
-
'
|
|
|
61 |
);
|
62 |
|
63 |
return $args;
|
48 |
}
|
49 |
|
50 |
private function getClockArgs() {
|
51 |
+
$indicate = '#222';
|
52 |
+
$dial1Color = '#666600';
|
53 |
+
$dial2Color = '#81812e';
|
54 |
+
$dial3Color = '#9d9d5c';
|
55 |
+
$timeColor = '#333';
|
56 |
+
$dateColor = '#999';
|
57 |
+
|
58 |
+
if(YCD_PKG_VERSION > YCD_FREE_VERSION) {
|
59 |
+
$indicate = $this->getOptionValue('ycd-clock2-indicate-color');
|
60 |
+
$dial1Color = $this->getOptionValue('ycd-clock2-dial1-color');
|
61 |
+
$dial2Color = $this->getOptionValue('ycd-clock2-dial2-color');
|
62 |
+
$dial3Color = $this->getOptionValue('ycd-clock2-dial3-color');
|
63 |
+
$timeColor = $this->getOptionValue('ycd-clock2-date-color');
|
64 |
+
$dateColor = $this->getOptionValue('ycd-clock2-time-color');
|
65 |
+
}
|
66 |
$args = array(
|
67 |
'indicate' => true,
|
68 |
+
'indicate_color' => $indicate,
|
69 |
+
'dial1_color' => $dial1Color,
|
70 |
+
'dial2_color' => $dial2Color,
|
71 |
+
'dial3_color' => $dial3Color,
|
72 |
'time_add' => 1,
|
73 |
'time_24h' => true,
|
74 |
'date_add' => 3,
|
75 |
+
'time_add_color' => $timeColor,
|
76 |
+
'date_add_color' => $dateColor,
|
77 |
);
|
78 |
|
79 |
return $args;
|
classes/countdown/Clock3Countdown.php
CHANGED
@@ -48,16 +48,33 @@ class Clock3Countdown extends Countdown {
|
|
48 |
}
|
49 |
|
50 |
private function getClockArgs() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
$args = array(
|
52 |
'indicate' => true,
|
53 |
-
'indicate_color' =>
|
54 |
-
'dial1_color' =>
|
55 |
-
'dial2_color' =>
|
56 |
-
'dial3_color' =>
|
57 |
'time_add' => 1,
|
58 |
'time_24h' => true,
|
59 |
'date_add' => 3,
|
60 |
-
'
|
|
|
61 |
);
|
62 |
|
63 |
return $args;
|
48 |
}
|
49 |
|
50 |
private function getClockArgs() {
|
51 |
+
$indicateColor = '#222';
|
52 |
+
$dial1Color = '#666600';
|
53 |
+
$dial2Color = '#81812e';
|
54 |
+
$dial3Color = '#9d9d5c';
|
55 |
+
$timeColor = '#333';
|
56 |
+
$dateColor = '#999';
|
57 |
+
|
58 |
+
if(YCD_PKG_VERSION > YCD_FREE_VERSION) {
|
59 |
+
$indicateColor = $this->getOptionValue('ycd-clock3-indicate-color');
|
60 |
+
$dial1Color = $this->getOptionValue('ycd-clock3-dial1-color');
|
61 |
+
$dial2Color = $this->getOptionValue('ycd-clock3-dial2-color');
|
62 |
+
$dial3Color = $this->getOptionValue('ycd-clock3-dial3-color');
|
63 |
+
$timeColor = $this->getOptionValue('ycd-clock3-date-color');
|
64 |
+
$dateColor = $this->getOptionValue('ycd-clock3-time-color');
|
65 |
+
}
|
66 |
+
|
67 |
$args = array(
|
68 |
'indicate' => true,
|
69 |
+
'indicate_color' => $indicateColor,
|
70 |
+
'dial1_color' => $dial1Color,
|
71 |
+
'dial2_color' => $dial2Color,
|
72 |
+
'dial3_color' => $dial3Color,
|
73 |
'time_add' => 1,
|
74 |
'time_24h' => true,
|
75 |
'date_add' => 3,
|
76 |
+
'time_add_color' => $timeColor,
|
77 |
+
'date_add_color' => $dateColor,
|
78 |
);
|
79 |
|
80 |
return $args;
|
config/proOptionsConfig.php
CHANGED
@@ -50,6 +50,52 @@ class proOptionsConfig {
|
|
50 |
$defaults[] = array('name' => 'ycd-clock1-dial3-color', 'type' => 'html', 'defaultValue' => '#9d9d5c');
|
51 |
$defaults[] = array('name' => 'ycd-clock1-date-color', 'type' => 'html', 'defaultValue' => '#999');
|
52 |
$defaults[] = array('name' => 'ycd-clock1-time-color', 'type' => 'html', 'defaultValue' => '#333');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
|
54 |
$defaults[] = array('name' => 'ycd-countdown-enable-progress', 'type' => 'checkbox', 'defaultValue' => '');
|
55 |
|
50 |
$defaults[] = array('name' => 'ycd-clock1-dial3-color', 'type' => 'html', 'defaultValue' => '#9d9d5c');
|
51 |
$defaults[] = array('name' => 'ycd-clock1-date-color', 'type' => 'html', 'defaultValue' => '#999');
|
52 |
$defaults[] = array('name' => 'ycd-clock1-time-color', 'type' => 'html', 'defaultValue' => '#333');
|
53 |
+
|
54 |
+
$defaults[] = array('name' => 'ycd-clock2-indicate-color', 'type' => 'html', 'defaultValue' => '#222');
|
55 |
+
$defaults[] = array('name' => 'ycd-clock2-dial1-color', 'type' => 'html', 'defaultValue' => '#666600');
|
56 |
+
$defaults[] = array('name' => 'ycd-clock2-dial2-color', 'type' => 'html', 'defaultValue' => '#81812e');
|
57 |
+
$defaults[] = array('name' => 'ycd-clock2-dial3-color', 'type' => 'html', 'defaultValue' => '#9d9d5c');
|
58 |
+
$defaults[] = array('name' => 'ycd-clock2-date-color', 'type' => 'html', 'defaultValue' => '#999');
|
59 |
+
$defaults[] = array('name' => 'ycd-clock2-time-color', 'type' => 'html', 'defaultValue' => '#333');
|
60 |
+
|
61 |
+
$defaults[] = array('name' => 'ycd-clock3-indicate-color', 'type' => 'html', 'defaultValue' => '#222');
|
62 |
+
$defaults[] = array('name' => 'ycd-clock3-dial1-color', 'type' => 'html', 'defaultValue' => '#666600');
|
63 |
+
$defaults[] = array('name' => 'ycd-clock3-dial2-color', 'type' => 'html', 'defaultValue' => '#81812e');
|
64 |
+
$defaults[] = array('name' => 'ycd-clock3-dial3-color', 'type' => 'html', 'defaultValue' => '#9d9d5c');
|
65 |
+
$defaults[] = array('name' => 'ycd-clock3-date-color', 'type' => 'html', 'defaultValue' => '#999');
|
66 |
+
$defaults[] = array('name' => 'ycd-clock3-time-color', 'type' => 'html', 'defaultValue' => '#333');
|
67 |
+
|
68 |
+
$defaults[] = array('name' => 'ycd-clock4-indicate-color', 'type' => 'html', 'defaultValue' => '#222');
|
69 |
+
$defaults[] = array('name' => 'ycd-clock4-dial1-color', 'type' => 'html', 'defaultValue' => '#666600');
|
70 |
+
$defaults[] = array('name' => 'ycd-clock4-dial2-color', 'type' => 'html', 'defaultValue' => '#81812e');
|
71 |
+
$defaults[] = array('name' => 'ycd-clock4-dial4-color', 'type' => 'html', 'defaultValue' => '#9d9d5c');
|
72 |
+
$defaults[] = array('name' => 'ycd-clock4-date-color', 'type' => 'html', 'defaultValue' => '#999');
|
73 |
+
$defaults[] = array('name' => 'ycd-clock4-time-color', 'type' => 'html', 'defaultValue' => '#333');
|
74 |
+
|
75 |
+
$defaults[] = array('name' => 'ycd-clock5-indicate-color', 'type' => 'html', 'defaultValue' => '#222');
|
76 |
+
$defaults[] = array('name' => 'ycd-clock5-dial1-color', 'type' => 'html', 'defaultValue' => '#666600');
|
77 |
+
$defaults[] = array('name' => 'ycd-clock5-dial2-color', 'type' => 'html', 'defaultValue' => '#81812e');
|
78 |
+
$defaults[] = array('name' => 'ycd-clock5-dial3-color', 'type' => 'html', 'defaultValue' => '#333333');
|
79 |
+
$defaults[] = array('name' => 'ycd-clock5-dial4-color', 'type' => 'html', 'defaultValue' => '#9d9d5c');
|
80 |
+
$defaults[] = array('name' => 'ycd-clock5-date-color', 'type' => 'html', 'defaultValue' => '#999');
|
81 |
+
$defaults[] = array('name' => 'ycd-clock5-time-color', 'type' => 'html', 'defaultValue' => '#ccc');
|
82 |
+
|
83 |
+
|
84 |
+
$defaults[] = array('name' => 'ycd-clock6-indicate-color', 'type' => 'html', 'defaultValue' => '#222');
|
85 |
+
$defaults[] = array('name' => 'ycd-clock6-dial1-color', 'type' => 'html', 'defaultValue' => '#666600');
|
86 |
+
$defaults[] = array('name' => 'ycd-clock6-dial2-color', 'type' => 'html', 'defaultValue' => '#81812e');
|
87 |
+
$defaults[] = array('name' => 'ycd-clock6-dial3-color', 'type' => 'html', 'defaultValue' => '#9d9d5c');
|
88 |
+
$defaults[] = array('name' => 'ycd-clock6-dial4-color', 'type' => 'html', 'defaultValue' => '#9d9d5c');
|
89 |
+
$defaults[] = array('name' => 'ycd-clock6-date-color', 'type' => 'html', 'defaultValue' => '#999');
|
90 |
+
$defaults[] = array('name' => 'ycd-clock6-time-color', 'type' => 'html', 'defaultValue' => '#ccc');
|
91 |
+
|
92 |
+
$defaults[] = array('name' => 'ycd-clock7-indicate-color', 'type' => 'html', 'defaultValue' => '#222');
|
93 |
+
$defaults[] = array('name' => 'ycd-clock7-dial1-color', 'type' => 'html', 'defaultValue' => '#666600');
|
94 |
+
$defaults[] = array('name' => 'ycd-clock7-dial2-color', 'type' => 'html', 'defaultValue' => '#81812e');
|
95 |
+
$defaults[] = array('name' => 'ycd-clock7-dial3-color', 'type' => 'html', 'defaultValue' => '#9d9d5c');
|
96 |
+
$defaults[] = array('name' => 'ycd-clock7-dial4-color', 'type' => 'html', 'defaultValue' => '#9d9d5c');
|
97 |
+
$defaults[] = array('name' => 'ycd-clock7-date-color', 'type' => 'html', 'defaultValue' => '#999');
|
98 |
+
$defaults[] = array('name' => 'ycd-clock7-time-color', 'type' => 'html', 'defaultValue' => '#ccc');
|
99 |
|
100 |
$defaults[] = array('name' => 'ycd-countdown-enable-progress', 'type' => 'checkbox', 'defaultValue' => '');
|
101 |
|
countdown-builder.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: Countdown builder
|
4 |
* Description: The best countdown plugin
|
5 |
-
* Version: 1.
|
6 |
* Author: Adam Skaat
|
7 |
* Author URI: https://edmonsoft.com/countdown
|
8 |
* License: GPLv2
|
2 |
/**
|
3 |
* Plugin Name: Countdown builder
|
4 |
* Description: The best countdown plugin
|
5 |
+
* Version: 1.4.0
|
6 |
* Author: Adam Skaat
|
7 |
* Author URI: https://edmonsoft.com/countdown
|
8 |
* License: GPLv2
|
readme.txt
CHANGED
@@ -2,21 +2,21 @@
|
|
2 |
Contributors: adamskaat
|
3 |
Tags: countdown, timer, countdown timer
|
4 |
Requires at least: 3.8
|
5 |
-
Tested up to: 5.1
|
6 |
-
Stable tag: 1.
|
7 |
Requires PHP: 5.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
Countdown builder
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
Countdown builder
|
16 |
A very simple plugin to add <sriong>countdown</strong> timer to your website.
|
17 |
<strong>Countdown</strong> timer allow you to create nice and functional Countdown timer just in a few minutes.
|
18 |
This is the best way to create beautiful <strong>Countdown</strong> for your users.
|
19 |
-
You can use our Countdown timer in your posts/pages via
|
20 |
[ycd_countdown id=73]
|
21 |
|
22 |
Countdown types
|
@@ -44,7 +44,7 @@ We do web development and if you need a developer or if you think you have found
|
|
44 |
|
45 |
== Installation ==
|
46 |
|
47 |
-
1. Upload the 'Countdown
|
48 |
2. Activate the "countdown-builder" list plugin through the 'Plugins' menu in WordPress.
|
49 |
3. Check the Countdowns Menu button and start adding Countdown.
|
50 |
|
@@ -53,6 +53,17 @@ We do web development and if you need a developer or if you think you have found
|
|
53 |
Coming soon
|
54 |
|
55 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
= 1.3.9 =
|
57 |
* Clock 1 colors customizations
|
58 |
* Shortcode media button conflict fixed
|
@@ -229,4 +240,4 @@ Coming soon
|
|
229 |
* Code improvement
|
230 |
|
231 |
= 1.0 =
|
232 |
-
* Plugin publish
|
2 |
Contributors: adamskaat
|
3 |
Tags: countdown, timer, countdown timer
|
4 |
Requires at least: 3.8
|
5 |
+
Tested up to: 5.1.1
|
6 |
+
Stable tag: 1.4.0
|
7 |
Requires PHP: 5.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
Countdown builder - Customizable Countdown Timer
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
Countdown builder - Customizable Countdown Timer
|
16 |
A very simple plugin to add <sriong>countdown</strong> timer to your website.
|
17 |
<strong>Countdown</strong> timer allow you to create nice and functional Countdown timer just in a few minutes.
|
18 |
This is the best way to create beautiful <strong>Countdown</strong> for your users.
|
19 |
+
You can use our Countdown timer in your posts/pages via shortcode example like this
|
20 |
[ycd_countdown id=73]
|
21 |
|
22 |
Countdown types
|
44 |
|
45 |
== Installation ==
|
46 |
|
47 |
+
1. Upload the 'Countdown – Countdown & Clock' folder to the '/wp-content/plugins/' directory.
|
48 |
2. Activate the "countdown-builder" list plugin through the 'Plugins' menu in WordPress.
|
49 |
3. Check the Countdowns Menu button and start adding Countdown.
|
50 |
|
53 |
Coming soon
|
54 |
|
55 |
== Changelog ==
|
56 |
+
= 1.4.0 =
|
57 |
+
* Live preview draggable and toggle improvement
|
58 |
+
* Clock 1 new improvements
|
59 |
+
* Clock 2 new improvements
|
60 |
+
* Clock 3 new improvements
|
61 |
+
* Clock 4 new improvements
|
62 |
+
* Clock 5 new improvements
|
63 |
+
* Clock 6 new improvements
|
64 |
+
* Clock 7 new improvements
|
65 |
+
* Minor bug fixed
|
66 |
+
|
67 |
= 1.3.9 =
|
68 |
* Clock 1 colors customizations
|
69 |
* Shortcode media button conflict fixed
|
240 |
* Code improvement
|
241 |
|
242 |
= 1.0 =
|
243 |
+
* Plugin publish
|