Coming Soon, Under Construction & Maintenance Page - Version 1.55

Version Description

  • 2019/08/07
  • NotificationX integration
Download this release

Release Info

Developer WebFactory
Plugin Icon 128x128 Coming Soon, Under Construction & Maintenance Page
Version 1.55
Comparing to
See all releases

Code changes from version 1.54 to 1.55

admin/assets/css/ot-admin.css CHANGED
@@ -4075,3 +4075,133 @@ a.ui-datepicker-next {
4075
  background-color: #fafafa;
4076
  display: inline-block;
4077
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4075
  background-color: #fafafa;
4076
  display: inline-block;
4077
  }
4078
+
4079
+
4080
+ /* notificationx upsell dialog */
4081
+ .notificationx-upsell-dialog .ui-dialog-titlebar {
4082
+ background: #5614d5;
4083
+ text-align: center;
4084
+ height: 55px;
4085
+ }
4086
+ .notificationx-upsell-dialog .ui-dialog-titlebar img {
4087
+ height: 32px;
4088
+ display: inline-block;
4089
+ margin: 11px 0 0 0;
4090
+ }
4091
+ .notificationx-upsell-dialog .ui-dialog-titlebar-close {
4092
+ color: #fff;
4093
+ height: 55px;
4094
+ }
4095
+ .notificationx-upsell-dialog .ui-dialog-titlebar-close:hover {
4096
+ color: #333;
4097
+ }
4098
+ .notificationx-upsell-dialog .ui-dialog-content {
4099
+ padding: 0;
4100
+ }
4101
+ .notificationx-upsell-dialog .ui-tabs-nav {
4102
+ text-align: center;
4103
+ }
4104
+ .notificationx-upsell-dialog .ui-tabs .upsell-tab {
4105
+ padding: 20px 15px;
4106
+ text-align: center;
4107
+ }
4108
+ .notificationx-upsell-dialog a {
4109
+ color: #333;
4110
+ }
4111
+ .notificationx-upsell-dialog a:hover {
4112
+ color: #000;
4113
+ }
4114
+ option.notificationx-promo {
4115
+ color: #2980b9;
4116
+ }
4117
+ .notificationx-pro-feature {
4118
+ display: inline-block;
4119
+ width: 32%;
4120
+ background: rgba(128, 128, 128, 0.03);
4121
+ margin: 0 5px 20px 5px;
4122
+ padding: 10px;
4123
+ box-sizing: border-box;
4124
+ vertical-align: top;
4125
+ position: relative;
4126
+ border-top: 1px solid #2980b9;
4127
+ }
4128
+ /* upsell dialog */
4129
+
4130
+ #notificationx-popup{
4131
+ position: fixed;
4132
+ width:280px;
4133
+ bottom: 20px;
4134
+ right: 40px;
4135
+ border: 1px solid black;
4136
+ padding: 20px;
4137
+ background: #FFF;
4138
+ display: none;
4139
+ z-index: 99999;
4140
+ }
4141
+
4142
+ #notificationx-popup:hover{
4143
+ cursor: pointer;
4144
+ }
4145
+
4146
+ #notificationx-popup img{
4147
+ width:64px;
4148
+ }
4149
+
4150
+ .toplevel_page_niftycs-options .notificationx-popup-icon {
4151
+ background: #efefff;
4152
+ padding: 8px 6px 0px 6px;
4153
+ width: 64px;
4154
+ float: left;
4155
+ margin-right: 10px;
4156
+ }
4157
+
4158
+ .toplevel_page_niftycs-options .notificationx-popup-text{
4159
+ float:left;
4160
+ padding:4px;
4161
+ font-weight: bold;
4162
+ }
4163
+
4164
+ .toplevel_page_niftycs-options .notificationx-popup-title {
4165
+ color: #6138bd;
4166
+ font-size: 20px;
4167
+ font-weight: bold;
4168
+ padding: 5px 0px;
4169
+ }
4170
+
4171
+ .toplevel_page_niftycs-options .notificationx-popup-stars .dashicons-star-filled{
4172
+ color:#ecac57;
4173
+ font-size:16px;
4174
+ }
4175
+
4176
+ .notitificationx-popup-desc{
4177
+ width:100%;
4178
+ display: block;
4179
+ clear:both;
4180
+ padding: 6px 0;
4181
+ }
4182
+
4183
+ .notificationx-popup-close{
4184
+ position: absolute;
4185
+ top: 4px;
4186
+ right: 10px;
4187
+ }
4188
+
4189
+ .notificationx-popup-close .dashicons{
4190
+ font-size: 30px;
4191
+ }
4192
+
4193
+ .notificationx-popup-close:hover{
4194
+ color:#CCC;
4195
+ cursor: pointer;
4196
+ }
4197
+
4198
+ .nifty-list {
4199
+ list-style-type: circle;
4200
+ list-style-position: outside;
4201
+ margin-left: 14px;
4202
+ line-height: 150%;
4203
+ }
4204
+
4205
+ .toplevel_page_niftycs-options .upsell-footer{
4206
+ text-align: center;
4207
+ }
admin/assets/images/nx-icon.png ADDED
Binary file
admin/assets/images/nx-logo.png ADDED
Binary file
admin/assets/images/themes/pro/art-gallery.jpg ADDED
Binary file
admin/assets/images/themes/pro/body-transformation.jpg ADDED
Binary file
admin/assets/images/themes/pro/business-meeting-video.jpg ADDED
Binary file
admin/assets/images/themes/pro/healthy-eating.jpg ADDED
Binary file
admin/assets/images/themes/pro/music.jpg ADDED
Binary file
admin/assets/images/themes/pro/podcast.jpg ADDED
Binary file
admin/assets/images/themes/pro/seo-digital-marketing.jpg ADDED
Binary file
admin/assets/images/themes/pro/techexpo.jpg ADDED
Binary file
admin/assets/js/ot-admin.js CHANGED
@@ -1315,6 +1315,70 @@
1315
  return false;
1316
  });
1317
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1318
  });
1319
 
1320
 
1315
  return false;
1316
  });
1317
 
1318
+
1319
+ // upsell dialog init
1320
+ $('#notificationx-upsell-dialog').dialog({'dialogClass': 'wp-dialog notificationx-upsell-dialog',
1321
+ 'modal': 1,
1322
+ 'resizable': false,
1323
+ 'title': 'Display notification bars',
1324
+ 'zIndex': 9999,
1325
+ 'width': 550,
1326
+ 'height': 'auto',
1327
+ 'show': 'fade',
1328
+ 'hide': 'fade',
1329
+ 'open': function(event, ui) {
1330
+ ot_fix_dialog_close(event, ui);
1331
+ $(this).siblings().find('span.ui-dialog-title').html(option_tree.notificationx_dialog_upsell_title);
1332
+ },
1333
+ 'close': function(event, ui) { },
1334
+ 'autoOpen': false,
1335
+ 'closeOnEscape': true
1336
+ });
1337
+ $(window).resize(function(e) {
1338
+ $('#notificationx-upsell-dialog').dialog("option", "position", {my: "center", at: "center", of: window});
1339
+ });
1340
+
1341
+ $('#install-notificationx').on('click',function(e){
1342
+ $('#notificationx-upsell-dialog').dialog('close');
1343
+ $('body').append('<div style="width:550px;height:450px; position:fixed;top:10%;left:50%;margin-left:-275px; color:#444; background-color: #fbfbfb;border:1px solid #DDD; border-radius:4px;box-shadow: 0px 0px 0px 4000px rgba(0, 0, 0, 0.85);z-index: 9999999;"><iframe src="' + option_tree.notificationx_install_url + '" style="width:100%;height:100%;border:none;" /></div>');
1344
+ $('#wpwrap').css('pointer-events', 'none');
1345
+ e.preventDefault();
1346
+ return false;
1347
+ });
1348
+
1349
+ $('.toplevel_page_niftycs-options').on('click', '.open-notificationx-upsell,#setting_display_notificationx_bar .on-off-switch', function(e) {
1350
+ e.preventDefault();
1351
+
1352
+ $(this).blur();
1353
+
1354
+ $('#notificationx-upsell-dialog').dialog('open');
1355
+
1356
+ return false;
1357
+ });
1358
+
1359
+ $('.toplevel_page_niftycs-options').on('click', '#notificationx-popup', function(e) {
1360
+ e.preventDefault();
1361
+
1362
+ $(this).blur();
1363
+
1364
+ $('#notificationx-upsell-dialog').dialog('open');
1365
+
1366
+ return false;
1367
+ });
1368
+
1369
+ var nifty_nx = localStorage.getItem('nifty_nx');
1370
+ if(nifty_nx != 'closed'){
1371
+ $('#notificationx-popup').delay(2000).slideDown(500);
1372
+ }
1373
+
1374
+ $('.toplevel_page_niftycs-options').on('click','.notificationx-popup-close',function(e){
1375
+ e.stopPropagation();
1376
+ $('#notificationx-popup').hide();
1377
+ localStorage.setItem("nifty_nx", 'closed');
1378
+ });
1379
+
1380
+
1381
+
1382
  });
1383
 
1384
 
admin/includes/class-ot-cleanup.php CHANGED
@@ -40,8 +40,25 @@ if ( ! class_exists( 'OT_Cleanup' ) ) {
40
  add_action( 'admin_menu', array( $this, 'maybe_cleanup' ), 100 );
41
 
42
  // Increase timeout if allowed.
43
- add_action( 'ot_pre_consolidate_posts', array( $this, 'increase_timeout' ) );
44
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
 
46
  /**
47
  * Adds the cleanup styles to the admin head
40
  add_action( 'admin_menu', array( $this, 'maybe_cleanup' ), 100 );
41
 
42
  // Increase timeout if allowed.
43
+ add_action( 'ot_pre_consolidate_posts', array( $this, 'increase_timeout' ) );
44
+
45
+ add_action( 'admin_footer', array( $this, 'admin_footer' ) );
46
+ }
47
+
48
+
49
+ public function admin_footer() {
50
+ if(!nifty_is_notificationx_really_setup_and_active()) {
51
+ echo '<div id="notificationx-popup">
52
+ <div class="notificationx-popup-icon"><img alt="Notification X" src="' . OT_URL . '/assets/images/nx-icon.png' . '"></div>
53
+ <div class="notificationx-popup-text">435 people rated <br />
54
+ <div class="notificationx-popup-title">Notification X</div>
55
+ <div class="notificationx-popup-stars"><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span></div>
56
+ </div>
57
+ <div class="notitificationx-popup-desc">Put a notification like this on your page to instantly influence your visitors</div>
58
+ <div class="notificationx-popup-close"><span class="dashicons dashicons-no"></span></div>
59
+ </div>';
60
+ }
61
+ }
62
 
63
  /**
64
  * Adds the cleanup styles to the admin head
admin/includes/class-ot-settings.php CHANGED
@@ -301,6 +301,21 @@ if ( ! class_exists( 'OT_Settings' ) ) {
301
  echo '<div id="rate-plugin">Please help us out by rating Nifty. It only takes a second &amp; it helps to keep the plugin going! <b>Thank you!</b><p><a target="_blank" href="https://wordpress.org/support/plugin/nifty-coming-soon-and-under-construction-page/reviews/#new-post" class="button button-primary">I want to help! Let\'s rate the plugin!</a> &nbsp;&nbsp; <a href="' . $dismiss_url . '">I\'ve already rated Nifty</a></p></div>';
302
  }
303
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
304
  echo '</div>';
305
 
306
  // Navigation.
301
  echo '<div id="rate-plugin">Please help us out by rating Nifty. It only takes a second &amp; it helps to keep the plugin going! <b>Thank you!</b><p><a target="_blank" href="https://wordpress.org/support/plugin/nifty-coming-soon-and-under-construction-page/reviews/#new-post" class="button button-primary">I want to help! Let\'s rate the plugin!</a> &nbsp;&nbsp; <a href="' . $dismiss_url . '">I\'ve already rated Nifty</a></p></div>';
302
  }
303
 
304
+ // notificationx install dialog
305
+ echo '<div id="notificationx-upsell-dialog" style="display: none;" title="NotificationX"><span class="ui-helper-hidden-accessible"><input type="text"/></span>';
306
+ echo '<div style="padding: 20px; font-size: 14px;">';
307
+ echo '<ul class="nifty-list">';
308
+ echo '<li>influence your visitors’ actions using social proof notifications';
309
+ echo '<li>increase your leads, sales & engagements';
310
+ echo '<li>boost conversion rates using 4 different types of notification';
311
+ echo '<li>works out-of-the-box';
312
+ echo '<li>free plugin available from the official WordPress repository';
313
+ echo '</ul>';
314
+ echo '<p class="upsell-footer"><a class="button button-primary" id="install-notificationx">Install &amp; activate NotificationX to display notification bars</a></p>';
315
+ echo '</div>';
316
+ echo '</div>';
317
+ // notificationx install dialog
318
+
319
  echo '</div>';
320
 
321
  // Navigation.
admin/includes/ot-functions-admin.php CHANGED
@@ -754,7 +754,7 @@ if ( ! function_exists( 'ot_validate_setting' ) ) {
754
  $string_error = esc_html__( 'Notice: %1$s was called incorrectly. All stored data must be filtered through %2$s, the %3$s option type is not using this filter. This is required since version %4$s.', 'option-tree' );
755
 
756
  // Log a user notice that things have changed since the last version.
757
- add_settings_error( 'option-tree', 'ot_validate_setting_error', sprintf( $string_error, '<code>ot_validate_setting</code>', '<code>ot_validate_setting_input_safe</code>', '<code>' . $type . '</code>', '<code>2.7.0</code>' ), 'error' );
758
 
759
  $input_safe = '';
760
 
@@ -936,7 +936,7 @@ if ( ! function_exists( 'ot_admin_scripts' ) ) {
936
 
937
  // Load all the required scripts.
938
  wp_enqueue_script('jquery-ui-dialog');
939
- wp_enqueue_script( 'ot-admin-js', OT_URL . 'assets/js/ot-admin.js', array( 'jquery', 'jquery-ui-tabs', 'jquery-ui-sortable', 'jquery-ui-slider', 'wp-color-picker', 'ace-editor', 'jquery-ui-datepicker', 'jquery-ui-timepicker' ), OT_VERSION, false );
940
 
941
  // Create localized JS array.
942
  $localized_array = array(
@@ -955,11 +955,13 @@ if ( ! function_exists( 'ot_admin_scripts' ) ) {
955
  'confirm' => esc_html__( 'Are you sure you want to delete this Gallery?', 'option-tree' ),
956
  'date_current' => esc_html__( 'Today', 'option-tree' ),
957
  'date_time_current' => esc_html__( 'Now', 'option-tree' ),
958
- 'date_close' => esc_html__( 'Close', 'option-tree' ),
 
 
959
  'replace' => esc_html__( 'Featured Image', 'option-tree' ),
960
- 'with' => esc_html__( 'Image', 'option-tree' ),
961
- 'weforms_dialog_upsell_title' => '<img alt="' . __('weForms', 'option-tree') . '" title="' . __('weForms', 'option-tree') . '" src="' . OT_URL . '/assets/images/weforms-logo-white.png' . '">',
962
- 'weforms_install_url' => add_query_arg(array('action' => 'install_weforms'), admin_url('admin.php')),
963
  );
964
 
965
  // Localized script attached to 'option_tree'.
754
  $string_error = esc_html__( 'Notice: %1$s was called incorrectly. All stored data must be filtered through %2$s, the %3$s option type is not using this filter. This is required since version %4$s.', 'option-tree' );
755
 
756
  // Log a user notice that things have changed since the last version.
757
+ //add_settings_error( 'option-tree', 'ot_validate_setting_error', sprintf( $string_error, '<code>ot_validate_setting</code>', '<code>ot_validate_setting_input_safe</code>', '<code>' . $type . '</code>', '<code>2.7.0</code>' ), 'error' );
758
 
759
  $input_safe = '';
760
 
936
 
937
  // Load all the required scripts.
938
  wp_enqueue_script('jquery-ui-dialog');
939
+ wp_enqueue_script( 'ot-admin-js', OT_URL . 'assets/js/ot-admin.js', array( 'jquery', 'jquery-ui-tabs', 'jquery-ui-sortable', 'jquery-ui-slider', 'wp-color-picker', 'ace-editor', 'jquery-ui-datepicker', 'jquery-ui-timepicker','jquery-ui-dialog' ), OT_VERSION, false );
940
 
941
  // Create localized JS array.
942
  $localized_array = array(
955
  'confirm' => esc_html__( 'Are you sure you want to delete this Gallery?', 'option-tree' ),
956
  'date_current' => esc_html__( 'Today', 'option-tree' ),
957
  'date_time_current' => esc_html__( 'Now', 'option-tree' ),
958
+ 'date_close' => esc_html__( 'Close', 'option-tree' ),
959
+ 'notificationx_dialog_upsell_title' => '<img alt="' . __('NotificationX', 'option-tree') . '" title="' . __('NotificationX', 'option-tree') . '" src="' . OT_URL . '/assets/images/nx-logo.png' . '">',
960
+ 'notificationx_install_url' => add_query_arg(array('action' => 'install_notificationx'), admin_url('admin.php')),
961
  'replace' => esc_html__( 'Featured Image', 'option-tree' ),
962
+ 'with' => esc_html__( 'Image', 'option-tree' ),
963
+ 'weforms_dialog_upsell_title' => '<img alt="' . __('weForms', 'option-tree') . '" title="' . __('weForms', 'option-tree') . '" src="' . OT_URL . '/assets/images/weforms-logo-white.png' . '">',
964
+ 'weforms_install_url' => add_query_arg(array('action' => 'install_weforms'), admin_url('admin.php')),
965
  );
966
 
967
  // Localized script attached to 'option_tree'.
admin/includes/ot-functions-compat.php CHANGED
@@ -30,6 +30,8 @@ add_filter( 'ot_measurement_unit_types', 'compat_ot_measurement_unit_ty
30
  if ( ! function_exists( 'compat_ot_import_from_files' ) ) {
31
 
32
  function compat_ot_import_from_files() {
 
 
33
 
34
  /* file path & name without extention */
35
  $ot_xml = '/option-tree/theme-options.xml';
30
  if ( ! function_exists( 'compat_ot_import_from_files' ) ) {
31
 
32
  function compat_ot_import_from_files() {
33
+
34
+ delete_transient('_nx_meta_activation_notice');
35
 
36
  /* file path & name without extention */
37
  $ot_xml = '/option-tree/theme-options.xml';
admin/includes/ot-functions-option-types.php CHANGED
@@ -3224,4 +3224,73 @@ if ( ! function_exists( 'ot_type_weforms' ) ) {
3224
 
3225
  }
3226
 
3227
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3224
 
3225
  }
3226
 
3227
+ }
3228
+
3229
+
3230
+ /**
3231
+ * weForms option type.
3232
+ *
3233
+ * See @ot_display_by_type to see the full list of available arguments.
3234
+ *
3235
+ * @param array An array of arguments.
3236
+ * @return string
3237
+ *
3238
+ * @access public
3239
+ * @since 2.0
3240
+ */
3241
+ if ( ! function_exists( 'ot_type_notificationx' ) ) {
3242
+
3243
+ function ot_type_notificationx( $args = array() ) {
3244
+
3245
+ /* turns arguments array into variables */
3246
+ extract( $args );
3247
+
3248
+ /* verify a description */
3249
+ $has_desc = $field_desc ? true : false;
3250
+
3251
+ /* format setting outer wrapper */
3252
+ echo '<div class="format-setting type-custom-post-type-select ' . ( $has_desc ? 'has-desc' : 'no-desc' ) . '">';
3253
+
3254
+ /* description */
3255
+ echo '<div class="description"> '.$field_desc.' </div>';
3256
+
3257
+ /* format setting inner wrapper */
3258
+ echo '<div class="format-setting-inner">';
3259
+
3260
+ $nx_args = array (
3261
+ 'post_type' => array( 'notificationx' ),
3262
+ 'post_status' => array( 'publish' ),
3263
+ 'nopaging' => true,
3264
+ 'order' => 'ASC',
3265
+ );
3266
+ $nx_notifications = get_posts( $nx_args );
3267
+ $nx_notifications_dd = array();
3268
+
3269
+ if(count($nx_notifications)>0){
3270
+ foreach($nx_notifications as $nx_notification){
3271
+ $nx_notifications_dd[] = array('val' => $nx_notification->ID, 'label' => strlen($nx_notification->post_title)?$nx_notification->post_title:'NotificationX '.$nx_notification->ID.' (no title)');
3272
+ }
3273
+ } else {
3274
+ $nx_notifications_dd = false;
3275
+ }
3276
+
3277
+
3278
+ if ($nx_notifications_dd) {
3279
+ echo '<select name="' . esc_attr( $field_name ) . '" id="' . esc_attr( $field_id ) . '" class="option-tree-ui-select ' . $field_class . '">';
3280
+ echo '<option value="-1">none</option>';
3281
+ foreach($nx_notifications_dd as $nx_notification){
3282
+ echo '<option value="' . $nx_notification['val'] . '"' . selected( $field_value, $nx_notification['val'], false ) . '>' . $nx_notification['label'] . '</option>';
3283
+ }
3284
+ echo '<option value="all" '.($field_value == 'all'?'selected':'').'>Show all</option>';
3285
+ echo '</select>';
3286
+ } else {
3287
+ echo '<p><a href="' . admin_url('post-new.php?post_type=notificationx') . '">Create your first notification</a></p>';
3288
+ }
3289
+ echo '</div>';
3290
+
3291
+ echo '</div>';
3292
+
3293
+ }
3294
+
3295
+ }
3296
+
admin/main-options.php CHANGED
@@ -60,7 +60,6 @@ function admin_action_dismiss_notice() {
60
  function ot_type_custom_themes() {
61
  $themes =
62
 
63
-
64
  array (
65
  0 =>
66
  array (
@@ -118,6 +117,17 @@ function ot_type_custom_themes() {
118
  'name_clean' => 'architecture',
119
  ),
120
  5 =>
 
 
 
 
 
 
 
 
 
 
 
121
  array (
122
  'type' => 'CSMM PRO',
123
  'version' => '15.17',
@@ -128,7 +138,7 @@ function ot_type_custom_themes() {
128
  'status' => 'agency',
129
  'name_clean' => 'auto-service',
130
  ),
131
- 6 =>
132
  array (
133
  'type' => 'CSMM PRO',
134
  'version' => '15.17',
@@ -139,7 +149,7 @@ function ot_type_custom_themes() {
139
  'status' => 'pro',
140
  'name_clean' => 'beach',
141
  ),
142
- 7 =>
143
  array (
144
  'type' => 'CSMM PRO',
145
  'version' => '5.05',
@@ -150,7 +160,7 @@ function ot_type_custom_themes() {
150
  'status' => 'agency',
151
  'name_clean' => 'bicycle-race',
152
  ),
153
- 8 =>
154
  array (
155
  'type' => 'CSMM PRO',
156
  'version' => '15.17',
@@ -161,7 +171,7 @@ function ot_type_custom_themes() {
161
  'status' => 'pro',
162
  'name_clean' => 'bike-shop',
163
  ),
164
- 9 =>
165
  array (
166
  'type' => 'CSMM PRO',
167
  'version' => '5.005',
@@ -172,7 +182,7 @@ function ot_type_custom_themes() {
172
  'status' => 'agency',
173
  'name_clean' => 'bitcoin-miners',
174
  ),
175
- 10 =>
176
  array (
177
  'type' => 'CSMM PRO',
178
  'version' => '15.17',
@@ -183,7 +193,7 @@ function ot_type_custom_themes() {
183
  'status' => 'agency',
184
  'name_clean' => 'blogging',
185
  ),
186
- 11 =>
187
  array (
188
  'type' => 'CSMM PRO',
189
  'version' => '15.17',
@@ -194,7 +204,18 @@ function ot_type_custom_themes() {
194
  'status' => 'agency',
195
  'name_clean' => 'blue-ocean',
196
  ),
197
- 12 =>
 
 
 
 
 
 
 
 
 
 
 
198
  array (
199
  'type' => 'CSMM PRO',
200
  'version' => '5.005',
@@ -205,7 +226,7 @@ function ot_type_custom_themes() {
205
  'status' => 'agency',
206
  'name_clean' => 'book-lovers',
207
  ),
208
- 13 =>
209
  array (
210
  'type' => 'CSMM PRO',
211
  'version' => '5.001',
@@ -216,7 +237,18 @@ function ot_type_custom_themes() {
216
  'status' => 'agency',
217
  'name_clean' => 'business-company',
218
  ),
219
- 14 =>
 
 
 
 
 
 
 
 
 
 
 
220
  array (
221
  'type' => 'CSMM PRO',
222
  'version' => '15.17',
@@ -227,7 +259,7 @@ function ot_type_custom_themes() {
227
  'status' => 'agency',
228
  'name_clean' => 'business',
229
  ),
230
- 15 =>
231
  array (
232
  'type' => 'CSMM PRO',
233
  'version' => '15.17',
@@ -238,7 +270,7 @@ function ot_type_custom_themes() {
238
  'status' => 'agency',
239
  'name_clean' => 'cafe',
240
  ),
241
- 16 =>
242
  array (
243
  'type' => 'CSMM PRO',
244
  'version' => '15.17',
@@ -249,7 +281,7 @@ function ot_type_custom_themes() {
249
  'status' => 'pro',
250
  'name_clean' => 'city-nighttime',
251
  ),
252
- 17 =>
253
  array (
254
  'type' => 'CSMM PRO',
255
  'version' => '15.17',
@@ -260,7 +292,7 @@ function ot_type_custom_themes() {
260
  'status' => 'agency',
261
  'name_clean' => 'cityscape',
262
  ),
263
- 18 =>
264
  array (
265
  'type' => 'CSMM PRO',
266
  'version' => '5.14',
@@ -271,7 +303,7 @@ function ot_type_custom_themes() {
271
  'status' => 'agency',
272
  'name_clean' => 'clouds-screensaver-video',
273
  ),
274
- 19 =>
275
  array (
276
  'type' => 'CSMM PRO',
277
  'version' => '5.005',
@@ -282,7 +314,7 @@ function ot_type_custom_themes() {
282
  'status' => 'agency',
283
  'name_clean' => 'coffee-shop',
284
  ),
285
- 20 =>
286
  array (
287
  'type' => 'CSMM PRO',
288
  'version' => '15.17',
@@ -293,7 +325,7 @@ function ot_type_custom_themes() {
293
  'status' => 'agency',
294
  'name_clean' => 'cold-lake',
295
  ),
296
- 21 =>
297
  array (
298
  'type' => 'CSMM PRO',
299
  'version' => '15.17',
@@ -304,7 +336,7 @@ function ot_type_custom_themes() {
304
  'status' => 'agency',
305
  'name_clean' => 'computer-repair-service',
306
  ),
307
- 22 =>
308
  array (
309
  'type' => 'CSMM PRO',
310
  'version' => '15.17',
@@ -315,7 +347,7 @@ function ot_type_custom_themes() {
315
  'status' => 'pro',
316
  'name_clean' => 'concert',
317
  ),
318
- 23 =>
319
  array (
320
  'type' => 'CSMM PRO',
321
  'version' => '15.17',
@@ -326,7 +358,7 @@ function ot_type_custom_themes() {
326
  'status' => 'pro',
327
  'name_clean' => 'conference-event',
328
  ),
329
- 24 =>
330
  array (
331
  'type' => 'CSMM PRO',
332
  'version' => '15.17',
@@ -337,7 +369,7 @@ function ot_type_custom_themes() {
337
  'status' => 'agency',
338
  'name_clean' => 'custom-decor',
339
  ),
340
- 25 =>
341
  array (
342
  'type' => 'CSMM PRO',
343
  'version' => '5.005',
@@ -348,7 +380,7 @@ function ot_type_custom_themes() {
348
  'status' => 'pro',
349
  'name_clean' => 'default',
350
  ),
351
- 26 =>
352
  array (
353
  'type' => 'CSMM PRO',
354
  'version' => '15.17',
@@ -359,7 +391,7 @@ function ot_type_custom_themes() {
359
  'status' => 'agency',
360
  'name_clean' => 'dental-clinic',
361
  ),
362
- 27 =>
363
  array (
364
  'type' => 'CSMM PRO',
365
  'version' => '15.17',
@@ -370,7 +402,7 @@ function ot_type_custom_themes() {
370
  'status' => 'pro',
371
  'name_clean' => 'dog-shelter',
372
  ),
373
- 28 =>
374
  array (
375
  'type' => 'CSMM PRO',
376
  'version' => '5.001',
@@ -381,7 +413,7 @@ function ot_type_custom_themes() {
381
  'status' => 'agency',
382
  'name_clean' => 'dog-training-and-behavior-consulting',
383
  ),
384
- 29 =>
385
  array (
386
  'type' => 'CSMM PRO',
387
  'version' => '15.17',
@@ -392,7 +424,7 @@ function ot_type_custom_themes() {
392
  'status' => 'pro',
393
  'name_clean' => 'employment',
394
  ),
395
- 30 =>
396
  array (
397
  'type' => 'CSMM PRO',
398
  'version' => '15.17',
@@ -403,7 +435,7 @@ function ot_type_custom_themes() {
403
  'status' => 'agency',
404
  'name_clean' => 'essay-writing-service',
405
  ),
406
- 31 =>
407
  array (
408
  'type' => 'CSMM PRO',
409
  'version' => '15.17',
@@ -414,7 +446,7 @@ function ot_type_custom_themes() {
414
  'status' => 'pro',
415
  'name_clean' => 'fall-video',
416
  ),
417
- 32 =>
418
  array (
419
  'type' => 'CSMM PRO',
420
  'version' => '15.17',
@@ -425,7 +457,7 @@ function ot_type_custom_themes() {
425
  'status' => 'agency',
426
  'name_clean' => 'fashion',
427
  ),
428
- 33 =>
429
  array (
430
  'type' => 'CSMM PRO',
431
  'version' => '15.17',
@@ -436,7 +468,7 @@ function ot_type_custom_themes() {
436
  'status' => 'pro',
437
  'name_clean' => 'financial-district',
438
  ),
439
- 34 =>
440
  array (
441
  'type' => 'CSMM PRO',
442
  'version' => '15.05',
@@ -447,7 +479,7 @@ function ot_type_custom_themes() {
447
  'status' => 'agency',
448
  'name_clean' => 'flower-shop',
449
  ),
450
- 35 =>
451
  array (
452
  'type' => 'CSMM PRO',
453
  'version' => '15.17',
@@ -458,7 +490,7 @@ function ot_type_custom_themes() {
458
  'status' => 'pro',
459
  'name_clean' => 'food-blog',
460
  ),
461
- 36 =>
462
  array (
463
  'type' => 'CSMM PRO',
464
  'version' => '15.17',
@@ -469,7 +501,7 @@ function ot_type_custom_themes() {
469
  'status' => 'pro',
470
  'name_clean' => 'football',
471
  ),
472
- 37 =>
473
  array (
474
  'type' => 'CSMM PRO',
475
  'version' => '15.17',
@@ -480,7 +512,7 @@ function ot_type_custom_themes() {
480
  'status' => 'pro',
481
  'name_clean' => 'frozen-nature',
482
  ),
483
- 38 =>
484
  array (
485
  'type' => 'CSMM PRO',
486
  'version' => '15.17',
@@ -491,7 +523,7 @@ function ot_type_custom_themes() {
491
  'status' => 'pro',
492
  'name_clean' => 'future-technology',
493
  ),
494
- 39 =>
495
  array (
496
  'type' => 'CSMM PRO',
497
  'version' => '15.17',
@@ -502,7 +534,18 @@ function ot_type_custom_themes() {
502
  'status' => 'pro',
503
  'name_clean' => 'halloween',
504
  ),
505
- 40 =>
 
 
 
 
 
 
 
 
 
 
 
506
  array (
507
  'type' => 'CSMM PRO',
508
  'version' => '15.17',
@@ -513,7 +556,7 @@ function ot_type_custom_themes() {
513
  'status' => 'pro',
514
  'name_clean' => 'holiday-resort',
515
  ),
516
- 41 =>
517
  array (
518
  'type' => 'CSMM PRO',
519
  'version' => '15.17',
@@ -524,7 +567,7 @@ function ot_type_custom_themes() {
524
  'status' => 'pro',
525
  'name_clean' => 'homemade-chocolate-gifts',
526
  ),
527
- 42 =>
528
  array (
529
  'type' => 'CSMM PRO',
530
  'version' => '15.17',
@@ -535,7 +578,7 @@ function ot_type_custom_themes() {
535
  'status' => 'pro',
536
  'name_clean' => 'ice-cream-shop',
537
  ),
538
- 43 =>
539
  array (
540
  'type' => 'CSMM PRO',
541
  'version' => '15.05',
@@ -546,7 +589,7 @@ function ot_type_custom_themes() {
546
  'status' => 'agency',
547
  'name_clean' => 'interior-design',
548
  ),
549
- 44 =>
550
  array (
551
  'type' => 'CSMM PRO',
552
  'version' => '5.14',
@@ -557,7 +600,7 @@ function ot_type_custom_themes() {
557
  'status' => 'agency',
558
  'name_clean' => 'journey-video',
559
  ),
560
- 45 =>
561
  array (
562
  'type' => 'CSMM PRO',
563
  'version' => '15.17',
@@ -568,7 +611,7 @@ function ot_type_custom_themes() {
568
  'status' => 'agency',
569
  'name_clean' => 'ladies-accessories',
570
  ),
571
- 46 =>
572
  array (
573
  'type' => 'CSMM PRO',
574
  'version' => '15.17',
@@ -579,7 +622,7 @@ function ot_type_custom_themes() {
579
  'status' => 'pro',
580
  'name_clean' => 'lego-bricks',
581
  ),
582
- 47 =>
583
  array (
584
  'type' => 'CSMM PRO',
585
  'version' => '15.17',
@@ -590,7 +633,7 @@ function ot_type_custom_themes() {
590
  'status' => 'agency',
591
  'name_clean' => 'loneliness',
592
  ),
593
- 48 =>
594
  array (
595
  'type' => 'CSMM PRO',
596
  'version' => '15.17',
@@ -601,7 +644,7 @@ function ot_type_custom_themes() {
601
  'status' => 'agency',
602
  'name_clean' => 'lonely-road',
603
  ),
604
- 49 =>
605
  array (
606
  'type' => 'CSMM PRO',
607
  'version' => '15.17',
@@ -612,7 +655,7 @@ function ot_type_custom_themes() {
612
  'status' => 'pro',
613
  'name_clean' => 'luxury-car',
614
  ),
615
- 50 =>
616
  array (
617
  'type' => 'CSMM PRO',
618
  'version' => '5.005',
@@ -623,7 +666,7 @@ function ot_type_custom_themes() {
623
  'status' => 'pro',
624
  'name_clean' => 'maintenance-mode',
625
  ),
626
- 51 =>
627
  array (
628
  'type' => 'CSMM PRO',
629
  'version' => '5.005',
@@ -634,7 +677,7 @@ function ot_type_custom_themes() {
634
  'status' => 'agency',
635
  'name_clean' => 'makeup-artist-training',
636
  ),
637
- 52 =>
638
  array (
639
  'type' => 'CSMM PRO',
640
  'version' => '15.17',
@@ -645,7 +688,7 @@ function ot_type_custom_themes() {
645
  'status' => 'pro',
646
  'name_clean' => 'misty-forest-video',
647
  ),
648
- 53 =>
649
  array (
650
  'type' => 'CSMM PRO',
651
  'version' => '15.17',
@@ -656,7 +699,7 @@ function ot_type_custom_themes() {
656
  'status' => 'agency',
657
  'name_clean' => 'mobile-designer',
658
  ),
659
- 54 =>
660
  array (
661
  'type' => 'CSMM PRO',
662
  'version' => '15.17',
@@ -667,7 +710,7 @@ function ot_type_custom_themes() {
667
  'status' => 'agency',
668
  'name_clean' => 'mobile-meeting',
669
  ),
670
- 55 =>
671
  array (
672
  'type' => 'CSMM PRO',
673
  'version' => '5.005',
@@ -678,7 +721,7 @@ function ot_type_custom_themes() {
678
  'status' => 'pro',
679
  'name_clean' => 'modern-blog',
680
  ),
681
- 56 =>
682
  array (
683
  'type' => 'CSMM PRO',
684
  'version' => '15.05',
@@ -689,7 +732,7 @@ function ot_type_custom_themes() {
689
  'status' => 'agency',
690
  'name_clean' => 'modern-office',
691
  ),
692
- 57 =>
693
  array (
694
  'type' => 'CSMM PRO',
695
  'version' => '15.17',
@@ -700,7 +743,7 @@ function ot_type_custom_themes() {
700
  'status' => 'agency',
701
  'name_clean' => 'modern-recipes',
702
  ),
703
- 58 =>
704
  array (
705
  'type' => 'CSMM PRO',
706
  'version' => '15.17',
@@ -711,7 +754,7 @@ function ot_type_custom_themes() {
711
  'status' => 'pro',
712
  'name_clean' => 'mountain-slide',
713
  ),
714
- 59 =>
715
  array (
716
  'type' => 'CSMM PRO',
717
  'version' => '5.05',
@@ -722,7 +765,7 @@ function ot_type_custom_themes() {
722
  'status' => 'pro',
723
  'name_clean' => 'mountain',
724
  ),
725
- 60 =>
726
  array (
727
  'type' => 'CSMM PRO',
728
  'version' => '15.17',
@@ -733,7 +776,18 @@ function ot_type_custom_themes() {
733
  'status' => 'pro',
734
  'name_clean' => 'movie-trailer-video',
735
  ),
736
- 61 =>
 
 
 
 
 
 
 
 
 
 
 
737
  array (
738
  'type' => 'CSMM PRO',
739
  'version' => '15.05',
@@ -744,7 +798,7 @@ function ot_type_custom_themes() {
744
  'status' => 'agency',
745
  'name_clean' => 'nature',
746
  ),
747
- 62 =>
748
  array (
749
  'type' => 'CSMM PRO',
750
  'version' => '5.14',
@@ -755,7 +809,7 @@ function ot_type_custom_themes() {
755
  'status' => 'agency',
756
  'name_clean' => 'office-meeting-video',
757
  ),
758
- 63 =>
759
  array (
760
  'type' => 'CSMM PRO',
761
  'version' => '15.05',
@@ -766,7 +820,7 @@ function ot_type_custom_themes() {
766
  'status' => 'agency',
767
  'name_clean' => 'office-theme',
768
  ),
769
- 64 =>
770
  array (
771
  'type' => 'CSMM PRO',
772
  'version' => '5.005',
@@ -777,7 +831,7 @@ function ot_type_custom_themes() {
777
  'status' => 'agency',
778
  'name_clean' => 'online-learning',
779
  ),
780
- 65 =>
781
  array (
782
  'type' => 'CSMM PRO',
783
  'version' => '15.17',
@@ -788,7 +842,7 @@ function ot_type_custom_themes() {
788
  'status' => 'pro',
789
  'name_clean' => 'pancake-house',
790
  ),
791
- 66 =>
792
  array (
793
  'type' => 'CSMM PRO',
794
  'version' => '15.17',
@@ -799,7 +853,7 @@ function ot_type_custom_themes() {
799
  'status' => 'pro',
800
  'name_clean' => 'parenting',
801
  ),
802
- 67 =>
803
  array (
804
  'type' => 'CSMM PRO',
805
  'version' => '15.17',
@@ -810,7 +864,7 @@ function ot_type_custom_themes() {
810
  'status' => 'pro',
811
  'name_clean' => 'passage',
812
  ),
813
- 68 =>
814
  array (
815
  'type' => 'CSMM PRO',
816
  'version' => '15.17',
@@ -821,7 +875,7 @@ function ot_type_custom_themes() {
821
  'status' => 'agency',
822
  'name_clean' => 'peaceful-river',
823
  ),
824
- 69 =>
825
  array (
826
  'type' => 'CSMM PRO',
827
  'version' => '15.17',
@@ -832,7 +886,7 @@ function ot_type_custom_themes() {
832
  'status' => 'pro',
833
  'name_clean' => 'personal-trainer',
834
  ),
835
- 70 =>
836
  array (
837
  'type' => 'CSMM PRO',
838
  'version' => '15.17',
@@ -843,7 +897,18 @@ function ot_type_custom_themes() {
843
  'status' => 'agency',
844
  'name_clean' => 'photography',
845
  ),
846
- 71 =>
 
 
 
 
 
 
 
 
 
 
 
847
  array (
848
  'type' => 'CSMM PRO',
849
  'version' => '15.17',
@@ -854,7 +919,7 @@ function ot_type_custom_themes() {
854
  'status' => 'agency',
855
  'name_clean' => 'romantic-travels',
856
  ),
857
- 72 =>
858
  array (
859
  'type' => 'CSMM PRO',
860
  'version' => '15.17',
@@ -865,7 +930,7 @@ function ot_type_custom_themes() {
865
  'status' => 'agency',
866
  'name_clean' => 'running-blog',
867
  ),
868
- 73 =>
869
  array (
870
  'type' => 'CSMM PRO',
871
  'version' => '15.14',
@@ -876,7 +941,7 @@ function ot_type_custom_themes() {
876
  'status' => 'pro',
877
  'name_clean' => 'running-video',
878
  ),
879
- 74 =>
880
  array (
881
  'type' => 'CSMM PRO',
882
  'version' => '15.17',
@@ -887,7 +952,18 @@ function ot_type_custom_themes() {
887
  'status' => 'agency',
888
  'name_clean' => 'scholar-university',
889
  ),
890
- 75 =>
 
 
 
 
 
 
 
 
 
 
 
891
  array (
892
  'type' => 'CSMM PRO',
893
  'version' => '5.005',
@@ -898,7 +974,7 @@ function ot_type_custom_themes() {
898
  'status' => 'agency',
899
  'name_clean' => 'shoes-store',
900
  ),
901
- 76 =>
902
  array (
903
  'type' => 'CSMM PRO',
904
  'version' => '15.17',
@@ -909,7 +985,7 @@ function ot_type_custom_themes() {
909
  'status' => 'pro',
910
  'name_clean' => 'simple-beige-design',
911
  ),
912
- 77 =>
913
  array (
914
  'type' => 'CSMM PRO',
915
  'version' => '15.17',
@@ -920,7 +996,7 @@ function ot_type_custom_themes() {
920
  'status' => 'pro',
921
  'name_clean' => 'snow-screensaver-video',
922
  ),
923
- 78 =>
924
  array (
925
  'type' => 'CSMM PRO',
926
  'version' => '15.17',
@@ -931,7 +1007,7 @@ function ot_type_custom_themes() {
931
  'status' => 'pro',
932
  'name_clean' => 'snowboarding-blog',
933
  ),
934
- 79 =>
935
  array (
936
  'type' => 'CSMM PRO',
937
  'version' => '15.17',
@@ -942,7 +1018,7 @@ function ot_type_custom_themes() {
942
  'status' => 'pro',
943
  'name_clean' => 'snowy-mountain',
944
  ),
945
- 80 =>
946
  array (
947
  'type' => 'CSMM PRO',
948
  'version' => '15.17',
@@ -953,7 +1029,7 @@ function ot_type_custom_themes() {
953
  'status' => 'pro',
954
  'name_clean' => 'snowy-oasis',
955
  ),
956
- 81 =>
957
  array (
958
  'type' => 'CSMM PRO',
959
  'version' => '15.17',
@@ -964,7 +1040,7 @@ function ot_type_custom_themes() {
964
  'status' => 'agency',
965
  'name_clean' => 'social-media-service',
966
  ),
967
- 82 =>
968
  array (
969
  'type' => 'CSMM PRO',
970
  'version' => '15.17',
@@ -975,7 +1051,7 @@ function ot_type_custom_themes() {
975
  'status' => 'agency',
976
  'name_clean' => 'spa-beauty-studio',
977
  ),
978
- 83 =>
979
  array (
980
  'type' => 'CSMM PRO',
981
  'version' => '15.17',
@@ -986,7 +1062,7 @@ function ot_type_custom_themes() {
986
  'status' => 'agency',
987
  'name_clean' => 'spa',
988
  ),
989
- 84 =>
990
  array (
991
  'type' => 'CSMM PRO',
992
  'version' => '15.17',
@@ -997,7 +1073,7 @@ function ot_type_custom_themes() {
997
  'status' => 'agency',
998
  'name_clean' => 'spring',
999
  ),
1000
- 85 =>
1001
  array (
1002
  'type' => 'CSMM PRO',
1003
  'version' => '15.17',
@@ -1008,7 +1084,7 @@ function ot_type_custom_themes() {
1008
  'status' => 'pro',
1009
  'name_clean' => 'startup',
1010
  ),
1011
- 86 =>
1012
  array (
1013
  'type' => 'CSMM PRO',
1014
  'version' => '15.17',
@@ -1019,7 +1095,18 @@ function ot_type_custom_themes() {
1019
  'status' => 'pro',
1020
  'name_clean' => 'stylish-workplace',
1021
  ),
1022
- 87 =>
 
 
 
 
 
 
 
 
 
 
 
1023
  array (
1024
  'type' => 'CSMM PRO',
1025
  'version' => '15.17',
@@ -1030,7 +1117,7 @@ function ot_type_custom_themes() {
1030
  'status' => 'agency',
1031
  'name_clean' => 'the-big-city-newsletter',
1032
  ),
1033
- 88 =>
1034
  array (
1035
  'type' => 'CSMM PRO',
1036
  'version' => '5.14',
@@ -1041,7 +1128,7 @@ function ot_type_custom_themes() {
1041
  'status' => 'pro',
1042
  'name_clean' => 'the-sunny-view',
1043
  ),
1044
- 89 =>
1045
  array (
1046
  'type' => 'CSMM PRO',
1047
  'version' => '5.001',
@@ -1052,7 +1139,7 @@ function ot_type_custom_themes() {
1052
  'status' => 'pro',
1053
  'name_clean' => 'travel-agency',
1054
  ),
1055
- 90 =>
1056
  array (
1057
  'type' => 'CSMM PRO',
1058
  'version' => '15.05',
@@ -1063,7 +1150,7 @@ function ot_type_custom_themes() {
1063
  'status' => 'agency',
1064
  'name_clean' => 'travel-blog',
1065
  ),
1066
- 91 =>
1067
  array (
1068
  'type' => 'CSMM PRO',
1069
  'version' => '15.17',
@@ -1074,7 +1161,7 @@ function ot_type_custom_themes() {
1074
  'status' => 'agency',
1075
  'name_clean' => 'tulips',
1076
  ),
1077
- 92 =>
1078
  array (
1079
  'type' => 'CSMM PRO',
1080
  'version' => '15.17',
@@ -1085,7 +1172,7 @@ function ot_type_custom_themes() {
1085
  'status' => 'pro',
1086
  'name_clean' => 'valentines-day',
1087
  ),
1088
- 93 =>
1089
  array (
1090
  'type' => 'CSMM PRO',
1091
  'version' => '5.001',
@@ -1096,7 +1183,7 @@ function ot_type_custom_themes() {
1096
  'status' => 'pro',
1097
  'name_clean' => 'video-production',
1098
  ),
1099
- 94 =>
1100
  array (
1101
  'type' => 'CSMM PRO',
1102
  'version' => '15.17',
@@ -1107,7 +1194,7 @@ function ot_type_custom_themes() {
1107
  'status' => 'agency',
1108
  'name_clean' => 'virtual-assistant-service',
1109
  ),
1110
- 95 =>
1111
  array (
1112
  'type' => 'CSMM PRO',
1113
  'version' => '15.17',
@@ -1118,7 +1205,7 @@ function ot_type_custom_themes() {
1118
  'status' => 'pro',
1119
  'name_clean' => 'walking-away-video',
1120
  ),
1121
- 96 =>
1122
  array (
1123
  'type' => 'CSMM PRO',
1124
  'version' => '5.005',
@@ -1129,7 +1216,7 @@ function ot_type_custom_themes() {
1129
  'status' => 'agency',
1130
  'name_clean' => 'webinar',
1131
  ),
1132
- 97 =>
1133
  array (
1134
  'type' => 'CSMM PRO',
1135
  'version' => '5.005',
@@ -1140,7 +1227,7 @@ function ot_type_custom_themes() {
1140
  'status' => 'agency',
1141
  'name_clean' => 'wedding-blog',
1142
  ),
1143
- 98 =>
1144
  array (
1145
  'type' => 'CSMM PRO',
1146
  'version' => '15.17',
@@ -1151,7 +1238,7 @@ function ot_type_custom_themes() {
1151
  'status' => 'pro',
1152
  'name_clean' => 'white-orchids',
1153
  ),
1154
- 99 =>
1155
  array (
1156
  'type' => 'CSMM PRO',
1157
  'version' => '5.14',
@@ -1162,7 +1249,7 @@ function ot_type_custom_themes() {
1162
  'status' => 'agency',
1163
  'name_clean' => 'working-out',
1164
  ),
1165
- 100 =>
1166
  array (
1167
  'type' => 'CSMM PRO',
1168
  'version' => '15.05',
@@ -1173,7 +1260,7 @@ function ot_type_custom_themes() {
1173
  'status' => 'agency',
1174
  'name_clean' => 'workplace',
1175
  ),
1176
- 101 =>
1177
  array (
1178
  'type' => 'CSMM PRO',
1179
  'version' => '15.17',
@@ -1186,6 +1273,8 @@ function ot_type_custom_themes() {
1186
  ),
1187
  );
1188
 
 
 
1189
  $path = plugins_url('', __FILE__);
1190
 
1191
  echo '<p style="font-size: 16px;">No time to create the perfect page? No worries! We have <b>over 100 perfect themes</b> for you to choose from. <b>Grab any theme with a 25% DISCOUNT!</b></p>';
@@ -1267,6 +1356,29 @@ function ot_type_custom_themes() {
1267
  }
1268
 
1269
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1270
  $custom_settings = array(
1271
  'contextual_help' => array(
1272
  'sidebar' => ''
@@ -1336,6 +1448,7 @@ function ot_type_custom_themes() {
1336
  'condition' => '',
1337
  'operator' => 'and'
1338
  ),
 
1339
  array(
1340
  'id' => 'display_count_down_timer',
1341
  'label' => 'Display count down timer',
60
  function ot_type_custom_themes() {
61
  $themes =
62
 
 
63
  array (
64
  0 =>
65
  array (
117
  'name_clean' => 'architecture',
118
  ),
119
  5 =>
120
+ array (
121
+ 'type' => 'CSMM PRO',
122
+ 'version' => '15.17',
123
+ 'last_edit' => 'Sun, 07 Jul 2019 16:22:50 +0000',
124
+ 'name' => 'Art Gallery',
125
+ 'description' => '',
126
+ 'frontpage' => '1',
127
+ 'status' => 'pro',
128
+ 'name_clean' => 'art-gallery',
129
+ ),
130
+ 6 =>
131
  array (
132
  'type' => 'CSMM PRO',
133
  'version' => '15.17',
138
  'status' => 'agency',
139
  'name_clean' => 'auto-service',
140
  ),
141
+ 7 =>
142
  array (
143
  'type' => 'CSMM PRO',
144
  'version' => '15.17',
149
  'status' => 'pro',
150
  'name_clean' => 'beach',
151
  ),
152
+ 8 =>
153
  array (
154
  'type' => 'CSMM PRO',
155
  'version' => '5.05',
160
  'status' => 'agency',
161
  'name_clean' => 'bicycle-race',
162
  ),
163
+ 9 =>
164
  array (
165
  'type' => 'CSMM PRO',
166
  'version' => '15.17',
171
  'status' => 'pro',
172
  'name_clean' => 'bike-shop',
173
  ),
174
+ 10 =>
175
  array (
176
  'type' => 'CSMM PRO',
177
  'version' => '5.005',
182
  'status' => 'agency',
183
  'name_clean' => 'bitcoin-miners',
184
  ),
185
+ 11 =>
186
  array (
187
  'type' => 'CSMM PRO',
188
  'version' => '15.17',
193
  'status' => 'agency',
194
  'name_clean' => 'blogging',
195
  ),
196
+ 12 =>
197
  array (
198
  'type' => 'CSMM PRO',
199
  'version' => '15.17',
204
  'status' => 'agency',
205
  'name_clean' => 'blue-ocean',
206
  ),
207
+ 13 =>
208
+ array (
209
+ 'type' => 'CSMM PRO',
210
+ 'version' => '15.17',
211
+ 'last_edit' => 'Wed, 03 Jul 2019 12:01:57 +0000',
212
+ 'name' => 'Body Transformation',
213
+ 'description' => '',
214
+ 'frontpage' => '1',
215
+ 'status' => 'pro',
216
+ 'name_clean' => 'body-transformation',
217
+ ),
218
+ 14 =>
219
  array (
220
  'type' => 'CSMM PRO',
221
  'version' => '5.005',
226
  'status' => 'agency',
227
  'name_clean' => 'book-lovers',
228
  ),
229
+ 15 =>
230
  array (
231
  'type' => 'CSMM PRO',
232
  'version' => '5.001',
237
  'status' => 'agency',
238
  'name_clean' => 'business-company',
239
  ),
240
+ 16 =>
241
+ array (
242
+ 'type' => 'CSMM PRO',
243
+ 'version' => '15.17',
244
+ 'last_edit' => 'Sun, 16 Jun 2019 20:05:59 +0000',
245
+ 'name' => 'Business Meeting (Video)',
246
+ 'description' => '',
247
+ 'frontpage' => '1',
248
+ 'status' => 'agency',
249
+ 'name_clean' => 'business-meeting-video',
250
+ ),
251
+ 17 =>
252
  array (
253
  'type' => 'CSMM PRO',
254
  'version' => '15.17',
259
  'status' => 'agency',
260
  'name_clean' => 'business',
261
  ),
262
+ 18 =>
263
  array (
264
  'type' => 'CSMM PRO',
265
  'version' => '15.17',
270
  'status' => 'agency',
271
  'name_clean' => 'cafe',
272
  ),
273
+ 19 =>
274
  array (
275
  'type' => 'CSMM PRO',
276
  'version' => '15.17',
281
  'status' => 'pro',
282
  'name_clean' => 'city-nighttime',
283
  ),
284
+ 20 =>
285
  array (
286
  'type' => 'CSMM PRO',
287
  'version' => '15.17',
292
  'status' => 'agency',
293
  'name_clean' => 'cityscape',
294
  ),
295
+ 21 =>
296
  array (
297
  'type' => 'CSMM PRO',
298
  'version' => '5.14',
303
  'status' => 'agency',
304
  'name_clean' => 'clouds-screensaver-video',
305
  ),
306
+ 22 =>
307
  array (
308
  'type' => 'CSMM PRO',
309
  'version' => '5.005',
314
  'status' => 'agency',
315
  'name_clean' => 'coffee-shop',
316
  ),
317
+ 23 =>
318
  array (
319
  'type' => 'CSMM PRO',
320
  'version' => '15.17',
325
  'status' => 'agency',
326
  'name_clean' => 'cold-lake',
327
  ),
328
+ 24 =>
329
  array (
330
  'type' => 'CSMM PRO',
331
  'version' => '15.17',
336
  'status' => 'agency',
337
  'name_clean' => 'computer-repair-service',
338
  ),
339
+ 25 =>
340
  array (
341
  'type' => 'CSMM PRO',
342
  'version' => '15.17',
347
  'status' => 'pro',
348
  'name_clean' => 'concert',
349
  ),
350
+ 26 =>
351
  array (
352
  'type' => 'CSMM PRO',
353
  'version' => '15.17',
358
  'status' => 'pro',
359
  'name_clean' => 'conference-event',
360
  ),
361
+ 27 =>
362
  array (
363
  'type' => 'CSMM PRO',
364
  'version' => '15.17',
369
  'status' => 'agency',
370
  'name_clean' => 'custom-decor',
371
  ),
372
+ 28 =>
373
  array (
374
  'type' => 'CSMM PRO',
375
  'version' => '5.005',
380
  'status' => 'pro',
381
  'name_clean' => 'default',
382
  ),
383
+ 29 =>
384
  array (
385
  'type' => 'CSMM PRO',
386
  'version' => '15.17',
391
  'status' => 'agency',
392
  'name_clean' => 'dental-clinic',
393
  ),
394
+ 30 =>
395
  array (
396
  'type' => 'CSMM PRO',
397
  'version' => '15.17',
402
  'status' => 'pro',
403
  'name_clean' => 'dog-shelter',
404
  ),
405
+ 31 =>
406
  array (
407
  'type' => 'CSMM PRO',
408
  'version' => '5.001',
413
  'status' => 'agency',
414
  'name_clean' => 'dog-training-and-behavior-consulting',
415
  ),
416
+ 32 =>
417
  array (
418
  'type' => 'CSMM PRO',
419
  'version' => '15.17',
424
  'status' => 'pro',
425
  'name_clean' => 'employment',
426
  ),
427
+ 33 =>
428
  array (
429
  'type' => 'CSMM PRO',
430
  'version' => '15.17',
435
  'status' => 'agency',
436
  'name_clean' => 'essay-writing-service',
437
  ),
438
+ 34 =>
439
  array (
440
  'type' => 'CSMM PRO',
441
  'version' => '15.17',
446
  'status' => 'pro',
447
  'name_clean' => 'fall-video',
448
  ),
449
+ 35 =>
450
  array (
451
  'type' => 'CSMM PRO',
452
  'version' => '15.17',
457
  'status' => 'agency',
458
  'name_clean' => 'fashion',
459
  ),
460
+ 36 =>
461
  array (
462
  'type' => 'CSMM PRO',
463
  'version' => '15.17',
468
  'status' => 'pro',
469
  'name_clean' => 'financial-district',
470
  ),
471
+ 37 =>
472
  array (
473
  'type' => 'CSMM PRO',
474
  'version' => '15.05',
479
  'status' => 'agency',
480
  'name_clean' => 'flower-shop',
481
  ),
482
+ 38 =>
483
  array (
484
  'type' => 'CSMM PRO',
485
  'version' => '15.17',
490
  'status' => 'pro',
491
  'name_clean' => 'food-blog',
492
  ),
493
+ 39 =>
494
  array (
495
  'type' => 'CSMM PRO',
496
  'version' => '15.17',
501
  'status' => 'pro',
502
  'name_clean' => 'football',
503
  ),
504
+ 40 =>
505
  array (
506
  'type' => 'CSMM PRO',
507
  'version' => '15.17',
512
  'status' => 'pro',
513
  'name_clean' => 'frozen-nature',
514
  ),
515
+ 41 =>
516
  array (
517
  'type' => 'CSMM PRO',
518
  'version' => '15.17',
523
  'status' => 'pro',
524
  'name_clean' => 'future-technology',
525
  ),
526
+ 42 =>
527
  array (
528
  'type' => 'CSMM PRO',
529
  'version' => '15.17',
534
  'status' => 'pro',
535
  'name_clean' => 'halloween',
536
  ),
537
+ 43 =>
538
+ array (
539
+ 'type' => 'CSMM PRO',
540
+ 'version' => '15.17',
541
+ 'last_edit' => 'Tue, 30 Jul 2019 14:26:58 +0000',
542
+ 'name' => 'Healthy Eating',
543
+ 'description' => '',
544
+ 'frontpage' => '1',
545
+ 'status' => 'agency',
546
+ 'name_clean' => 'healthy-eating',
547
+ ),
548
+ 44 =>
549
  array (
550
  'type' => 'CSMM PRO',
551
  'version' => '15.17',
556
  'status' => 'pro',
557
  'name_clean' => 'holiday-resort',
558
  ),
559
+ 45 =>
560
  array (
561
  'type' => 'CSMM PRO',
562
  'version' => '15.17',
567
  'status' => 'pro',
568
  'name_clean' => 'homemade-chocolate-gifts',
569
  ),
570
+ 46 =>
571
  array (
572
  'type' => 'CSMM PRO',
573
  'version' => '15.17',
578
  'status' => 'pro',
579
  'name_clean' => 'ice-cream-shop',
580
  ),
581
+ 47 =>
582
  array (
583
  'type' => 'CSMM PRO',
584
  'version' => '15.05',
589
  'status' => 'agency',
590
  'name_clean' => 'interior-design',
591
  ),
592
+ 48 =>
593
  array (
594
  'type' => 'CSMM PRO',
595
  'version' => '5.14',
600
  'status' => 'agency',
601
  'name_clean' => 'journey-video',
602
  ),
603
+ 49 =>
604
  array (
605
  'type' => 'CSMM PRO',
606
  'version' => '15.17',
611
  'status' => 'agency',
612
  'name_clean' => 'ladies-accessories',
613
  ),
614
+ 50 =>
615
  array (
616
  'type' => 'CSMM PRO',
617
  'version' => '15.17',
622
  'status' => 'pro',
623
  'name_clean' => 'lego-bricks',
624
  ),
625
+ 51 =>
626
  array (
627
  'type' => 'CSMM PRO',
628
  'version' => '15.17',
633
  'status' => 'agency',
634
  'name_clean' => 'loneliness',
635
  ),
636
+ 52 =>
637
  array (
638
  'type' => 'CSMM PRO',
639
  'version' => '15.17',
644
  'status' => 'agency',
645
  'name_clean' => 'lonely-road',
646
  ),
647
+ 53 =>
648
  array (
649
  'type' => 'CSMM PRO',
650
  'version' => '15.17',
655
  'status' => 'pro',
656
  'name_clean' => 'luxury-car',
657
  ),
658
+ 54 =>
659
  array (
660
  'type' => 'CSMM PRO',
661
  'version' => '5.005',
666
  'status' => 'pro',
667
  'name_clean' => 'maintenance-mode',
668
  ),
669
+ 55 =>
670
  array (
671
  'type' => 'CSMM PRO',
672
  'version' => '5.005',
677
  'status' => 'agency',
678
  'name_clean' => 'makeup-artist-training',
679
  ),
680
+ 56 =>
681
  array (
682
  'type' => 'CSMM PRO',
683
  'version' => '15.17',
688
  'status' => 'pro',
689
  'name_clean' => 'misty-forest-video',
690
  ),
691
+ 57 =>
692
  array (
693
  'type' => 'CSMM PRO',
694
  'version' => '15.17',
699
  'status' => 'agency',
700
  'name_clean' => 'mobile-designer',
701
  ),
702
+ 58 =>
703
  array (
704
  'type' => 'CSMM PRO',
705
  'version' => '15.17',
710
  'status' => 'agency',
711
  'name_clean' => 'mobile-meeting',
712
  ),
713
+ 59 =>
714
  array (
715
  'type' => 'CSMM PRO',
716
  'version' => '5.005',
721
  'status' => 'pro',
722
  'name_clean' => 'modern-blog',
723
  ),
724
+ 60 =>
725
  array (
726
  'type' => 'CSMM PRO',
727
  'version' => '15.05',
732
  'status' => 'agency',
733
  'name_clean' => 'modern-office',
734
  ),
735
+ 61 =>
736
  array (
737
  'type' => 'CSMM PRO',
738
  'version' => '15.17',
743
  'status' => 'agency',
744
  'name_clean' => 'modern-recipes',
745
  ),
746
+ 62 =>
747
  array (
748
  'type' => 'CSMM PRO',
749
  'version' => '15.17',
754
  'status' => 'pro',
755
  'name_clean' => 'mountain-slide',
756
  ),
757
+ 63 =>
758
  array (
759
  'type' => 'CSMM PRO',
760
  'version' => '5.05',
765
  'status' => 'pro',
766
  'name_clean' => 'mountain',
767
  ),
768
+ 64 =>
769
  array (
770
  'type' => 'CSMM PRO',
771
  'version' => '15.17',
776
  'status' => 'pro',
777
  'name_clean' => 'movie-trailer-video',
778
  ),
779
+ 65 =>
780
+ array (
781
+ 'type' => 'CSMM PRO',
782
+ 'version' => '15.17',
783
+ 'last_edit' => 'Sun, 16 Jun 2019 16:57:44 +0000',
784
+ 'name' => 'Music',
785
+ 'description' => '',
786
+ 'frontpage' => '1',
787
+ 'status' => 'pro',
788
+ 'name_clean' => 'music',
789
+ ),
790
+ 66 =>
791
  array (
792
  'type' => 'CSMM PRO',
793
  'version' => '15.05',
798
  'status' => 'agency',
799
  'name_clean' => 'nature',
800
  ),
801
+ 67 =>
802
  array (
803
  'type' => 'CSMM PRO',
804
  'version' => '5.14',
809
  'status' => 'agency',
810
  'name_clean' => 'office-meeting-video',
811
  ),
812
+ 68 =>
813
  array (
814
  'type' => 'CSMM PRO',
815
  'version' => '15.05',
820
  'status' => 'agency',
821
  'name_clean' => 'office-theme',
822
  ),
823
+ 69 =>
824
  array (
825
  'type' => 'CSMM PRO',
826
  'version' => '5.005',
831
  'status' => 'agency',
832
  'name_clean' => 'online-learning',
833
  ),
834
+ 70 =>
835
  array (
836
  'type' => 'CSMM PRO',
837
  'version' => '15.17',
842
  'status' => 'pro',
843
  'name_clean' => 'pancake-house',
844
  ),
845
+ 71 =>
846
  array (
847
  'type' => 'CSMM PRO',
848
  'version' => '15.17',
853
  'status' => 'pro',
854
  'name_clean' => 'parenting',
855
  ),
856
+ 72 =>
857
  array (
858
  'type' => 'CSMM PRO',
859
  'version' => '15.17',
864
  'status' => 'pro',
865
  'name_clean' => 'passage',
866
  ),
867
+ 73 =>
868
  array (
869
  'type' => 'CSMM PRO',
870
  'version' => '15.17',
875
  'status' => 'agency',
876
  'name_clean' => 'peaceful-river',
877
  ),
878
+ 74 =>
879
  array (
880
  'type' => 'CSMM PRO',
881
  'version' => '15.17',
886
  'status' => 'pro',
887
  'name_clean' => 'personal-trainer',
888
  ),
889
+ 75 =>
890
  array (
891
  'type' => 'CSMM PRO',
892
  'version' => '15.17',
897
  'status' => 'agency',
898
  'name_clean' => 'photography',
899
  ),
900
+ 76 =>
901
+ array (
902
+ 'type' => 'CSMM PRO',
903
+ 'version' => '15.17',
904
+ 'last_edit' => 'Sun, 07 Jul 2019 17:17:37 +0000',
905
+ 'name' => 'Podcast',
906
+ 'description' => '',
907
+ 'frontpage' => '1',
908
+ 'status' => 'agency',
909
+ 'name_clean' => 'podcast',
910
+ ),
911
+ 77 =>
912
  array (
913
  'type' => 'CSMM PRO',
914
  'version' => '15.17',
919
  'status' => 'agency',
920
  'name_clean' => 'romantic-travels',
921
  ),
922
+ 78 =>
923
  array (
924
  'type' => 'CSMM PRO',
925
  'version' => '15.17',
930
  'status' => 'agency',
931
  'name_clean' => 'running-blog',
932
  ),
933
+ 79 =>
934
  array (
935
  'type' => 'CSMM PRO',
936
  'version' => '15.14',
941
  'status' => 'pro',
942
  'name_clean' => 'running-video',
943
  ),
944
+ 80 =>
945
  array (
946
  'type' => 'CSMM PRO',
947
  'version' => '15.17',
952
  'status' => 'agency',
953
  'name_clean' => 'scholar-university',
954
  ),
955
+ 81 =>
956
+ array (
957
+ 'type' => 'CSMM PRO',
958
+ 'version' => '15.17',
959
+ 'last_edit' => 'Wed, 26 Jun 2019 16:55:04 +0000',
960
+ 'name' => 'SEO & Digital Marketing',
961
+ 'description' => '',
962
+ 'frontpage' => '1',
963
+ 'status' => 'agency',
964
+ 'name_clean' => 'seo-digital-marketing',
965
+ ),
966
+ 82 =>
967
  array (
968
  'type' => 'CSMM PRO',
969
  'version' => '5.005',
974
  'status' => 'agency',
975
  'name_clean' => 'shoes-store',
976
  ),
977
+ 83 =>
978
  array (
979
  'type' => 'CSMM PRO',
980
  'version' => '15.17',
985
  'status' => 'pro',
986
  'name_clean' => 'simple-beige-design',
987
  ),
988
+ 84 =>
989
  array (
990
  'type' => 'CSMM PRO',
991
  'version' => '15.17',
996
  'status' => 'pro',
997
  'name_clean' => 'snow-screensaver-video',
998
  ),
999
+ 85 =>
1000
  array (
1001
  'type' => 'CSMM PRO',
1002
  'version' => '15.17',
1007
  'status' => 'pro',
1008
  'name_clean' => 'snowboarding-blog',
1009
  ),
1010
+ 86 =>
1011
  array (
1012
  'type' => 'CSMM PRO',
1013
  'version' => '15.17',
1018
  'status' => 'pro',
1019
  'name_clean' => 'snowy-mountain',
1020
  ),
1021
+ 87 =>
1022
  array (
1023
  'type' => 'CSMM PRO',
1024
  'version' => '15.17',
1029
  'status' => 'pro',
1030
  'name_clean' => 'snowy-oasis',
1031
  ),
1032
+ 88 =>
1033
  array (
1034
  'type' => 'CSMM PRO',
1035
  'version' => '15.17',
1040
  'status' => 'agency',
1041
  'name_clean' => 'social-media-service',
1042
  ),
1043
+ 89 =>
1044
  array (
1045
  'type' => 'CSMM PRO',
1046
  'version' => '15.17',
1051
  'status' => 'agency',
1052
  'name_clean' => 'spa-beauty-studio',
1053
  ),
1054
+ 90 =>
1055
  array (
1056
  'type' => 'CSMM PRO',
1057
  'version' => '15.17',
1062
  'status' => 'agency',
1063
  'name_clean' => 'spa',
1064
  ),
1065
+ 91 =>
1066
  array (
1067
  'type' => 'CSMM PRO',
1068
  'version' => '15.17',
1073
  'status' => 'agency',
1074
  'name_clean' => 'spring',
1075
  ),
1076
+ 92 =>
1077
  array (
1078
  'type' => 'CSMM PRO',
1079
  'version' => '15.17',
1084
  'status' => 'pro',
1085
  'name_clean' => 'startup',
1086
  ),
1087
+ 93 =>
1088
  array (
1089
  'type' => 'CSMM PRO',
1090
  'version' => '15.17',
1095
  'status' => 'pro',
1096
  'name_clean' => 'stylish-workplace',
1097
  ),
1098
+ 94 =>
1099
+ array (
1100
+ 'type' => 'CSMM PRO',
1101
+ 'version' => '15.17',
1102
+ 'last_edit' => 'Wed, 26 Jun 2019 17:26:44 +0000',
1103
+ 'name' => 'TechExpo',
1104
+ 'description' => '',
1105
+ 'frontpage' => '1',
1106
+ 'status' => 'pro',
1107
+ 'name_clean' => 'techexpo',
1108
+ ),
1109
+ 95 =>
1110
  array (
1111
  'type' => 'CSMM PRO',
1112
  'version' => '15.17',
1117
  'status' => 'agency',
1118
  'name_clean' => 'the-big-city-newsletter',
1119
  ),
1120
+ 96 =>
1121
  array (
1122
  'type' => 'CSMM PRO',
1123
  'version' => '5.14',
1128
  'status' => 'pro',
1129
  'name_clean' => 'the-sunny-view',
1130
  ),
1131
+ 97 =>
1132
  array (
1133
  'type' => 'CSMM PRO',
1134
  'version' => '5.001',
1139
  'status' => 'pro',
1140
  'name_clean' => 'travel-agency',
1141
  ),
1142
+ 98 =>
1143
  array (
1144
  'type' => 'CSMM PRO',
1145
  'version' => '15.05',
1150
  'status' => 'agency',
1151
  'name_clean' => 'travel-blog',
1152
  ),
1153
+ 99 =>
1154
  array (
1155
  'type' => 'CSMM PRO',
1156
  'version' => '15.17',
1161
  'status' => 'agency',
1162
  'name_clean' => 'tulips',
1163
  ),
1164
+ 100 =>
1165
  array (
1166
  'type' => 'CSMM PRO',
1167
  'version' => '15.17',
1172
  'status' => 'pro',
1173
  'name_clean' => 'valentines-day',
1174
  ),
1175
+ 101 =>
1176
  array (
1177
  'type' => 'CSMM PRO',
1178
  'version' => '5.001',
1183
  'status' => 'pro',
1184
  'name_clean' => 'video-production',
1185
  ),
1186
+ 102 =>
1187
  array (
1188
  'type' => 'CSMM PRO',
1189
  'version' => '15.17',
1194
  'status' => 'agency',
1195
  'name_clean' => 'virtual-assistant-service',
1196
  ),
1197
+ 103 =>
1198
  array (
1199
  'type' => 'CSMM PRO',
1200
  'version' => '15.17',
1205
  'status' => 'pro',
1206
  'name_clean' => 'walking-away-video',
1207
  ),
1208
+ 104 =>
1209
  array (
1210
  'type' => 'CSMM PRO',
1211
  'version' => '5.005',
1216
  'status' => 'agency',
1217
  'name_clean' => 'webinar',
1218
  ),
1219
+ 105 =>
1220
  array (
1221
  'type' => 'CSMM PRO',
1222
  'version' => '5.005',
1227
  'status' => 'agency',
1228
  'name_clean' => 'wedding-blog',
1229
  ),
1230
+ 106 =>
1231
  array (
1232
  'type' => 'CSMM PRO',
1233
  'version' => '15.17',
1238
  'status' => 'pro',
1239
  'name_clean' => 'white-orchids',
1240
  ),
1241
+ 107 =>
1242
  array (
1243
  'type' => 'CSMM PRO',
1244
  'version' => '5.14',
1249
  'status' => 'agency',
1250
  'name_clean' => 'working-out',
1251
  ),
1252
+ 108 =>
1253
  array (
1254
  'type' => 'CSMM PRO',
1255
  'version' => '15.05',
1260
  'status' => 'agency',
1261
  'name_clean' => 'workplace',
1262
  ),
1263
+ 109 =>
1264
  array (
1265
  'type' => 'CSMM PRO',
1266
  'version' => '15.17',
1273
  ),
1274
  );
1275
 
1276
+ $themes = array_reverse($themes);
1277
+
1278
  $path = plugins_url('', __FILE__);
1279
 
1280
  echo '<p style="font-size: 16px;">No time to create the perfect page? No worries! We have <b>over 100 perfect themes</b> for you to choose from. <b>Grab any theme with a 25% DISCOUNT!</b></p>';
1356
  }
1357
 
1358
 
1359
+
1360
+ if( nifty_is_notificationx_really_setup_and_active() && $enable_signup_form != 'off') {
1361
+ $notificationx_setting = array(
1362
+ 'id' => 'notificationx_notification',
1363
+ 'label' => 'Notifications',
1364
+ 'desc' => 'Create, edit and manage notifications on the <a href="' . admin_url('edit.php?post_type=notificationx') . '">NotificationX page</a>.',
1365
+ 'std' => '-1',
1366
+ 'type' => 'notificationx',
1367
+ 'section' => 'general_settings',
1368
+ );
1369
+ } else {
1370
+ $notificationx_setting = array(
1371
+ 'id' => 'display_notificationx_bar',
1372
+ 'label' => 'Display Notification Bar',
1373
+ 'desc' => '<p class="description">Add notifications to instantly engage and influence your visitors\' actions using social proof.</p><p class="description">To add notifications <a href="#" class="open-notificationx-upsell">install the free NotificationX plugin</a>. It seamlessly integrates with Nifty and offers numerous options.</p>
1374
+ ',
1375
+ 'std' => 'off',
1376
+ 'type' => 'on-off',
1377
+ 'section' => 'general_settings',
1378
+ );
1379
+ }
1380
+
1381
+
1382
  $custom_settings = array(
1383
  'contextual_help' => array(
1384
  'sidebar' => ''
1448
  'condition' => '',
1449
  'operator' => 'and'
1450
  ),
1451
+ $notificationx_setting,
1452
  array(
1453
  'id' => 'display_count_down_timer',
1454
  'label' => 'Display count down timer',
nifty-coming-soon.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Nifty Coming Soon & Maintenance page
4
  Plugin URI: https://wordpress.org/plugins/nifty-coming-soon-and-under-construction-page/
5
  Description: Easy to set up Coming Soon, Maintenance and Under Construction page. It features Responsive design, Countdown timer, Animations, Live Preview, Background Slider, Subscription form and more.
6
- Version: 1.54
7
  Author: WebFactory Ltd
8
  Author URI: https://webfactoryltd.com/
9
  License: GPLv3
@@ -16,6 +16,7 @@ defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
16
 
17
  // Display status of the coming soon page in the admin bar
18
  add_action('admin_bar_menu', 'nifty_cs_custom_menu', 1000);
 
19
 
20
  function nifty_cs_custom_menu()
21
  {
@@ -34,6 +35,89 @@ function nifty_cs_custom_menu()
34
  }
35
  }
36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  // Coming soon awareness button color
38
 
39
  function nifty_cs_admin_custom_colors() {
@@ -104,12 +188,17 @@ function nifty_cs_redirect()
104
  if(!is_feed())
105
  {
106
  // Guests are redirected to the coming soon page
107
- if ( !is_user_logged_in() )
108
  {
109
  // Path to custom coming soon page
110
- $template_path = plugin_dir_path(__FILE__).'template/index.php';
111
- include($template_path);
112
- exit();
 
 
 
 
 
113
  }
114
  }
115
  // Check user assigned role
@@ -120,13 +209,17 @@ function nifty_cs_redirect()
120
  $LoggedInUserID = $current_user->ID;
121
  $UserData = get_userdata( $LoggedInUserID );
122
  // If user is not having administrator, editor, author or contributor role he will be server the coming soon page too :)
123
- if($UserData->roles[0] == "subscriber")
124
  {
125
- if(!is_feed())
126
  {
127
- $template_path = plugin_dir_path(__FILE__).'template/index.php';
128
- include($template_path);
129
- exit();
 
 
 
 
130
  }
131
  }
132
  }
@@ -135,7 +228,7 @@ function nifty_cs_redirect()
135
 
136
  // Live Preview
137
 
138
- add_action('template_redirect','nifty_cs_get_preview');
139
 
140
  function nifty_cs_get_preview ()
141
  {
@@ -143,9 +236,13 @@ function nifty_cs_get_preview ()
143
  if ( (isset($_GET['get_preview']) && $_GET['get_preview'] == 'true') )
144
  {
145
 
146
- $template_path = plugin_dir_path(__FILE__).'template/index.php';
147
- include($template_path);
148
- exit();
 
 
 
 
149
  }
150
  }
151
 
@@ -155,14 +252,17 @@ add_action('init','nifty_cs_skip_redirect_on_login');
155
 
156
  function nifty_cs_skip_redirect_on_login ()
157
  {
158
- global $currentpage;
159
- if ('wp-login.php' == $currentpage)
160
- {
 
 
 
 
161
  return;
162
- } else
163
- {
164
- add_action( 'template_redirect', 'nifty_cs_redirect' );
165
- }
166
  }
167
 
168
  add_action( 'wp_ajax_nifty_subscribe', 'nifty_subscribe' );
@@ -252,7 +352,89 @@ function nifty_add_plugin_featured($plugin_slug, $res, $position) {
252
  return $res;
253
  }
254
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
255
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
256
  /**
257
  * Add plugins to featured plugins list
258
  *
3
  Plugin Name: Nifty Coming Soon & Maintenance page
4
  Plugin URI: https://wordpress.org/plugins/nifty-coming-soon-and-under-construction-page/
5
  Description: Easy to set up Coming Soon, Maintenance and Under Construction page. It features Responsive design, Countdown timer, Animations, Live Preview, Background Slider, Subscription form and more.
6
+ Version: 1.55
7
  Author: WebFactory Ltd
8
  Author URI: https://webfactoryltd.com/
9
  License: GPLv3
16
 
17
  // Display status of the coming soon page in the admin bar
18
  add_action('admin_bar_menu', 'nifty_cs_custom_menu', 1000);
19
+ add_action('admin_action_install_notificationx', 'nifty_install_notificationx');
20
 
21
  function nifty_cs_custom_menu()
22
  {
35
  }
36
  }
37
 
38
+
39
+
40
+
41
+
42
+ function nifty_cs_redirect_x(){
43
+ $request_uri = trailingslashit(strtolower(@parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)));
44
+ // some URLs have to be accessible at all times
45
+ if ($request_uri == '/wp-admin/' ||
46
+ $request_uri == '/feed/' ||
47
+ $request_uri == '/feed/rss/' ||
48
+ $request_uri == '/feed/rss2/' ||
49
+ $request_uri == '/feed/rdf/' ||
50
+ $request_uri == '/feed/atom/' ||
51
+ $request_uri == '/admin/' ||
52
+ $request_uri == '/login/' ||
53
+ $request_uri == '/wp-login.php') {
54
+ return;
55
+ }
56
+
57
+
58
+ // Check if the coming soon mode is enabled in the general settings
59
+ $value = ot_get_option( 'coming_soon_mode_on___off' );
60
+
61
+ $notificationx_notification = ot_get_option( 'notificationx_notification' );
62
+
63
+ libxml_use_internal_errors(true);
64
+ $doc = new DOMDocument();
65
+ $doc->loadHTML('<?xml encoding="UTF-8">' . ob_get_clean());
66
+ $selector = new DOMXPath($doc);
67
+ $nx_bar_html = array();
68
+
69
+
70
+ if($notificationx_notification == 'all'){
71
+ $nx_query = 'nx-bar-';
72
+ } else if($notificationx_notification>0){
73
+ $nx_query = 'nx-bar-'.$notificationx_notification;
74
+ } else {
75
+ $nx_query = false;
76
+ }
77
+
78
+ if($nx_query !== false){
79
+ $nodes = $selector->query('//*[starts-with(@id, "'.$nx_query.'")]');
80
+ $nx_bar_html = array();
81
+ foreach($nodes as $node){
82
+ $nx_bar_html[] = $node->ownerDocument->saveHTML($node);
83
+ }
84
+ }
85
+
86
+
87
+ if ( $value != "off" ) {
88
+
89
+ if(!is_feed())
90
+ {
91
+ // Guests are redirected to the coming soon page
92
+ if ( !is_user_logged_in() || (isset($_GET['get_preview']) && $_GET['get_preview'] == 'true') )
93
+ {
94
+ $template_path = plugin_dir_path(__FILE__).'template/index.php';
95
+ include($template_path);
96
+ exit();
97
+
98
+ }
99
+ }
100
+ // Check user assigned role
101
+ if (is_user_logged_in() )
102
+ {
103
+ // Get logined in user role
104
+ global $current_user;
105
+ $LoggedInUserID = $current_user->ID;
106
+ $UserData = get_userdata( $LoggedInUserID );
107
+ // If user is not having administrator, editor, author or contributor role he will be server the coming soon page too :)
108
+ if($UserData->roles[0] == "subscriber")
109
+ {
110
+ if(!is_feed())
111
+ {
112
+ $template_path = plugin_dir_path(__FILE__).'template/index.php';
113
+ include($template_path);
114
+ exit();
115
+ }
116
+ }
117
+ }
118
+ }
119
+ }
120
+
121
  // Coming soon awareness button color
122
 
123
  function nifty_cs_admin_custom_colors() {
188
  if(!is_feed())
189
  {
190
  // Guests are redirected to the coming soon page
191
+ if ( !is_user_logged_in() || (isset($_GET['get_preview']) && $_GET['get_preview'] == 'true') )
192
  {
193
  // Path to custom coming soon page
194
+ if(nifty_is_notificationx_really_setup_and_active()){
195
+ ob_start();
196
+ } else {
197
+ $template_path = plugin_dir_path(__FILE__).'template/index.php';
198
+ include($template_path);
199
+ exit();
200
+ }
201
+
202
  }
203
  }
204
  // Check user assigned role
209
  $LoggedInUserID = $current_user->ID;
210
  $UserData = get_userdata( $LoggedInUserID );
211
  // If user is not having administrator, editor, author or contributor role he will be server the coming soon page too :)
212
+ if($UserData->roles[0] == "subscriber" || (isset($_GET['get_preview']) && $_GET['get_preview'] == 'true'))
213
  {
214
+ if(!is_feed() )
215
  {
216
+ if(nifty_is_notificationx_really_setup_and_active()){
217
+ ob_start();
218
+ } else {
219
+ $template_path = plugin_dir_path(__FILE__).'template/index.php';
220
+ include($template_path);
221
+ exit();
222
+ }
223
  }
224
  }
225
  }
228
 
229
  // Live Preview
230
 
231
+ //add_action('template_redirect','nifty_cs_get_preview');
232
 
233
  function nifty_cs_get_preview ()
234
  {
236
  if ( (isset($_GET['get_preview']) && $_GET['get_preview'] == 'true') )
237
  {
238
 
239
+ if(nifty_is_notificationx_really_setup_and_active()){
240
+ ob_start();
241
+ } else {
242
+ $template_path = plugin_dir_path(__FILE__).'template/index.php';
243
+ include($template_path);
244
+ exit();
245
+ }
246
  }
247
  }
248
 
252
 
253
  function nifty_cs_skip_redirect_on_login ()
254
  {
255
+ global $currentpage;
256
+
257
+ if(nifty_is_notificationx_really_setup_and_active()){
258
+ add_action('shutdown', 'nifty_cs_redirect_x', 0, 1);
259
+ }
260
+
261
+ if ('wp-login.php' == $currentpage){
262
  return;
263
+ } else {
264
+ add_action( 'template_redirect', 'nifty_cs_redirect' );
265
+ }
 
266
  }
267
 
268
  add_action( 'wp_ajax_nifty_subscribe', 'nifty_subscribe' );
352
  return $res;
353
  }
354
 
355
+ // check if NotificationX plugin is active
356
+ function nifty_is_notificationx_really_setup_and_active() {
357
+ if (!function_exists('is_plugin_active') || !function_exists('get_plugin_data')) {
358
+ require_once ABSPATH . 'wp-admin/includes/plugin.php';
359
+ }
360
+
361
+ if (is_plugin_active('notificationx/notificationx.php') && version_compare(NOTIFICATIONX_VERSION,'1.0.3','>=')) {
362
+ return true;
363
+ } else {
364
+ return false;
365
+ }
366
+ } // nifty_is_notificationx_really_setup_and_active
367
+
368
+
369
+ // auto download / install / activate MailOptin plugin
370
+ function nifty_install_notificationx() {
371
+ if (false === current_user_can('administrator')) {
372
+ wp_die('Sorry, you have to be an admin to run this action.');
373
+ }
374
+
375
+ $plugin_slug = 'notificationx/notificationx.php';
376
+ $plugin_zip = 'https://downloads.wordpress.org/plugin/notificationx.latest-stable.zip';
377
+
378
+ @include_once ABSPATH . 'wp-admin/includes/plugin.php';
379
+ @include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
380
+ @include_once ABSPATH . 'wp-admin/includes/plugin-install.php';
381
+ @include_once ABSPATH . 'wp-admin/includes/file.php';
382
+ @include_once ABSPATH . 'wp-admin/includes/misc.php';
383
+ echo '<style>
384
+ body{
385
+ font-family: sans-serif;
386
+ font-size: 14px;
387
+ line-height: 1.5;
388
+ color: #444;
389
+ }
390
+ </style>';
391
+
392
+ echo '<div style="margin: 20px; color:#444;">';
393
+ echo 'If things are not done in a minute <a target="_parent" href="' . admin_url('plugin-install.php?s=notificationx&tab=search&type=term') .'">install the plugin manually via Plugins page</a><br><br>';
394
+ echo 'Starting ...<br><br>';
395
+
396
+ wp_cache_flush();
397
+ $upgrader = new Plugin_Upgrader();
398
+ echo 'Check if NotificationX is already installed ... <br />';
399
+ if (nifty_is_plugin_installed($plugin_slug)) {
400
+ echo 'NotificationX is already installed! <br /><br />Making sure it\'s the latest version.<br />';
401
+ $upgrader->upgrade($plugin_slug);
402
+ $installed = true;
403
+ } else {
404
+ echo 'Installing NotificationX.<br />';
405
+ $installed = $upgrader->install($plugin_zip);
406
+ }
407
+ wp_cache_flush();
408
 
409
+ if (!is_wp_error($installed) && $installed) {
410
+ echo 'Activating NotificationX.<br />';
411
+ $activate = activate_plugin($plugin_slug);
412
+
413
+ if (is_null($activate)) {
414
+ echo 'NotificationX Activated.<br />';
415
+
416
+ echo '<script>setTimeout(function() { top.location = "admin.php?page=niftycs-options"; }, 1000);</script>';
417
+ echo '<br>If you are not redirected in a few seconds - <a href="admin.php?page=niftycs-options" target="_parent">click here</a>.';
418
+ }
419
+ } else {
420
+ echo 'Could not install NotificationX. You\'ll have to <a target="_parent" href="' . admin_url('plugin-install.php?s=notificationx&tab=search&type=term') .'">download and install manually</a>.';
421
+ }
422
+
423
+ echo '</div>';
424
+ } // nifty_install_notificationx
425
+
426
+ function nifty_is_plugin_installed($slug) {
427
+ if (!function_exists('get_plugins')) {
428
+ require_once ABSPATH . 'wp-admin/includes/plugin.php';
429
+ }
430
+ $all_plugins = get_plugins();
431
+
432
+ if (!empty($all_plugins[$slug])) {
433
+ return true;
434
+ } else {
435
+ return false;
436
+ }
437
+ } // is_plugin_installed
438
  /**
439
  * Add plugins to featured plugins list
440
  *
readme.txt CHANGED
@@ -1,13 +1,13 @@
1
- === Coming Soon, Under Construction & Maintenance Page ===
2
- Contributors: WebFactory
3
  Tags: coming soon, coming soon page, launch page, maintenance mode, maintenance page, coming soon mode, under construction, maintenance mode page, landing page, offline page, subscribe form, maintenance
4
  Tested up to: 5.2
5
  License: GPLv3
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
- Stable tag: 1.54
8
  Requires PHP: 5.2
9
 
10
- Nifty Coming Soon, Under Construction & Maintenance Page creates awesome Coming Soon & Maintenance Pages with premium features for free.
11
 
12
  == Description ==
13
 
@@ -17,8 +17,9 @@ Coming Soon and Maintenance Mode plugin features responsive design and will adap
17
 
18
  You can activate or deactivate any section of the page, select Google Fonts and have all like premium features for FREE.
19
 
20
- ### Main Features
21
 
 
22
 
23
  * Responsive and modern coming soon page design
24
  * All section editable from plugin options panel
@@ -86,6 +87,10 @@ As from the update of 1.0.9, the plugin offers the way to Live Preview you're Co
86
 
87
  == Changelog ==
88
 
 
 
 
 
89
  = 1.54 =
90
  * 2019/06/10
91
  * bug fixes
1
+ === Coming Soon & Maintenance Page ===
2
+ Contributors: WebFactory, wpreset, underconstructionpage, googlemapswidget
3
  Tags: coming soon, coming soon page, launch page, maintenance mode, maintenance page, coming soon mode, under construction, maintenance mode page, landing page, offline page, subscribe form, maintenance
4
  Tested up to: 5.2
5
  License: GPLv3
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
+ Stable tag: 1.55
8
  Requires PHP: 5.2
9
 
10
+ Nifty Coming Soon & Maintenance Page creates awesome Coming Soon & Maintenance Pages with premium features for free.
11
 
12
  == Description ==
13
 
17
 
18
  You can activate or deactivate any section of the page, select Google Fonts and have all like premium features for FREE.
19
 
20
+ Increase 20-40% Sales & Interaction in Your Site with <a href="https://wordpress.org/plugins/notificationx/">NotificationX</a>!
21
 
22
+ ### Main Features
23
 
24
  * Responsive and modern coming soon page design
25
  * All section editable from plugin options panel
87
 
88
  == Changelog ==
89
 
90
+ = 1.55 =
91
+ * 2019/08/07
92
+ * NotificationX integration
93
+
94
  = 1.54 =
95
  * 2019/06/10
96
  * bug fixes
template/index.php CHANGED
@@ -95,6 +95,14 @@ $nifty_timer = ot_get_option('display_count_down_timer');
95
  }
96
 
97
 
 
 
 
 
 
 
 
 
98
  ?>
99
 
100
 
@@ -529,6 +537,9 @@ $nifty_timer = ot_get_option('display_count_down_timer');
529
 
530
  echo "<style>" . $additional_css_code . "</style>";
531
 
 
 
 
532
  ?>
533
 
534
  </body>
95
  }
96
 
97
 
98
+ if(nifty_is_notificationx_really_setup_and_active()){
99
+
100
+ echo '<link rel="stylesheet" href="' . NOTIFICATIONX_PUBLIC_URL . 'assets/css/notificationx-public.min.css" type="text/css">';
101
+ echo '<script type="text/javascript" src="' . NOTIFICATIONX_PUBLIC_URL . 'assets/js/Cookies.js"></script>';
102
+ echo '<script type="text/javascript" src="' . NOTIFICATIONX_PUBLIC_URL . 'assets/js/notificationx-public.min.js"></script>';
103
+ }
104
+
105
+
106
  ?>
107
 
108
 
537
 
538
  echo "<style>" . $additional_css_code . "</style>";
539
 
540
+ if(isset($nx_bar_html) && is_array($nx_bar_html) && count($nx_bar_html)>0){
541
+ echo implode('',$nx_bar_html);
542
+ }
543
  ?>
544
 
545
  </body>