Countdown, Coming Soon – Countdown & Clock - Version 1.3.9

Version Description

  • Clock 1 colors customizations
  • Shortcode media button conflict fixed
  • Admin side bug fixed
  • Descriptions improvement
Download this release

Release Info

Developer adamskaat
Plugin Icon 128x128 Countdown, Coming Soon – Countdown & Clock
Version 1.3.9
Comparing to
See all releases

Code changes from version 1.3.8 to 1.3.9

assets/js/Js.php CHANGED
@@ -66,7 +66,7 @@ class Js {
66
  $supportKey,
67
  $subscriberKey,
68
  $newsletterKey,
69
- 'ycdcountdown_page_ycdcountdown',
70
  );
71
 
72
  if(in_array($hook, $allowedPages) || get_post_type(@$_GET['post']) == YCD_COUNTDOWN_POST_TYPE) {
66
  $supportKey,
67
  $subscriberKey,
68
  $newsletterKey,
69
+ 'ycdcountdown_page_ycdcountdown'
70
  );
71
 
72
  if(in_array($hook, $allowedPages) || get_post_type(@$_GET['post']) == YCD_COUNTDOWN_POST_TYPE) {
assets/views/circlePreview.php DELETED
@@ -1,3 +0,0 @@
1
- <?php
2
- echo $typeObj->getViewContent();
3
- ?>
 
 
 
assets/views/main/clock1View.php CHANGED
@@ -2,6 +2,12 @@
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 +29,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 +37,72 @@ $type = $this->getCurrentTypeFromOptions();
31
  <?php echo AdminHelper::selectBox($defaultData['horizontal-alignment'], esc_attr($this->getOptionValue('ycd-clock1-alignment')), array('name' => 'ycd-clock1-alignment', 'class' => 'js-ycd-select ycd-clock1-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
+ $isPro = '';
6
+ $proSpan = '';
7
+ if(YCD_PKG_VERSION == YCD_FREE_VERSION) {
8
+ $isPro = '-pro';
9
+ $proSpan = '<span class="ycd-pro-span">'.__('pro', YCD_TEXT_DOMAIN).'</span>';
10
+ }
11
  ?>
12
  <div class="ycd-bootstrap-wrapper">
13
  <div class="row form-group">
29
  <?php _e('px', YCD_TEXT_DOMAIN); ?>
30
  </div>
31
  </div>
32
+ <div class="row form-group">
33
  <div class="col-md-6">
34
  <label class="ycd-label-of-input"><?php _e('Alignment', YCD_TEXT_DOMAIN); ?></label>
35
  </div>
37
  <?php echo AdminHelper::selectBox($defaultData['horizontal-alignment'], esc_attr($this->getOptionValue('ycd-clock1-alignment')), array('name' => 'ycd-clock1-alignment', 'class' => 'js-ycd-select ycd-clock1-alignment ycd-clock-alignment')); ?>
38
  </div>
39
  </div>
40
+
41
+ <div class="row form-group">
42
+ <div class="col-md-6">
43
+ <label for="ycd-clock1-indicate-color" class=""><?php _e('Indicate color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
44
+ </div>
45
+ <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
46
+ <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
47
+ <input type="text" id="ycd-clock1-indicate-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock1-indicate-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock1-indicate-color')); ?>">
48
+ </div>
49
+ </div>
50
+ </div>
51
+
52
+ <div class="row form-group">
53
+ <div class="col-md-6">
54
+ <label for="ycd-clock1-dial1-color" class=""><?php _e('Ditail 1 color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
55
+ </div>
56
+ <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
57
+ <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
58
+ <input type="text" id="ycd-clock1-dial1-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock1-dial1-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock1-dial1-color')); ?>">
59
+ </div>
60
+ </div>
61
+ </div>
62
+
63
+ <div class="row form-group">
64
+ <div class="col-md-6">
65
+ <label for="ycd-clock1-dial2-color" class=""><?php _e('Ditail 2 color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
66
+ </div>
67
+ <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
68
+ <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
69
+ <input type="text" id="ycd-clock1-dial2-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock1-dial2-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock1-dial2-color')); ?>">
70
+ </div>
71
+ </div>
72
+ </div>
73
+
74
+ <div class="row form-group">
75
+ <div class="col-md-6">
76
+ <label for="ycd-clock1-dial3-color" class=""><?php _e('Ditail 3 color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
77
+ </div>
78
+ <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
79
+ <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
80
+ <input type="text" id="ycd-clock1-dial3-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock1-dial3-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock1-dial3-color')); ?>">
81
+ </div>
82
+ </div>
83
+ </div>
84
+
85
+ <div class="row form-group">
86
+ <div class="col-md-6">
87
+ <label for="ycd-clock1-time-color" class=""><?php _e('Time color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
88
+ </div>
89
+ <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
90
+ <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
91
+ <input type="text" id="ycd-clock1-time-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock1-time-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock1-time-color')); ?>">
92
+ </div>
93
+ </div>
94
+ </div>
95
+
96
+ <div class="row form-group">
97
+ <div class="col-md-6">
98
+ <label for="ycd-clock1-date-color" class=""><?php _e('Date color', YCD_TEXT_DOMAIN); echo $proSpan; ?></label>
99
+ </div>
100
+ <div class="col-md-5 ycd-option-wrapper<?php echo $isPro; ?>">
101
+ <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
102
+ <input type="text" id="ycd-clock1-date-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-clock1-date-color" class="minicolors-input form-control js-ycd-time-color" value="<?php echo esc_attr($this->getOptionValue('ycd-clock1-date-color')); ?>">
103
+ </div>
104
+ </div>
105
+ </div>
106
  </div>
107
  <?php
108
  require_once YCD_VIEWS_PATH.'preview.php';
classes/Actions.php CHANGED
@@ -5,6 +5,15 @@ use \YcdShowReviewNotice;
5
 
6
  class Actions {
7
  public $customPostTypeObj;
 
 
 
 
 
 
 
 
 
8
 
9
  public function __construct() {
10
  $this->init();
@@ -30,7 +39,8 @@ class Actions {
30
  }
31
 
32
  public function editirButton( $buttons) {
33
- new Tickbox(true);
 
34
  $buttons['countdownBuilder'] = plugins_url( '/../assets/js/admin/ycd-tinymce-plugin.js',__FILE__ );
35
 
36
  return $buttons;
@@ -84,6 +94,7 @@ class Actions {
84
 
85
 
86
  function ycdMediaButton() {
 
87
  new Tickbox();
88
  }
89
 
@@ -182,7 +193,8 @@ class Actions {
182
  $title = $countdownObj->getTypeTitle();
183
  }
184
  echo $title;
185
- if(is_object($countdownObj) && $countdownObj->getIsCountdown()) {
 
186
  if($countdownObj->isExpired()) {
187
  echo '<div>Date: Expired</div>';
188
  }
5
 
6
  class Actions {
7
  public $customPostTypeObj;
8
+ private $isLoadedMediaData = false;
9
+
10
+ public function isLoadedMediaData() {
11
+ return $this->isLoadedMediaData;
12
+ }
13
+
14
+ public function setIsLoadedMediaData($isLoadedMediaData) {
15
+ $this->isLoadedMediaData = $isLoadedMediaData;
16
+ }
17
 
18
  public function __construct() {
19
  $this->init();
39
  }
40
 
41
  public function editirButton( $buttons) {
42
+ $isLoadedMediaData = $this->isLoadedMediaData();
43
+ new Tickbox(true, $isLoadedMediaData);
44
  $buttons['countdownBuilder'] = plugins_url( '/../assets/js/admin/ycd-tinymce-plugin.js',__FILE__ );
45
 
46
  return $buttons;
94
 
95
 
96
  function ycdMediaButton() {
97
+ $this->setIsLoadedMediaData(true);
98
  new Tickbox();
99
  }
100
 
193
  $title = $countdownObj->getTypeTitle();
194
  }
195
  echo $title;
196
+ $allowToShowExpiration = $countdownObj->allowToShowExpiration();
197
+ if(is_object($countdownObj) && $countdownObj->getIsCountdown() && $allowToShowExpiration) {
198
  if($countdownObj->isExpired()) {
199
  echo '<div>Date: Expired</div>';
200
  }
classes/Tickbox.php CHANGED
@@ -3,13 +3,19 @@ namespace ycd;
3
 
4
  class Tickbox {
5
  private $isEditorButton = false;
 
6
 
7
- public function __construct($isEditorButton = false) {
8
  if (isset($isEditorButton)) {
9
  $this->isEditorButton = $isEditorButton;
10
  }
 
 
 
11
  $this->mediaButton();
12
- add_action( 'admin_footer', array($this, 'ycdAdminTickBox'));
 
 
13
  }
14
 
15
  private function mediaButton() {
3
 
4
  class Tickbox {
5
  private $isEditorButton = false;
6
+ private $isLoadedMediaData = false;
7
 
8
+ public function __construct($isEditorButton = false, $isLoadedMediaData = false) {
9
  if (isset($isEditorButton)) {
10
  $this->isEditorButton = $isEditorButton;
11
  }
12
+ if (isset($isLoadedMediaData)) {
13
+ $this->isLoadedMediaData = $isLoadedMediaData;
14
+ }
15
  $this->mediaButton();
16
+ if(!$this->isLoadedMediaData) {
17
+ add_action( 'admin_footer', array($this, 'ycdAdminTickBox'));
18
+ }
19
  }
20
 
21
  private function mediaButton() {
classes/countdown/Clock1Countdown.php CHANGED
@@ -48,16 +48,34 @@ class Clock1Countdown extends Countdown {
48
  }
49
 
50
  private function getClockArgs() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  $args = array(
52
  'indicate' => true,
53
- 'indicate_color' => '#222',
54
- 'dial1_color' => '#666600',
55
- 'dial2_color' => '#81812e',
56
- 'dial3_color' => '#9d9d5c',
57
  'time_add' => 1,
58
  'time_24h' => true,
59
  'date_add' => 3,
60
- 'date_add_color' => '#999',
 
61
  );
62
 
63
  return $args;
48
  }
49
 
50
  private function getClockArgs() {
51
+
52
+ $indicate = '#222';
53
+ $dial1Color = '#666600';
54
+ $dial2Color = '#81812e';
55
+ $dial3Color = '#9d9d5c';
56
+ $timeColor = '#333';
57
+ $dateColor = '#999';
58
+
59
+ if(YCD_PKG_VERSION > YCD_FREE_VERSION) {
60
+ $indicate = $this->getOptionValue('ycd-clock1-indicate-color');
61
+ $dial1Color = $this->getOptionValue('ycd-clock1-dial1-color');
62
+ $dial2Color = $this->getOptionValue('ycd-clock1-dial2-color');
63
+ $dial3Color = $this->getOptionValue('ycd-clock1-dial3-color');
64
+ $timeColor = $this->getOptionValue('ycd-clock1-date-color');
65
+ $dateColor = $this->getOptionValue('ycd-clock1-time-color');
66
+ }
67
+
68
  $args = array(
69
  'indicate' => true,
70
+ 'indicate_color' => $indicate,
71
+ 'dial1_color' => $dial1Color,
72
+ 'dial2_color' => $dial2Color,
73
+ 'dial3_color' => $dial3Color,
74
  'time_add' => 1,
75
  'time_24h' => true,
76
  'date_add' => 3,
77
+ 'time_add_color' => $timeColor,
78
+ 'date_add_color' => $dateColor
79
  );
80
 
81
  return $args;
classes/countdown/Countdown.php CHANGED
@@ -54,6 +54,17 @@ abstract class Countdown {
54
  return $typeTitle;
55
  }
56
 
 
 
 
 
 
 
 
 
 
 
 
57
  public function setTitle($title) {
58
  $this->title = $title;
59
  }
54
  return $typeTitle;
55
  }
56
 
57
+ public function allowToShowExpiration() {
58
+ $status = true;
59
+ $countdownDateType = $this->getOptionValue('ycd-countdown-date-type');
60
+
61
+ if(!empty($countdownDateType) && $countdownDateType == 'duration') {
62
+ return false;
63
+ }
64
+
65
+ return $status;
66
+ }
67
+
68
  public function setTitle($title) {
69
  $this->title = $title;
70
  }
config/config.php CHANGED
@@ -53,8 +53,8 @@ class YcdCountdownConfig {
53
  self::addDefine('YCD_CRON_REPEAT_INTERVAL', 1);
54
  self::addDefine('YCD_AJAX_SUCCESS', 1);
55
  self::addDefine('YCD_TABLE_LIMIT', 15);
56
- self::addDefine('YCD_VERSION', 1.38);
57
- self::addDefine('YCD_VERSION_PRO', 1.24);
58
  self::addDefine('YCD_FREE_VERSION', 1);
59
  self::addDefine('YCD_SILVER_VERSION', 2);
60
  self::addDefine('YCD_GOLD_VERSION', 3);
53
  self::addDefine('YCD_CRON_REPEAT_INTERVAL', 1);
54
  self::addDefine('YCD_AJAX_SUCCESS', 1);
55
  self::addDefine('YCD_TABLE_LIMIT', 15);
56
+ self::addDefine('YCD_VERSION', 1.39);
57
+ self::addDefine('YCD_VERSION_PRO', 1.25);
58
  self::addDefine('YCD_FREE_VERSION', 1);
59
  self::addDefine('YCD_SILVER_VERSION', 2);
60
  self::addDefine('YCD_GOLD_VERSION', 3);
config/optionsConfig.php CHANGED
@@ -41,7 +41,7 @@ class YcdCountdownOptionsConfig {
41
 
42
  $YCD_TYPES['titles'] = apply_filters('ycdTitles', array(
43
  'circle' => __('Circle', YCD_TEXT_DOMAIN),
44
- 'timer' => __('Digital', YCD_TEXT_DOMAIN),
45
  'clock1' => __('Clock 1', YCD_TEXT_DOMAIN),
46
  'clock2' => __('Clock 2', YCD_TEXT_DOMAIN),
47
  'clock3' => __('Clock 3', YCD_TEXT_DOMAIN),
@@ -77,6 +77,7 @@ class YcdCountdownOptionsConfig {
77
  $options[] = array('name' => 'ycd-date-progress-start-date', 'type' => 'text', 'defaultValue' => date('Y-m-d H:i'));
78
  $options[] = array('name' => 'ycd-circle-time-zone', 'type' => 'text', 'defaultValue' => self::getDefaultTimezone());
79
  $options[] = array('name' => 'ycd-circle-animation', 'type' => 'text', 'defaultValue' => 'smooth');
 
80
  $options[] = array('name' => 'ycd-countdown-width', 'type' => 'text', 'defaultValue' => '500');
81
  $options[] = array('name' => 'ycd-dimension-measure', 'type' => 'text', 'defaultValue' => 'px');
82
  $options[] = array('name' => 'ycd-countdown-background-circle', 'type' => 'checkbox', 'defaultValue' => 'on');
41
 
42
  $YCD_TYPES['titles'] = apply_filters('ycdTitles', array(
43
  'circle' => __('Circle', YCD_TEXT_DOMAIN),
44
+ 'timer' => __('Timer', YCD_TEXT_DOMAIN),
45
  'clock1' => __('Clock 1', YCD_TEXT_DOMAIN),
46
  'clock2' => __('Clock 2', YCD_TEXT_DOMAIN),
47
  'clock3' => __('Clock 3', YCD_TEXT_DOMAIN),
77
  $options[] = array('name' => 'ycd-date-progress-start-date', 'type' => 'text', 'defaultValue' => date('Y-m-d H:i'));
78
  $options[] = array('name' => 'ycd-circle-time-zone', 'type' => 'text', 'defaultValue' => self::getDefaultTimezone());
79
  $options[] = array('name' => 'ycd-circle-animation', 'type' => 'text', 'defaultValue' => 'smooth');
80
+ $options[] = array('name' => 'ycd-circle-alignment', 'type' => 'text', 'defaultValue' => 'center');
81
  $options[] = array('name' => 'ycd-countdown-width', 'type' => 'text', 'defaultValue' => '500');
82
  $options[] = array('name' => 'ycd-dimension-measure', 'type' => 'text', 'defaultValue' => 'px');
83
  $options[] = array('name' => 'ycd-countdown-background-circle', 'type' => 'checkbox', 'defaultValue' => 'on');
config/proOptionsConfig.php CHANGED
@@ -42,6 +42,14 @@ class proOptionsConfig {
42
  $defaults[] = array('name' => 'ycd-progress-text-color', 'type' => 'html', 'defaultValue' => '#ffffff');
43
  $defaults[] = array('name' => 'ycd-progress-width', 'type' => 'html', 'defaultValue' => '90%');
44
  $defaults[] = array('name' => 'ycd-progress-height', 'type' => 'html', 'defaultValue' => '22px');
 
 
 
 
 
 
 
 
45
 
46
  $defaults[] = array('name' => 'ycd-countdown-enable-progress', 'type' => 'checkbox', 'defaultValue' => '');
47
 
42
  $defaults[] = array('name' => 'ycd-progress-text-color', 'type' => 'html', 'defaultValue' => '#ffffff');
43
  $defaults[] = array('name' => 'ycd-progress-width', 'type' => 'html', 'defaultValue' => '90%');
44
  $defaults[] = array('name' => 'ycd-progress-height', 'type' => 'html', 'defaultValue' => '22px');
45
+ $defaults[] = array('name' => 'ycd-progress-height', 'type' => 'html', 'defaultValue' => '22px');
46
+
47
+ $defaults[] = array('name' => 'ycd-clock1-indicate-color', 'type' => 'html', 'defaultValue' => '#222');
48
+ $defaults[] = array('name' => 'ycd-clock1-dial1-color', 'type' => 'html', 'defaultValue' => '#666600');
49
+ $defaults[] = array('name' => 'ycd-clock1-dial2-color', 'type' => 'html', 'defaultValue' => '#81812e');
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
 
countdown-builder.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: Countdown builder
4
  * Description: The best countdown plugin
5
- * Version: 1.3.8
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.3.9
6
  * Author: Adam Skaat
7
  * Author URI: https://edmonsoft.com/countdown
8
  * License: GPLv2
helpers/AdminHelper.php CHANGED
@@ -231,7 +231,7 @@ class AdminHelper {
231
  'attr' => array(
232
  'type' => 'radio',
233
  'name' => 'ycd-countdown-date-type',
234
- 'class' => 'ycd-date-type',
235
  'data-attr-href' => 'ycd-countdown-due-date',
236
  'value' => 'dueDate'
237
  ),
@@ -243,7 +243,7 @@ class AdminHelper {
243
  'attr' => array(
244
  'type' => 'radio',
245
  'name' => 'ycd-countdown-date-type',
246
- 'class' => 'ycd-date-type',
247
  'data-attr-href' => 'ycd-date-duration',
248
  'value' => 'duration'
249
  ),
@@ -304,7 +304,7 @@ class AdminHelper {
304
  'attr' => array(
305
  'type' => 'radio',
306
  'name' => 'ycd-countdown-expire-behavior',
307
- 'class' => 'ycd-countdown-hide-behavior',
308
  'data-attr-href' => 'ycd-countdown-default-behavior',
309
  'value' => 'default'
310
  ),
@@ -316,7 +316,7 @@ class AdminHelper {
316
  'attr' => array(
317
  'type' => 'radio',
318
  'name' => 'ycd-countdown-expire-behavior',
319
- 'class' => 'ycd-countdown-hide-behavior',
320
  'data-attr-href' => 'ycd-countdown-hide-behavior',
321
  'value' => 'hideCountdown'
322
  ),
@@ -328,7 +328,7 @@ class AdminHelper {
328
  'attr' => array(
329
  'type' => 'radio',
330
  'name' => 'ycd-countdown-expire-behavior',
331
- 'class' => 'ycd-countdown-show-text',
332
  'data-attr-href' => 'ycd-countdown-show-text',
333
  'value' => 'showText'
334
  ),
@@ -340,7 +340,7 @@ class AdminHelper {
340
  'attr' => array(
341
  'type' => 'radio',
342
  'name' => 'ycd-countdown-expire-behavior',
343
- 'class' => 'ycd-countdown-redirect-url',
344
  'data-attr-href' => 'ycd-countdown-redirect-url',
345
  'value' => 'redirectToURL'
346
  ),
231
  'attr' => array(
232
  'type' => 'radio',
233
  'name' => 'ycd-countdown-date-type',
234
+ 'class' => 'ycd-date-type ycd-form-radio',
235
  'data-attr-href' => 'ycd-countdown-due-date',
236
  'value' => 'dueDate'
237
  ),
243
  'attr' => array(
244
  'type' => 'radio',
245
  'name' => 'ycd-countdown-date-type',
246
+ 'class' => 'ycd-date-type ycd-form-radio',
247
  'data-attr-href' => 'ycd-date-duration',
248
  'value' => 'duration'
249
  ),
304
  'attr' => array(
305
  'type' => 'radio',
306
  'name' => 'ycd-countdown-expire-behavior',
307
+ 'class' => 'ycd-countdown-hide-behavior ycd-form-radio',
308
  'data-attr-href' => 'ycd-countdown-default-behavior',
309
  'value' => 'default'
310
  ),
316
  'attr' => array(
317
  'type' => 'radio',
318
  'name' => 'ycd-countdown-expire-behavior',
319
+ 'class' => 'ycd-countdown-hide-behavior ycd-form-radio',
320
  'data-attr-href' => 'ycd-countdown-hide-behavior',
321
  'value' => 'hideCountdown'
322
  ),
328
  'attr' => array(
329
  'type' => 'radio',
330
  'name' => 'ycd-countdown-expire-behavior',
331
+ 'class' => 'ycd-countdown-show-text ycd-form-radio',
332
  'data-attr-href' => 'ycd-countdown-show-text',
333
  'value' => 'showText'
334
  ),
340
  'attr' => array(
341
  'type' => 'radio',
342
  'name' => 'ycd-countdown-expire-behavior',
343
+ 'class' => 'ycd-countdown-redirect-url ycd-form-radio',
344
  'data-attr-href' => 'ycd-countdown-redirect-url',
345
  'value' => 'redirectToURL'
346
  ),
readme.txt CHANGED
@@ -2,17 +2,17 @@
2
  Contributors: adamskaat
3
  Tags: countdown, timer, countdown timer
4
  Requires at least: 3.8
5
- Tested up to: 5.0.3
6
- Stable tag: 1.3.8
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.
@@ -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 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,18 +53,24 @@ 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.8 =
57
  * New progress bar option
58
  * Admin side text improvement
59
  * Bug fixed
60
 
61
  = 1.3.7 =
62
- * Admin side improvment
63
  * Bug fixed
64
 
65
  = 1.3.6 =
66
  * Gutenberg block (new)
67
- * Html editor countdown button (new)
68
  * Schedule (new)
69
  * Backend side improvement
70
  * Bug fixed
@@ -223,4 +229,4 @@ Coming soon
223
  * Code improvement
224
 
225
  = 1.0 =
226
- * Plugin publish
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.3.9
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.
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.3.9 =
57
+ * Clock 1 colors customizations
58
+ * Shortcode media button conflict fixed
59
+ * Admin side bug fixed
60
+ * Descriptions improvement
61
+
62
  = 1.3.8 =
63
  * New progress bar option
64
  * Admin side text improvement
65
  * Bug fixed
66
 
67
  = 1.3.7 =
68
+ * Admin side improvement
69
  * Bug fixed
70
 
71
  = 1.3.6 =
72
  * Gutenberg block (new)
73
+ * HTML editor countdown button (new)
74
  * Schedule (new)
75
  * Backend side improvement
76
  * Bug fixed
229
  * Code improvement
230
 
231
  = 1.0 =
232
+ * Plugin publish