Coming Soon, Under Construction & Maintenance Page - Version 1.52

Version Description

  • 2019/05/27
  • removed weForms
  • 25% discount on all themes
Download this release

Release Info

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

Code changes from version 1.50 to 1.52

admin/assets/css/ot-admin.css CHANGED
@@ -45,6 +45,10 @@
45
  font-weight: 600;
46
  font-size: 15px;
47
  }
 
 
 
 
48
  .theme-thumb .ribbon {
49
  width: 100px;
50
  height: 100px;
@@ -4061,16 +4065,6 @@ a.ui-datepicker-next {
4061
  }
4062
 
4063
 
4064
- #setting_sign_up_button_color,
4065
- #setting_sign_up_button_color_hover,
4066
- #setting_sign_up_form_intro_text,
4067
- #setting_sign_up_button_text,
4068
- #setting_enter_email_text,
4069
- #setting_email_confirmation___error,
4070
- #setting_email_confirmation___success{
4071
- display:none;
4072
- }
4073
-
4074
  .of-notice-small {
4075
  border-left: 4px solid #00a0d2;
4076
  margin: 5px 0 15px;
@@ -4078,61 +4072,3 @@ a.ui-datepicker-next {
4078
  background-color: #fafafa;
4079
  display: inline-block;
4080
  }
4081
-
4082
-
4083
- /* weforms upsell dialog */
4084
- .weforms-upsell-dialog .ui-dialog-titlebar {
4085
- background: #2980b9;
4086
- text-align: center;
4087
- height: 55px;
4088
- }
4089
- .weforms-upsell-dialog .ui-dialog-titlebar img {
4090
- height: 32px;
4091
- display: inline-block;
4092
- margin: 11px 0 0 0;
4093
- }
4094
- .weforms-upsell-dialog .ui-dialog-titlebar-close {
4095
- color: #fff;
4096
- height: 55px;
4097
- }
4098
- .weforms-upsell-dialog .ui-dialog-titlebar-close:hover {
4099
- color: #333;
4100
- }
4101
- .weforms-upsell-dialog .ui-dialog-content {
4102
- padding: 0;
4103
- }
4104
- .weforms-upsell-dialog .ui-tabs-nav {
4105
- text-align: center;
4106
- }
4107
- .weforms-upsell-dialog .ui-tabs .upsell-tab {
4108
- padding: 20px 15px;
4109
- text-align: center;
4110
- }
4111
- .weforms-upsell-dialog a {
4112
- color: #333;
4113
- }
4114
- .weforms-upsell-dialog a:hover {
4115
- color: #000;
4116
- }
4117
- option.weforms-promo {
4118
- color: #2980b9;
4119
- }
4120
- .weforms-pro-feature {
4121
- display: inline-block;
4122
- width: 32%;
4123
- background: rgba(128, 128, 128, 0.03);
4124
- margin: 0 5px 20px 5px;
4125
- padding: 10px;
4126
- box-sizing: border-box;
4127
- vertical-align: top;
4128
- position: relative;
4129
- border-top: 1px solid #2980b9;
4130
- }
4131
-
4132
- .weforms-list {
4133
- list-style-type: circle;
4134
- list-style-position: outside;
4135
- margin-left: 14px;
4136
- }
4137
- /* upsell dialog */
4138
-
45
  font-weight: 600;
46
  font-size: 15px;
47
  }
48
+ .theme-thumb span.name small {
49
+ font-weight: 400;
50
+ font-style: italic;
51
+ }
52
  .theme-thumb .ribbon {
53
  width: 100px;
54
  height: 100px;
4065
  }
4066
 
4067
 
 
 
 
 
 
 
 
 
 
 
4068
  .of-notice-small {
4069
  border-left: 4px solid #00a0d2;
4070
  margin: 5px 0 15px;
4072
  background-color: #fafafa;
4073
  display: inline-block;
4074
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/assets/images/themes/pro/bike-shop.jpg ADDED
Binary file
admin/assets/images/themes/pro/city-nighttime.jpg ADDED
Binary file
admin/assets/images/themes/pro/concert.jpg ADDED
Binary file
admin/assets/images/themes/pro/conference-event.jpg ADDED
Binary file
admin/assets/images/themes/pro/future-technology.jpg ADDED
Binary file
admin/assets/images/themes/pro/ladies-accessories.jpg ADDED
Binary file
admin/assets/images/themes/pro/personal-trainer.jpg ADDED
Binary file
admin/assets/images/themes/pro/romantic-travels.jpg ADDED
Binary file
admin/assets/images/themes/pro/scholar-university.jpg ADDED
Binary file
admin/assets/images/themes/pro/social-media-service.jpg ADDED
Binary file
admin/assets/images/themes/pro/virtual-assistant-service.jpg ADDED
Binary file
admin/assets/js/ot-admin.js CHANGED
@@ -553,8 +553,13 @@
553
  fx: {
554
  opacity: "toggle",
555
  duration: "fast"
556
- }
 
 
 
 
557
  });
 
558
  $(".wrap.settings-wrap .ui-tabs a.ui-tabs-anchor").on("click", function(event, ui) {
559
  var obj = "input[name='_wp_http_referer']";
560
  if ( $(obj).length > 0 ) {
@@ -1289,48 +1294,6 @@
1289
  $(document).ready( function(){
1290
  $('.hide-color-picker.ot-colorpicker-opacity').ot_wpColorPicker();
1291
 
1292
- // upsell dialog init
1293
- $('#weforms-upsell-dialog').dialog({'dialogClass': 'wp-dialog weforms-upsell-dialog',
1294
- 'modal': 1,
1295
- 'resizable': false,
1296
- 'title': 'Start Collecting Leads and Subscribers',
1297
- 'zIndex': 9999,
1298
- 'width': 550,
1299
- 'height': 'auto',
1300
- 'show': 'fade',
1301
- 'hide': 'fade',
1302
- 'open': function(event, ui) {
1303
- ot_fix_dialog_close(event, ui);
1304
- $(this).siblings().find('span.ui-dialog-title').html(option_tree.weforms_dialog_upsell_title);
1305
- },
1306
- 'close': function(event, ui) { },
1307
- 'autoOpen': false,
1308
- 'closeOnEscape': true
1309
- });
1310
-
1311
- $(window).resize(function(e) {
1312
- $('#weforms-upsell-dialog').dialog("option", "position", {my: "center", at: "center", of: window});
1313
- });
1314
-
1315
-
1316
- jQuery('#install-weforms').on('click',function(e){
1317
- $('#weforms-upsell-dialog').dialog('close');
1318
- jQuery('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.weforms_install_url + '" style="width:100%;height:100%;border:none;" /></div>');
1319
- jQuery('#wpwrap').css('pointer-events', 'none');
1320
- e.preventDefault();
1321
- return false;
1322
- });
1323
-
1324
- $('#page-niftycs_options').on('click', '.open-weforms-upsell,#setting_weforms_sign_up_form_enable .on-off-switch', function(e) {
1325
- e.stopPropagation();
1326
- e.preventDefault();
1327
-
1328
- $(this).blur();
1329
-
1330
- $('#weforms-upsell-dialog').dialog('open');
1331
-
1332
- return false;
1333
- });
1334
 
1335
  function ot_fix_dialog_close(event, ui) {
1336
  jQuery('.ui-widget-overlay').bind('click', function(){
@@ -1340,21 +1303,22 @@
1340
 
1341
  $('#page-niftycs_options').on('click', '.change_tab', function(e) {
1342
  e.preventDefault();
 
1343
  $(".wrap.settings-wrap .ui-tabs").tabs('option', 'active', $(this).data('tab'));
1344
-
1345
  // get the link anchor and scroll to it
1346
  var target = this.href.split('#')[1];
1347
  if (target) {
1348
  jQuery.scrollTo('#' + target, 500, {offset: {top:-100, left:0}});
1349
  }
1350
-
1351
  return false;
1352
  });
1353
 
1354
  });
1355
 
1356
-
1357
-
1358
 
1359
  })( jQuery, window, document );
1360
 
@@ -1365,4 +1329,4 @@
1365
  * @author Ariel Flesler
1366
  * @version 2.1.2
1367
  */
1368
- ;(function(f){"use strict";"function"===typeof define&&define.amd?define(["jquery"],f):"undefined"!==typeof module&&module.exports?module.exports=f(require("jquery")):f(jQuery)})(function($){"use strict";function n(a){return!a.nodeName||-1!==$.inArray(a.nodeName.toLowerCase(),["iframe","#document","html","body"])}function h(a){return $.isFunction(a)||$.isPlainObject(a)?a:{top:a,left:a}}var p=$.scrollTo=function(a,d,b){return $(window).scrollTo(a,d,b)};p.defaults={axis:"xy",duration:0,limit:!0};$.fn.scrollTo=function(a,d,b){"object"=== typeof d&&(b=d,d=0);"function"===typeof b&&(b={onAfter:b});"max"===a&&(a=9E9);b=$.extend({},p.defaults,b);d=d||b.duration;var u=b.queue&&1<b.axis.length;u&&(d/=2);b.offset=h(b.offset);b.over=h(b.over);return this.each(function(){function k(a){var k=$.extend({},b,{queue:!0,duration:d,complete:a&&function(){a.call(q,e,b)}});r.animate(f,k)}if(null!==a){var l=n(this),q=l?this.contentWindow||window:this,r=$(q),e=a,f={},t;switch(typeof e){case "number":case "string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(e)){e= h(e);break}e=l?$(e):$(e,q);case "object":if(e.length===0)return;if(e.is||e.style)t=(e=$(e)).offset()}var v=$.isFunction(b.offset)&&b.offset(q,e)||b.offset;$.each(b.axis.split(""),function(a,c){var d="x"===c?"Left":"Top",m=d.toLowerCase(),g="scroll"+d,h=r[g](),n=p.max(q,c);t?(f[g]=t[m]+(l?0:h-r.offset()[m]),b.margin&&(f[g]-=parseInt(e.css("margin"+d),10)||0,f[g]-=parseInt(e.css("border"+d+"Width"),10)||0),f[g]+=v[m]||0,b.over[m]&&(f[g]+=e["x"===c?"width":"height"]()*b.over[m])):(d=e[m],f[g]=d.slice&& "%"===d.slice(-1)?parseFloat(d)/100*n:d);b.limit&&/^\d+$/.test(f[g])&&(f[g]=0>=f[g]?0:Math.min(f[g],n));!a&&1<b.axis.length&&(h===f[g]?f={}:u&&(k(b.onAfterFirst),f={}))});k(b.onAfter)}})};p.max=function(a,d){var b="x"===d?"Width":"Height",h="scroll"+b;if(!n(a))return a[h]-$(a)[b.toLowerCase()]();var b="client"+b,k=a.ownerDocument||a.document,l=k.documentElement,k=k.body;return Math.max(l[h],k[h])-Math.min(l[b],k[b])};$.Tween.propHooks.scrollLeft=$.Tween.propHooks.scrollTop={get:function(a){return $(a.elem)[a.prop]()}, set:function(a){var d=this.get(a);if(a.options.interrupt&&a._last&&a._last!==d)return $(a.elem).stop();var b=Math.round(a.now);d!==b&&($(a.elem)[a.prop](b),a._last=this.get(a))}};return p});
553
  fx: {
554
  opacity: "toggle",
555
  duration: "fast"
556
+ },
557
+ activate: function(event, ui) {
558
+ localStorage.setItem('nifty-active-tab', $('.wrap.settings-wrap .ui-tabs').tabs('option', 'active'));
559
+ },
560
+ active: localStorage.getItem('nifty-active-tab'),
561
  });
562
+
563
  $(".wrap.settings-wrap .ui-tabs a.ui-tabs-anchor").on("click", function(event, ui) {
564
  var obj = "input[name='_wp_http_referer']";
565
  if ( $(obj).length > 0 ) {
1294
  $(document).ready( function(){
1295
  $('.hide-color-picker.ot-colorpicker-opacity').ot_wpColorPicker();
1296
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1297
 
1298
  function ot_fix_dialog_close(event, ui) {
1299
  jQuery('.ui-widget-overlay').bind('click', function(){
1303
 
1304
  $('#page-niftycs_options').on('click', '.change_tab', function(e) {
1305
  e.preventDefault();
1306
+
1307
  $(".wrap.settings-wrap .ui-tabs").tabs('option', 'active', $(this).data('tab'));
1308
+
1309
  // get the link anchor and scroll to it
1310
  var target = this.href.split('#')[1];
1311
  if (target) {
1312
  jQuery.scrollTo('#' + target, 500, {offset: {top:-100, left:0}});
1313
  }
1314
+
1315
  return false;
1316
  });
1317
 
1318
  });
1319
 
1320
+
1321
+
1322
 
1323
  })( jQuery, window, document );
1324
 
1329
  * @author Ariel Flesler
1330
  * @version 2.1.2
1331
  */
1332
+ ;(function(f){"use strict";"function"===typeof define&&define.amd?define(["jquery"],f):"undefined"!==typeof module&&module.exports?module.exports=f(require("jquery")):f(jQuery)})(function($){"use strict";function n(a){return!a.nodeName||-1!==$.inArray(a.nodeName.toLowerCase(),["iframe","#document","html","body"])}function h(a){return $.isFunction(a)||$.isPlainObject(a)?a:{top:a,left:a}}var p=$.scrollTo=function(a,d,b){return $(window).scrollTo(a,d,b)};p.defaults={axis:"xy",duration:0,limit:!0};$.fn.scrollTo=function(a,d,b){"object"=== typeof d&&(b=d,d=0);"function"===typeof b&&(b={onAfter:b});"max"===a&&(a=9E9);b=$.extend({},p.defaults,b);d=d||b.duration;var u=b.queue&&1<b.axis.length;u&&(d/=2);b.offset=h(b.offset);b.over=h(b.over);return this.each(function(){function k(a){var k=$.extend({},b,{queue:!0,duration:d,complete:a&&function(){a.call(q,e,b)}});r.animate(f,k)}if(null!==a){var l=n(this),q=l?this.contentWindow||window:this,r=$(q),e=a,f={},t;switch(typeof e){case "number":case "string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(e)){e= h(e);break}e=l?$(e):$(e,q);case "object":if(e.length===0)return;if(e.is||e.style)t=(e=$(e)).offset()}var v=$.isFunction(b.offset)&&b.offset(q,e)||b.offset;$.each(b.axis.split(""),function(a,c){var d="x"===c?"Left":"Top",m=d.toLowerCase(),g="scroll"+d,h=r[g](),n=p.max(q,c);t?(f[g]=t[m]+(l?0:h-r.offset()[m]),b.margin&&(f[g]-=parseInt(e.css("margin"+d),10)||0,f[g]-=parseInt(e.css("border"+d+"Width"),10)||0),f[g]+=v[m]||0,b.over[m]&&(f[g]+=e["x"===c?"width":"height"]()*b.over[m])):(d=e[m],f[g]=d.slice&& "%"===d.slice(-1)?parseFloat(d)/100*n:d);b.limit&&/^\d+$/.test(f[g])&&(f[g]=0>=f[g]?0:Math.min(f[g],n));!a&&1<b.axis.length&&(h===f[g]?f={}:u&&(k(b.onAfterFirst),f={}))});k(b.onAfter)}})};p.max=function(a,d){var b="x"===d?"Width":"Height",h="scroll"+b;if(!n(a))return a[h]-$(a)[b.toLowerCase()]();var b="client"+b,k=a.ownerDocument||a.document,l=k.documentElement,k=k.body;return Math.max(l[h],k[h])-Math.min(l[b],k[b])};$.Tween.propHooks.scrollLeft=$.Tween.propHooks.scrollTop={get:function(a){return $(a.elem)[a.prop]()}, set:function(a){var d=this.get(a);if(a.options.interrupt&&a._last&&a._last!==d)return $(a.elem).stop();var b=Math.round(a.now);d!==b&&($(a.elem)[a.prop](b),a._last=this.get(a))}};return p});
admin/includes/class-ot-settings.php CHANGED
@@ -296,42 +296,11 @@ if ( ! class_exists( 'OT_Settings' ) ) {
296
  echo '<button class="option-tree-ui-button button button-primary right">' . $page['button_text'] . '</button>';
297
  echo '<a target="_blank" href="'. get_site_url().'/?get_preview=true"><div class="option-tree-ui-button button right">Live Preview</div></a>';
298
  $options = get_option('nifty_options');
299
- if (false && empty($options['hide_notice']['rate'])) {
300
  $dismiss_url = add_query_arg(array('action' => 'nifty_dismiss_notice', 'notice' => 'rate', 'redirect' => urlencode($_SERVER['REQUEST_URI'])), admin_url('admin.php'));
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
- if (empty($options['hide_notice']['weforms']) && !ot_is_weforms_active()) {
305
- $dismiss_url = add_query_arg(array('action' => 'nifty_dismiss_notice', 'notice' => 'weforms', 'redirect' => urlencode($_SERVER['REQUEST_URI'])), admin_url('admin.php'));
306
- echo '<div id="rate-plugin">Collecting leads &amp; subscribers is the key function of any Coming Soon page. That\'s why we partnered with the free <a href="#" class="open-weforms-upsell">weForms</a> plugin to enable you to start collecting leads and subscribers. A contact form, event registration form, survey form - weForms supports all of them.<p><a href="#" class="button button-primary open-weforms-upsell">Install the free weForms plugin &amp; start collecting leads</a> &nbsp;&nbsp; <a href="' . $dismiss_url . '">I\'m not interested</a></p></div>';
307
- }
308
-
309
- /*
310
- echo '<div class="of-notice-small"><p>All themes come with <b>optin boxes</b> &amp; <b>optin popups</b> that you can connect to Mailchimp and other autoresponders to collect leads &amp; subscribers.';
311
- if (ot_is_weforms_active()) {
312
- echo '<br>Configure them in <a href="#weforms_sign_up_form" class="change_tab" data-tab="0">General Settings - weForms</a> settings.';
313
- } else {
314
- echo '<br>To enable this feature <a class="open-weforms-upsell" href="#">install the free weForms plugin</a>.';
315
- }
316
- echo '</p></div>';
317
- */
318
-
319
- // weforms install dialog
320
- echo '<div id="weforms-upsell-dialog" style="display: none;" title="weForms"><span class="ui-helper-hidden-accessible"><input type="text"/></span>';
321
- echo '<div style="padding: 20px; font-size: 14px;">';
322
- echo '<ul class="weforms-list">';
323
- echo '<li>free plugin that integrates with Nifty</li>';
324
- echo '<li>instantly create any kind of form you need</li>';
325
- echo '<li>collect leads &amp; subscribers</li>';
326
- echo '<li>easily connect with leading autoresponder services</li>';
327
- echo '<li>completely customize the look &amp; feel of your form</li>';
328
- echo '</ul>';
329
- echo '<p class="upsell-footer"><a class="button button-primary" id="install-weforms">Install &amp; activate weForms to create any form you need</a></p>';
330
- echo '</div>';
331
- echo '</div>'; // weforms install dialog
332
-
333
-
334
-
335
  echo '</div>';
336
 
337
  // Navigation.
296
  echo '<button class="option-tree-ui-button button button-primary right">' . $page['button_text'] . '</button>';
297
  echo '<a target="_blank" href="'. get_site_url().'/?get_preview=true"><div class="option-tree-ui-button button right">Live Preview</div></a>';
298
  $options = get_option('nifty_options');
299
+ if (empty($options['hide_notice']['rate'])) {
300
  $dismiss_url = add_query_arg(array('action' => 'nifty_dismiss_notice', 'notice' => 'rate', 'redirect' => urlencode($_SERVER['REQUEST_URI'])), admin_url('admin.php'));
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.
admin/includes/ot-functions-admin.php CHANGED
@@ -846,7 +846,7 @@ if ( ! function_exists( 'ot_admin_styles' ) ) {
846
 
847
  // Load WP colorpicker.
848
  wp_enqueue_style( 'wp-color-picker' );
849
-
850
 
851
  // Load admin styles.
852
  wp_enqueue_style( 'ot-admin-css', OT_URL . 'assets/css/ot-admin.css', false, OT_VERSION );
@@ -932,7 +932,7 @@ if ( ! function_exists( 'ot_admin_scripts' ) ) {
932
  }
933
 
934
 
935
-
936
 
937
  // Load all the required scripts.
938
  wp_enqueue_script('jquery-ui-dialog');
@@ -957,9 +957,9 @@ if ( ! function_exists( 'ot_admin_scripts' ) ) {
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'.
@@ -1692,7 +1692,7 @@ add_action( 'init', 'custom_theme_options' );
1692
  * Build the custom settings & update OptionTree.
1693
  */
1694
  function custom_theme_options() {
1695
-
1696
  // OptionTree is not loaded yet, or this is not an admin request.
1697
  if ( ! function_exists( 'ot_settings_id' ) || ! is_admin() ) {
1698
  return false;
@@ -1710,7 +1710,7 @@ function custom_theme_options() {
1710
 
1711
  // Settings are not the same update the DB.
1712
  if ( \$saved_settings !== \$custom_settings ) {
1713
- update_option( ot_settings_id(), \$custom_settings );
1714
  }
1715
 
1716
  // Lets OptionTree know the UI Builder is being overridden.
846
 
847
  // Load WP colorpicker.
848
  wp_enqueue_style( 'wp-color-picker' );
849
+
850
 
851
  // Load admin styles.
852
  wp_enqueue_style( 'ot-admin-css', OT_URL . 'assets/css/ot-admin.css', false, OT_VERSION );
932
  }
933
 
934
 
935
+
936
 
937
  // Load all the required scripts.
938
  wp_enqueue_script('jquery-ui-dialog');
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'.
1692
  * Build the custom settings & update OptionTree.
1693
  */
1694
  function custom_theme_options() {
1695
+
1696
  // OptionTree is not loaded yet, or this is not an admin request.
1697
  if ( ! function_exists( 'ot_settings_id' ) || ! is_admin() ) {
1698
  return false;
1710
 
1711
  // Settings are not the same update the DB.
1712
  if ( \$saved_settings !== \$custom_settings ) {
1713
+ update_option( ot_settings_id(), \$custom_settings );
1714
  }
1715
 
1716
  // Lets OptionTree know the UI Builder is being overridden.
admin/includes/ot-functions-option-types.php CHANGED
@@ -3181,47 +3181,47 @@ if ( ! function_exists( 'ot_type_upload' ) ) {
3181
  */
3182
  if ( ! function_exists( 'ot_type_weforms' ) ) {
3183
 
3184
- function ot_type_weforms( $args = array() ) {
3185
-
3186
- /* turns arguments array into variables */
3187
- extract( $args );
3188
-
3189
- /* verify a description */
3190
- $has_desc = $field_desc ? true : false;
3191
-
3192
- /* format setting outer wrapper */
3193
- echo '<div class="format-setting type-custom-post-type-select ' . ( $has_desc ? 'has-desc' : 'no-desc' ) . '">';
3194
-
3195
- /* description */
3196
- echo '<div class="description"> '.$field_desc.' </div>';
3197
-
3198
- /* format setting inner wrapper */
3199
- echo '<div class="format-setting-inner">';
3200
-
3201
- /* build category */
3202
- echo '<select name="' . esc_attr( $field_name ) . '" id="' . esc_attr( $field_id ) . '" class="option-tree-ui-select ' . $field_class . '">';
3203
-
3204
- echo '<option value="-1">' . __( 'Do not show a form', 'option-tree' ) . '</option>';
3205
-
3206
- if(class_exists('WeForms_Form_Manager')){
3207
- $weforms_forms = new WeForms_Form_Manager;
3208
- $weforms = $weforms_forms->get_forms();
3209
- if(count($weforms)>0){
3210
- foreach($weforms['forms'] as $weform){
3211
- echo '<option value="' . esc_attr( $weform->id ) . '"' . selected( $field_value, $weform->id, false ) . '>' . $weform->name . '</option>';
 
 
 
3212
  }
3213
- } else {
3214
- echo '<option value="">' . __( 'No weForms Found', 'option-tree' ) . '</option>';
3215
  }
3216
- }
3217
-
3218
- echo '</select>';
3219
- echo '<br><br><p>Create, edit, style and manage forms on the <a href="admin.php?page=weforms#/">weForms page</a>.</p>';
3220
-
 
3221
  echo '</div>';
3222
-
3223
- echo '</div>';
3224
-
3225
- }
3226
-
3227
- }
3181
  */
3182
  if ( ! function_exists( 'ot_type_weforms' ) ) {
3183
 
3184
+ function ot_type_weforms( $args = array() ) {
3185
+
3186
+ /* turns arguments array into variables */
3187
+ extract( $args );
3188
+
3189
+ /* verify a description */
3190
+ $has_desc = $field_desc ? true : false;
3191
+
3192
+ /* format setting outer wrapper */
3193
+ echo '<div class="format-setting type-custom-post-type-select ' . ( $has_desc ? 'has-desc' : 'no-desc' ) . '">';
3194
+
3195
+ /* description */
3196
+ echo '<div class="description"> '.$field_desc.' </div>';
3197
+
3198
+ /* format setting inner wrapper */
3199
+ echo '<div class="format-setting-inner">';
3200
+
3201
+ /* build category */
3202
+ echo '<select name="' . esc_attr( $field_name ) . '" id="' . esc_attr( $field_id ) . '" class="option-tree-ui-select ' . $field_class . '">';
3203
+
3204
+ echo '<option value="-1">' . __( 'Do not use WeForms', 'option-tree' ) . '</option>';
3205
+
3206
+ if(class_exists('WeForms_Form_Manager')){
3207
+ $weforms_forms = new WeForms_Form_Manager;
3208
+ $weforms = $weforms_forms->get_forms();
3209
+ if(count($weforms)>0){
3210
+ foreach($weforms['forms'] as $weform){
3211
+ echo '<option value="' . esc_attr( $weform->id ) . '"' . selected( $field_value, $weform->id, false ) . '>' . $weform->name . '</option>';
3212
+ }
3213
+ } else {
3214
+ echo '<option value="">' . __( 'No weForms Found', 'option-tree' ) . '</option>';
3215
  }
 
 
3216
  }
3217
+
3218
+ echo '</select>';
3219
+ echo '<br><br><p>Create, edit, style and manage forms on the <a href="admin.php?page=weforms#/">weForms page</a>.</p>';
3220
+
3221
+ echo '</div>';
3222
+
3223
  echo '</div>';
3224
+
3225
+ }
3226
+
3227
+ }
 
 
admin/includes/ot-settings-api.php CHANGED
@@ -299,47 +299,15 @@ if ( ! class_exists( 'OT_Settings' ) ) {
299
  echo '<div id="option-tree-sub-header">';
300
 
301
 
302
-
303
  if ( $show_buttons )
304
  echo '<button class="option-tree-ui-button button button-primary right">' . $page['button_text'] . '</button>';
305
  echo '<a target="_blank" href="'. get_site_url().'/?get_preview=true"><div class="option-tree-ui-button button right">Live Preview</div></a>';
306
  $options = get_option('nifty_options');
307
- if (false && empty($options['hide_notice']['rate'])) {
308
  $dismiss_url = add_query_arg(array('action' => 'nifty_dismiss_notice', 'notice' => 'rate', 'redirect' => urlencode($_SERVER['REQUEST_URI'])), admin_url('admin.php'));
309
  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>';
310
  }
311
 
312
- if (empty($options['hide_notice']['weforms']) && !ot_is_weforms_active()) {
313
- $dismiss_url = add_query_arg(array('action' => 'nifty_dismiss_notice', 'notice' => 'weforms', 'redirect' => urlencode($_SERVER['REQUEST_URI'])), admin_url('admin.php'));
314
- echo '<div id="rate-plugin">Collecting leads &amp; subscribers is the key function of any Coming Soon page. That\'s why we partnered with the free <a href="#" class="open-weforms-upsell">weForms</a> plugin to enable you to start collecting leads and subscribers. A contact form, event registration form, survey form - weForms supports all of them.<p><a href="#" class="button button-primary open-weforms-upsell">Install the free weForms plugin &amp; start collecting leads</a> &nbsp;&nbsp; <a href="' . $dismiss_url . '">I\'m not interested</a></p></div>';
315
- }
316
-
317
- /*
318
- echo '<div class="of-notice-small"><p>All themes come with <b>optin boxes</b> &amp; <b>optin popups</b> that you can connect to Mailchimp and other autoresponders to collect leads &amp; subscribers.';
319
- if (ot_is_weforms_active()) {
320
- echo '<br>Configure them in <a href="#weforms_sign_up_form" class="change_tab" data-tab="0">General Settings - weForms</a> settings.';
321
- } else {
322
- echo '<br>To enable this feature <a class="open-weforms-upsell" href="#">install the free weForms plugin</a>.';
323
- }
324
- echo '</p></div>';
325
- */
326
-
327
- // weforms install dialog
328
- echo '<div id="weforms-upsell-dialog" style="display: none;" title="weForms"><span class="ui-helper-hidden-accessible"><input type="text"/></span>';
329
- echo '<div style="padding: 20px; font-size: 14px;">';
330
- echo '<ul class="weforms-list">';
331
- echo '<li>free plugin that integrates with Nifty</li>';
332
- echo '<li>instantly create any kind of form you need</li>';
333
- echo '<li>collect leads &amp; subscribers</li>';
334
- echo '<li>easily connect with leading autoresponder services</li>';
335
- echo '<li>completely customize the look &amp; feel of your form</li>';
336
- echo '</ul>';
337
- echo '<p class="upsell-footer"><a class="button button-primary" id="install-weforms">Install &amp; activate weForms to create any form you need</a></p>';
338
- echo '</div>';
339
- echo '</div>'; // weforms install dialog
340
-
341
-
342
-
343
  echo '</div>';
344
 
345
 
299
  echo '<div id="option-tree-sub-header">';
300
 
301
 
 
302
  if ( $show_buttons )
303
  echo '<button class="option-tree-ui-button button button-primary right">' . $page['button_text'] . '</button>';
304
  echo '<a target="_blank" href="'. get_site_url().'/?get_preview=true"><div class="option-tree-ui-button button right">Live Preview</div></a>';
305
  $options = get_option('nifty_options');
306
+ if (empty($options['hide_notice']['rate'])) {
307
  $dismiss_url = add_query_arg(array('action' => 'nifty_dismiss_notice', 'notice' => 'rate', 'redirect' => urlencode($_SERVER['REQUEST_URI'])), admin_url('admin.php'));
308
  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>';
309
  }
310
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
311
  echo '</div>';
312
 
313
 
admin/main-options.php CHANGED
@@ -9,7 +9,6 @@
9
  */
10
 
11
  add_action( 'init', 'nifty_cs_custom_theme_options' );
12
- add_action( 'admin_action_install_weforms', 'ot_install_weforms' );
13
  /**
14
  * Build the custom settings & update OptionTree.
15
  */
@@ -61,1011 +60,1111 @@ function admin_action_dismiss_notice() {
61
  function ot_type_custom_themes() {
62
  $themes =
63
 
64
- array (
65
- 0 =>
66
  array (
67
- 'type' => 'CSMM PRO',
68
- 'version' => '5.005',
69
- 'last_edit' => 'Thu, 22 Feb 2018 18:45:00 +0000',
70
- 'name' => 'Aeroplane Company',
71
- 'description' => 'Andrea',
72
- 'frontpage' => '1',
73
- 'status' => 'pro',
74
- 'name_clean' => 'aeroplane-company',
75
- ),
76
- 1 =>
77
- array (
78
- 'type' => 'CSMM PRO',
79
- 'version' => '15.17',
80
- 'last_edit' => 'Sun, 09 Sep 2018 16:06:39 +0000',
81
- 'name' => 'Air Balloon',
82
- 'description' => '',
83
- 'frontpage' => '1',
84
- 'status' => 'agency',
85
- 'name_clean' => 'air-balloon',
86
- ),
87
- 2 =>
88
- array (
89
- 'type' => 'CSMM PRO',
90
- 'version' => '15.05',
91
- 'last_edit' => 'Fri, 02 Mar 2018 12:43:04 +0000',
92
- 'name' => 'Animated Clock',
93
- 'description' => 'Andrea',
94
- 'frontpage' => '0',
95
- 'status' => 'pro',
96
- 'name_clean' => 'animated-clock',
97
- ),
98
- 3 =>
99
- array (
100
- 'type' => 'CSMM PRO',
101
- 'version' => '15.17',
102
- 'last_edit' => 'Sat, 08 Sep 2018 14:42:03 +0000',
103
- 'name' => 'Architecture',
104
- 'description' => '',
105
- 'frontpage' => '1',
106
- 'status' => 'agency',
107
- 'name_clean' => 'architecture',
108
- ),
109
- 4 =>
110
- array (
111
- 'type' => 'CSMM PRO',
112
- 'version' => '15.17',
113
- 'last_edit' => 'Sun, 23 Sep 2018 12:44:52 +0000',
114
- 'name' => 'Auto Service',
115
- 'description' => '',
116
- 'frontpage' => '1',
117
- 'status' => 'agency',
118
- 'name_clean' => 'auto-service',
119
- ),
120
- 5 =>
121
- array (
122
- 'type' => 'CSMM PRO',
123
- 'version' => '15.17',
124
- 'last_edit' => 'Sat, 09 Jun 2018 13:26:02 +0000',
125
- 'name' => 'Beach',
126
- 'description' => '',
127
- 'frontpage' => '1',
128
- 'status' => 'pro',
129
- 'name_clean' => 'beach',
130
- ),
131
- 6 =>
132
- array (
133
- 'type' => 'CSMM PRO',
134
- 'version' => '5.05',
135
- 'last_edit' => 'Wed, 28 Feb 2018 10:30:46 +0000',
136
- 'name' => 'Bicycle Race',
137
- 'description' => 'Andrea',
138
- 'frontpage' => '0',
139
- 'status' => 'agency',
140
- 'name_clean' => 'bicycle-race',
141
- ),
142
- 7 =>
143
- array (
144
- 'type' => 'CSMM PRO',
145
- 'version' => '5.005',
146
- 'last_edit' => 'Sat, 24 Feb 2018 11:48:50 +0000',
147
- 'name' => 'Bitcoin Miners',
148
- 'description' => '',
149
- 'frontpage' => '1',
150
- 'status' => 'agency',
151
- 'name_clean' => 'bitcoin-miners',
152
- ),
153
- 8 =>
154
- array (
155
- 'type' => 'CSMM PRO',
156
- 'version' => '15.17',
157
- 'last_edit' => 'Fri, 30 Mar 2018 11:50:26 +0000',
158
- 'name' => 'Blogging',
159
- 'description' => '',
160
- 'frontpage' => '1',
161
- 'status' => 'agency',
162
- 'name_clean' => 'blogging',
163
- ),
164
- 9 =>
165
- array (
166
- 'type' => 'CSMM PRO',
167
- 'version' => '5.005',
168
- 'last_edit' => 'Tue, 27 Feb 2018 09:56:05 +0000',
169
- 'name' => 'Book Lovers',
170
- 'description' => 'Andrea',
171
- 'frontpage' => '1',
172
- 'status' => 'agency',
173
- 'name_clean' => 'book-lovers',
174
- ),
175
- 10 =>
176
- array (
177
- 'type' => 'CSMM PRO',
178
- 'version' => '5.001',
179
- 'last_edit' => 'Thu, 15 Feb 2018 16:24:58 +0000',
180
- 'name' => 'Business Company',
181
- 'description' => '',
182
- 'frontpage' => '0',
183
- 'status' => 'agency',
184
- 'name_clean' => 'business-company',
185
- ),
186
- 11 =>
187
- array (
188
- 'type' => 'CSMM PRO',
189
- 'version' => '15.17',
190
- 'last_edit' => 'Wed, 25 Apr 2018 11:06:41 +0000',
191
- 'name' => 'Business',
192
- 'description' => 'Andrea',
193
- 'frontpage' => '1',
194
- 'status' => 'agency',
195
- 'name_clean' => 'business',
196
- ),
197
- 12 =>
198
- array (
199
- 'type' => 'CSMM PRO',
200
- 'version' => '15.17',
201
- 'last_edit' => 'Wed, 30 Jan 2019 19:31:32 +0000',
202
- 'name' => 'Café',
203
- 'description' => '',
204
- 'frontpage' => '1',
205
- 'status' => 'agency',
206
- 'name_clean' => 'cafe',
207
- ),
208
- 13 =>
209
- array (
210
- 'type' => 'CSMM PRO',
211
- 'version' => '15.17',
212
- 'last_edit' => 'Sun, 29 Jul 2018 12:52:06 +0000',
213
- 'name' => 'Cityscape',
214
- 'description' => '',
215
- 'frontpage' => '1',
216
- 'status' => 'agency',
217
- 'name_clean' => 'cityscape',
218
- ),
219
- 14 =>
220
- array (
221
- 'type' => 'CSMM PRO',
222
- 'version' => '5.14',
223
- 'last_edit' => 'Fri, 23 Mar 2018 16:46:05 +0000',
224
- 'name' => 'Clouds Screensaver (Video)',
225
- 'description' => '',
226
- 'frontpage' => '1',
227
- 'status' => 'agency',
228
- 'name_clean' => 'clouds-screensaver-video',
229
- ),
230
- 15 =>
231
- array (
232
- 'type' => 'CSMM PRO',
233
- 'version' => '5.005',
234
- 'last_edit' => 'Thu, 22 Feb 2018 18:45:40 +0000',
235
- 'name' => 'Coffee Shop',
236
- 'description' => 'Andrea',
237
- 'frontpage' => '1',
238
- 'status' => 'agency',
239
- 'name_clean' => 'coffee-shop',
240
- ),
241
- 16 =>
242
- array (
243
- 'type' => 'CSMM PRO',
244
- 'version' => '15.17',
245
- 'last_edit' => 'Fri, 04 May 2018 08:57:40 +0000',
246
- 'name' => 'Cold Lake',
247
- 'description' => '',
248
- 'frontpage' => '1',
249
- 'status' => 'agency',
250
- 'name_clean' => 'cold-lake',
251
- ),
252
- 17 =>
253
- array (
254
- 'type' => 'CSMM PRO',
255
- 'version' => '15.17',
256
- 'last_edit' => 'Mon, 07 Jan 2019 08:25:36 +0000',
257
- 'name' => 'Computer Repair Service',
258
- 'description' => '',
259
- 'frontpage' => '1',
260
- 'status' => 'agency',
261
- 'name_clean' => 'computer-repair-service',
262
- ),
263
- 18 =>
264
- array (
265
- 'type' => 'CSMM PRO',
266
- 'version' => '15.17',
267
- 'last_edit' => 'Fri, 30 Nov 2018 10:25:04 +0000',
268
- 'name' => 'Custom Decor',
269
- 'description' => '',
270
- 'frontpage' => '1',
271
- 'status' => 'agency',
272
- 'name_clean' => 'custom-decor',
273
- ),
274
- 19 =>
275
- array (
276
- 'type' => 'CSMM PRO',
277
- 'version' => '5.005',
278
- 'last_edit' => 'Mon, 26 Feb 2018 20:41:31 +0000',
279
- 'name' => 'Default',
280
- 'description' => 'Default settings, nothing more.',
281
- 'frontpage' => '0',
282
- 'status' => 'pro',
283
- 'name_clean' => 'default',
284
- ),
285
- 20 =>
286
- array (
287
- 'type' => 'CSMM PRO',
288
- 'version' => '15.17',
289
- 'last_edit' => 'Fri, 30 Mar 2018 11:24:59 +0000',
290
- 'name' => 'Dental Clinic',
291
- 'description' => 'Andrea',
292
- 'frontpage' => '1',
293
- 'status' => 'agency',
294
- 'name_clean' => 'dental-clinic',
295
- ),
296
- 21 =>
297
- array (
298
- 'type' => 'CSMM PRO',
299
- 'version' => '15.17',
300
- 'last_edit' => 'Mon, 26 Nov 2018 18:41:25 +0000',
301
- 'name' => 'Dog Shelter',
302
- 'description' => '',
303
- 'frontpage' => '1',
304
- 'status' => 'pro',
305
- 'name_clean' => 'dog-shelter',
306
- ),
307
- 22 =>
308
- array (
309
- 'type' => 'CSMM PRO',
310
- 'version' => '5.001',
311
- 'last_edit' => 'Tue, 20 Feb 2018 09:14:59 +0000',
312
- 'name' => 'Dog Training and Behavior Consulting',
313
- 'description' => '',
314
- 'frontpage' => '1',
315
- 'status' => 'agency',
316
- 'name_clean' => 'dog-training-and-behavior-consulting',
317
- ),
318
- 23 =>
319
- array (
320
- 'type' => 'CSMM PRO',
321
- 'version' => '15.17',
322
- 'last_edit' => 'Mon, 07 Jan 2019 08:27:22 +0000',
323
- 'name' => 'Employment',
324
- 'description' => '',
325
- 'frontpage' => '1',
326
- 'status' => 'pro',
327
- 'name_clean' => 'employment',
328
- ),
329
- 24 =>
330
- array (
331
- 'type' => 'CSMM PRO',
332
- 'version' => '15.17',
333
- 'last_edit' => 'Sun, 23 Dec 2018 09:56:23 +0000',
334
- 'name' => 'Essay Writing Service',
335
- 'description' => '',
336
- 'frontpage' => '1',
337
- 'status' => 'agency',
338
- 'name_clean' => 'essay-writing-service',
339
- ),
340
- 25 =>
341
- array (
342
- 'type' => 'CSMM PRO',
343
- 'version' => '15.17',
344
- 'last_edit' => 'Wed, 29 Aug 2018 16:00:04 +0000',
345
- 'name' => 'Fall (Video)',
346
- 'description' => '',
347
- 'frontpage' => '1',
348
- 'status' => 'pro',
349
- 'name_clean' => 'fall-video',
350
- ),
351
- 26 =>
352
- array (
353
- 'type' => 'CSMM PRO',
354
- 'version' => '15.17',
355
- 'last_edit' => 'Sat, 21 Jul 2018 22:37:09 +0000',
356
- 'name' => 'Fashion',
357
- 'description' => '',
358
- 'frontpage' => '1',
359
- 'status' => 'agency',
360
- 'name_clean' => 'fashion',
361
- ),
362
- 27 =>
363
- array (
364
- 'type' => 'CSMM PRO',
365
- 'version' => '15.17',
366
- 'last_edit' => 'Tue, 30 Oct 2018 18:11:40 +0000',
367
- 'name' => 'Financial District',
368
- 'description' => '',
369
- 'frontpage' => '1',
370
- 'status' => 'pro',
371
- 'name_clean' => 'financial-district',
372
- ),
373
- 28 =>
374
- array (
375
- 'type' => 'CSMM PRO',
376
- 'version' => '15.05',
377
- 'last_edit' => 'Fri, 02 Mar 2018 12:33:55 +0000',
378
- 'name' => 'Flower Shop',
379
- 'description' => '',
380
- 'frontpage' => '1',
381
- 'status' => 'agency',
382
- 'name_clean' => 'flower-shop',
383
- ),
384
- 29 =>
385
- array (
386
- 'type' => 'CSMM PRO',
387
- 'version' => '15.17',
388
- 'last_edit' => 'Wed, 02 May 2018 09:37:48 +0000',
389
- 'name' => 'Food Blog',
390
- 'description' => '',
391
- 'frontpage' => '1',
392
- 'status' => 'pro',
393
- 'name_clean' => 'food-blog',
394
- ),
395
- 30 =>
396
- array (
397
- 'type' => 'CSMM PRO',
398
- 'version' => '15.17',
399
- 'last_edit' => 'Mon, 18 Jun 2018 16:40:10 +0000',
400
- 'name' => 'Football',
401
- 'description' => '',
402
- 'frontpage' => '1',
403
- 'status' => 'pro',
404
- 'name_clean' => 'football',
405
- ),
406
- 31 =>
407
- array (
408
- 'type' => 'CSMM PRO',
409
- 'version' => '15.17',
410
- 'last_edit' => 'Sun, 23 Dec 2018 10:16:53 +0000',
411
- 'name' => 'Frozen Nature',
412
- 'description' => '',
413
- 'frontpage' => '1',
414
- 'status' => 'pro',
415
- 'name_clean' => 'frozen-nature',
416
- ),
417
- 32 =>
418
- array (
419
- 'type' => 'CSMM PRO',
420
- 'version' => '15.17',
421
- 'last_edit' => 'Tue, 23 Oct 2018 17:23:42 +0000',
422
- 'name' => 'Halloween',
423
- 'description' => '',
424
- 'frontpage' => '1',
425
- 'status' => 'pro',
426
- 'name_clean' => 'halloween',
427
- ),
428
- 33 =>
429
- array (
430
- 'type' => 'CSMM PRO',
431
- 'version' => '15.17',
432
- 'last_edit' => 'Sat, 28 Jul 2018 15:16:26 +0000',
433
- 'name' => 'Holiday Resort',
434
- 'description' => '',
435
- 'frontpage' => '1',
436
- 'status' => 'pro',
437
- 'name_clean' => 'holiday-resort',
438
- ),
439
- 34 =>
440
- array (
441
- 'type' => 'CSMM PRO',
442
- 'version' => '15.17',
443
- 'last_edit' => 'Fri, 30 Mar 2018 11:26:42 +0000',
444
- 'name' => 'Homemade Chocolate Gifts',
445
- 'description' => '',
446
- 'frontpage' => '0',
447
- 'status' => 'pro',
448
- 'name_clean' => 'homemade-chocolate-gifts',
449
- ),
450
- 35 =>
451
- array (
452
- 'type' => 'CSMM PRO',
453
- 'version' => '15.17',
454
- 'last_edit' => 'Wed, 30 Jan 2019 19:33:31 +0000',
455
- 'name' => 'Ice Cream Shop',
456
- 'description' => '',
457
- 'frontpage' => '1',
458
- 'status' => 'pro',
459
- 'name_clean' => 'ice-cream-shop',
460
- ),
461
- 36 =>
462
- array (
463
- 'type' => 'CSMM PRO',
464
- 'version' => '15.05',
465
- 'last_edit' => 'Fri, 02 Mar 2018 12:59:44 +0000',
466
- 'name' => 'Interior Design',
467
- 'description' => 'Andrea',
468
- 'frontpage' => '1',
469
- 'status' => 'agency',
470
- 'name_clean' => 'interior-design',
471
- ),
472
- 37 =>
473
- array (
474
- 'type' => 'CSMM PRO',
475
- 'version' => '5.14',
476
- 'last_edit' => 'Fri, 23 Mar 2018 16:42:15 +0000',
477
- 'name' => 'Journey (Video)',
478
- 'description' => '',
479
- 'frontpage' => '1',
480
- 'status' => 'agency',
481
- 'name_clean' => 'journey-video',
482
- ),
483
- 38 =>
484
- array (
485
- 'type' => 'CSMM PRO',
486
- 'version' => '15.17',
487
- 'last_edit' => 'Fri, 30 Mar 2018 11:28:28 +0000',
488
- 'name' => 'LEGO Bricks',
489
- 'description' => '',
490
- 'frontpage' => '0',
491
- 'status' => 'pro',
492
- 'name_clean' => 'lego-bricks',
493
- ),
494
- 39 =>
495
- array (
496
- 'type' => 'CSMM PRO',
497
- 'version' => '15.17',
498
- 'last_edit' => 'Wed, 29 Aug 2018 16:36:44 +0000',
499
- 'name' => 'Loneliness',
500
- 'description' => '',
501
- 'frontpage' => '1',
502
- 'status' => 'agency',
503
- 'name_clean' => 'loneliness',
504
- ),
505
- 40 =>
506
- array (
507
- 'type' => 'CSMM PRO',
508
- 'version' => '15.17',
509
- 'last_edit' => 'Wed, 25 Apr 2018 11:04:55 +0000',
510
- 'name' => 'Lonely Road',
511
- 'description' => 'Andrea',
512
- 'frontpage' => '1',
513
- 'status' => 'agency',
514
- 'name_clean' => 'lonely-road',
515
- ),
516
- 41 =>
517
- array (
518
- 'type' => 'CSMM PRO',
519
- 'version' => '15.17',
520
- 'last_edit' => 'Fri, 30 Mar 2018 11:30:37 +0000',
521
- 'name' => 'Luxury Car',
522
- 'description' => '',
523
- 'frontpage' => '1',
524
- 'status' => 'pro',
525
- 'name_clean' => 'luxury-car',
526
- ),
527
- 42 =>
528
- array (
529
- 'type' => 'CSMM PRO',
530
- 'version' => '5.005',
531
- 'last_edit' => 'Mon, 26 Feb 2018 18:31:18 +0000',
532
- 'name' => 'Maintenance Mode',
533
- 'description' => 'Andrea',
534
- 'frontpage' => '0',
535
- 'status' => 'pro',
536
- 'name_clean' => 'maintenance-mode',
537
- ),
538
- 43 =>
539
- array (
540
- 'type' => 'CSMM PRO',
541
- 'version' => '5.005',
542
- 'last_edit' => 'Mon, 26 Feb 2018 17:59:30 +0000',
543
- 'name' => 'Makeup Artist Training',
544
- 'description' => 'Andrea',
545
- 'frontpage' => '1',
546
- 'status' => 'agency',
547
- 'name_clean' => 'makeup-artist-training',
548
- ),
549
- 44 =>
550
- array (
551
- 'type' => 'CSMM PRO',
552
- 'version' => '15.17',
553
- 'last_edit' => 'Sun, 23 Sep 2018 13:09:03 +0000',
554
- 'name' => 'Misty Forest (Video)',
555
- 'description' => '',
556
- 'frontpage' => '1',
557
- 'status' => 'pro',
558
- 'name_clean' => 'misty-forest-video',
559
- ),
560
- 45 =>
561
- array (
562
- 'type' => 'CSMM PRO',
563
- 'version' => '15.17',
564
- 'last_edit' => 'Wed, 25 Apr 2018 11:08:31 +0000',
565
- 'name' => 'Mobile Designer',
566
- 'description' => 'Andrea',
567
- 'frontpage' => '1',
568
- 'status' => 'agency',
569
- 'name_clean' => 'mobile-designer',
570
- ),
571
- 46 =>
572
- array (
573
- 'type' => 'CSMM PRO',
574
- 'version' => '15.17',
575
- 'last_edit' => 'Tue, 30 Oct 2018 18:10:11 +0000',
576
- 'name' => 'Mobile Meeting',
577
- 'description' => '',
578
- 'frontpage' => '1',
579
- 'status' => 'agency',
580
- 'name_clean' => 'mobile-meeting',
581
- ),
582
- 47 =>
583
- array (
584
- 'type' => 'CSMM PRO',
585
- 'version' => '5.005',
586
- 'last_edit' => 'Mon, 26 Feb 2018 18:04:32 +0000',
587
- 'name' => 'Modern Blog',
588
- 'description' => '',
589
- 'frontpage' => '1',
590
- 'status' => 'pro',
591
- 'name_clean' => 'modern-blog',
592
- ),
593
- 48 =>
594
- array (
595
- 'type' => 'CSMM PRO',
596
- 'version' => '15.05',
597
- 'last_edit' => 'Fri, 02 Mar 2018 10:14:21 +0000',
598
- 'name' => 'Modern Office',
599
- 'description' => 'Andrea',
600
- 'frontpage' => '0',
601
- 'status' => 'agency',
602
- 'name_clean' => 'modern-office',
603
- ),
604
- 49 =>
605
- array (
606
- 'type' => 'CSMM PRO',
607
- 'version' => '15.17',
608
- 'last_edit' => 'Mon, 26 Nov 2018 18:42:35 +0000',
609
- 'name' => 'Modern Recipes',
610
- 'description' => '',
611
- 'frontpage' => '1',
612
- 'status' => 'agency',
613
- 'name_clean' => 'modern-recipes',
614
- ),
615
- 50 =>
616
- array (
617
- 'type' => 'CSMM PRO',
618
- 'version' => '15.17',
619
- 'last_edit' => 'Fri, 30 Mar 2018 11:48:23 +0000',
620
- 'name' => 'Mountain Slide',
621
- 'description' => '',
622
- 'frontpage' => '1',
623
- 'status' => 'pro',
624
- 'name_clean' => 'mountain-slide',
625
- ),
626
- 51 =>
627
- array (
628
- 'type' => 'CSMM PRO',
629
- 'version' => '5.05',
630
- 'last_edit' => 'Thu, 01 Mar 2018 10:49:52 +0000',
631
- 'name' => 'Mountain',
632
- 'description' => 'Andrea',
633
- 'frontpage' => '0',
634
- 'status' => 'pro',
635
- 'name_clean' => 'mountain',
636
- ),
637
- 52 =>
638
- array (
639
- 'type' => 'CSMM PRO',
640
- 'version' => '15.17',
641
- 'last_edit' => 'Wed, 25 Apr 2018 11:12:56 +0000',
642
- 'name' => 'Movie Trailer (Video)',
643
- 'description' => '',
644
- 'frontpage' => '0',
645
- 'status' => 'pro',
646
- 'name_clean' => 'movie-trailer-video',
647
- ),
648
- 53 =>
649
- array (
650
- 'type' => 'CSMM PRO',
651
- 'version' => '15.05',
652
- 'last_edit' => 'Fri, 02 Mar 2018 10:17:02 +0000',
653
- 'name' => 'Nature',
654
- 'description' => 'Andrea',
655
- 'frontpage' => '0',
656
- 'status' => 'agency',
657
- 'name_clean' => 'nature',
658
- ),
659
- 54 =>
660
- array (
661
- 'type' => 'CSMM PRO',
662
- 'version' => '5.14',
663
- 'last_edit' => 'Fri, 23 Mar 2018 16:37:55 +0000',
664
- 'name' => 'Office Meeting (Video)',
665
- 'description' => '',
666
- 'frontpage' => '1',
667
- 'status' => 'agency',
668
- 'name_clean' => 'office-meeting-video',
669
- ),
670
- 55 =>
671
- array (
672
- 'type' => 'CSMM PRO',
673
- 'version' => '15.05',
674
- 'last_edit' => 'Fri, 02 Mar 2018 12:35:44 +0000',
675
- 'name' => 'Office Theme',
676
- 'description' => '',
677
- 'frontpage' => '1',
678
- 'status' => 'agency',
679
- 'name_clean' => 'office-theme',
680
- ),
681
- 56 =>
682
- array (
683
- 'type' => 'CSMM PRO',
684
- 'version' => '5.005',
685
- 'last_edit' => 'Mon, 26 Feb 2018 18:07:28 +0000',
686
- 'name' => 'Online Learning',
687
- 'description' => 'Andrea',
688
- 'frontpage' => '1',
689
- 'status' => 'agency',
690
- 'name_clean' => 'online-learning',
691
- ),
692
- 57 =>
693
- array (
694
- 'type' => 'CSMM PRO',
695
- 'version' => '15.17',
696
- 'last_edit' => 'Wed, 25 Apr 2018 11:10:44 +0000',
697
- 'name' => 'Pancake House',
698
- 'description' => '',
699
- 'frontpage' => '0',
700
- 'status' => 'pro',
701
- 'name_clean' => 'pancake-house',
702
- ),
703
- 58 =>
704
- array (
705
- 'type' => 'CSMM PRO',
706
- 'version' => '15.17',
707
- 'last_edit' => 'Wed, 25 Apr 2018 11:15:19 +0000',
708
- 'name' => 'Parenting',
709
- 'description' => '',
710
- 'frontpage' => '0',
711
- 'status' => 'pro',
712
- 'name_clean' => 'parenting',
713
- ),
714
- 59 =>
715
- array (
716
- 'type' => 'CSMM PRO',
717
- 'version' => '15.17',
718
- 'last_edit' => 'Tue, 28 Aug 2018 15:03:08 +0000',
719
- 'name' => 'Passage',
720
- 'description' => '',
721
- 'frontpage' => '0',
722
- 'status' => 'pro',
723
- 'name_clean' => 'passage',
724
- ),
725
- 60 =>
726
- array (
727
- 'type' => 'CSMM PRO',
728
- 'version' => '15.17',
729
- 'last_edit' => 'Tue, 23 Oct 2018 18:08:17 +0000',
730
- 'name' => 'Peaceful River',
731
- 'description' => '',
732
- 'frontpage' => '1',
733
- 'status' => 'agency',
734
- 'name_clean' => 'peaceful-river',
735
- ),
736
- 61 =>
737
- array (
738
- 'type' => 'CSMM PRO',
739
- 'version' => '15.17',
740
- 'last_edit' => 'Fri, 30 Mar 2018 11:35:07 +0000',
741
- 'name' => 'Photography',
742
- 'description' => '',
743
- 'frontpage' => '1',
744
- 'status' => 'agency',
745
- 'name_clean' => 'photography',
746
- ),
747
- 62 =>
748
- array (
749
- 'type' => 'CSMM PRO',
750
- 'version' => '15.17',
751
- 'last_edit' => 'Fri, 30 Mar 2018 11:41:09 +0000',
752
- 'name' => 'Running Blog',
753
- 'description' => '',
754
- 'frontpage' => '0',
755
- 'status' => 'agency',
756
- 'name_clean' => 'running-blog',
757
- ),
758
- 63 =>
759
- array (
760
- 'type' => 'CSMM PRO',
761
- 'version' => '15.14',
762
- 'last_edit' => 'Sat, 24 Mar 2018 10:23:40 +0000',
763
- 'name' => 'Running (Video)',
764
- 'description' => '',
765
- 'frontpage' => '1',
766
- 'status' => 'pro',
767
- 'name_clean' => 'running-video',
768
- ),
769
- 64 =>
770
- array (
771
- 'type' => 'CSMM PRO',
772
- 'version' => '5.005',
773
- 'last_edit' => 'Mon, 26 Feb 2018 11:17:32 +0000',
774
- 'name' => 'Shoes Store',
775
- 'description' => 'Andrea',
776
- 'frontpage' => '1',
777
- 'status' => 'agency',
778
- 'name_clean' => 'shoes-store',
779
- ),
780
- 65 =>
781
- array (
782
- 'type' => 'CSMM PRO',
783
- 'version' => '15.17',
784
- 'last_edit' => 'Wed, 25 Apr 2018 11:17:21 +0000',
785
- 'name' => 'Simple Beige Design',
786
- 'description' => '',
787
- 'frontpage' => '0',
788
- 'status' => 'pro',
789
- 'name_clean' => 'simple-beige-design',
790
- ),
791
- 66 =>
792
- array (
793
- 'type' => 'CSMM PRO',
794
- 'version' => '15.17',
795
- 'last_edit' => 'Wed, 25 Apr 2018 11:19:34 +0000',
796
- 'name' => 'Snow Screensaver (Video)',
797
- 'description' => '',
798
- 'frontpage' => '1',
799
- 'status' => 'pro',
800
- 'name_clean' => 'snow-screensaver-video',
801
- ),
802
- 67 =>
803
- array (
804
- 'type' => 'CSMM PRO',
805
- 'version' => '15.17',
806
- 'last_edit' => 'Fri, 30 Mar 2018 11:44:39 +0000',
807
- 'name' => 'Snowboarding Blog',
808
- 'description' => '',
809
- 'frontpage' => '1',
810
- 'status' => 'pro',
811
- 'name_clean' => 'snowboarding-blog',
812
- ),
813
- 68 =>
814
- array (
815
- 'type' => 'CSMM PRO',
816
- 'version' => '15.17',
817
- 'last_edit' => 'Wed, 25 Apr 2018 11:21:19 +0000',
818
- 'name' => 'Snowy Mountain',
819
- 'description' => '',
820
- 'frontpage' => '1',
821
- 'status' => 'pro',
822
- 'name_clean' => 'snowy-mountain',
823
- ),
824
- 69 =>
825
- array (
826
- 'type' => 'CSMM PRO',
827
- 'version' => '15.17',
828
- 'last_edit' => 'Fri, 30 Nov 2018 10:24:22 +0000',
829
- 'name' => 'Snowy Oasis',
830
- 'description' => '',
831
- 'frontpage' => '1',
832
- 'status' => 'pro',
833
- 'name_clean' => 'snowy-oasis',
834
- ),
835
- 70 =>
836
- array (
837
- 'type' => 'CSMM PRO',
838
- 'version' => '15.17',
839
- 'last_edit' => 'Sun, 17 Feb 2019 12:27:43 +0000',
840
- 'name' => 'Spa & Beauty Studio',
841
- 'description' => '',
842
- 'frontpage' => '1',
843
- 'status' => 'agency',
844
- 'name_clean' => 'spa-beauty-studio',
845
- ),
846
- 71 =>
847
- array (
848
- 'type' => 'CSMM PRO',
849
- 'version' => '15.17',
850
- 'last_edit' => 'Fri, 30 Mar 2018 09:59:40 +0000',
851
- 'name' => 'Spring',
852
- 'description' => '',
853
- 'frontpage' => '0',
854
- 'status' => 'agency',
855
- 'name_clean' => 'spring',
856
- ),
857
- 72 =>
858
- array (
859
- 'type' => 'CSMM PRO',
860
- 'version' => '15.17',
861
- 'last_edit' => 'Sat, 26 Jan 2019 16:30:01 +0000',
862
- 'name' => 'Startup',
863
- 'description' => '',
864
- 'frontpage' => '1',
865
- 'status' => 'pro',
866
- 'name_clean' => 'startup',
867
- ),
868
- 73 =>
869
- array (
870
- 'type' => 'CSMM PRO',
871
- 'version' => '15.17',
872
- 'last_edit' => 'Sun, 19 Aug 2018 07:48:14 +0000',
873
- 'name' => 'Stylish Workplace',
874
- 'description' => '',
875
- 'frontpage' => '1',
876
- 'status' => 'pro',
877
- 'name_clean' => 'stylish-workplace',
878
- ),
879
- 74 =>
880
- array (
881
- 'type' => 'CSMM PRO',
882
- 'version' => '15.17',
883
- 'last_edit' => 'Sun, 17 Feb 2019 07:25:23 +0000',
884
- 'name' => 'Technology',
885
- 'description' => '',
886
- 'frontpage' => '1',
887
- 'status' => 'pro',
888
- 'name_clean' => 'technology',
889
- ),
890
- 75 =>
891
- array (
892
- 'type' => 'CSMM PRO',
893
- 'version' => '15.17',
894
- 'last_edit' => 'Wed, 25 Apr 2018 11:22:49 +0000',
895
- 'name' => 'The Big City Newsletter',
896
- 'description' => 'Andrea',
897
- 'frontpage' => '1',
898
- 'status' => 'agency',
899
- 'name_clean' => 'the-big-city-newsletter',
900
- ),
901
- 76 =>
902
- array (
903
- 'type' => 'CSMM PRO',
904
- 'version' => '5.14',
905
- 'last_edit' => 'Thu, 22 Mar 2018 11:33:57 +0000',
906
- 'name' => 'The Sunny View',
907
- 'description' => 'Andrea',
908
- 'frontpage' => '0',
909
- 'status' => 'pro',
910
- 'name_clean' => 'the-sunny-view',
911
- ),
912
- 77 =>
913
- array (
914
- 'type' => 'CSMM PRO',
915
- 'version' => '5.001',
916
- 'last_edit' => 'Tue, 20 Feb 2018 10:57:27 +0000',
917
- 'name' => 'Travel Agency',
918
- 'description' => '',
919
- 'frontpage' => '1',
920
- 'status' => 'pro',
921
- 'name_clean' => 'travel-agency',
922
- ),
923
- 78 =>
924
- array (
925
- 'type' => 'CSMM PRO',
926
- 'version' => '15.05',
927
- 'last_edit' => 'Fri, 02 Mar 2018 12:39:22 +0000',
928
- 'name' => 'Travel Blog',
929
- 'description' => 'Andrea',
930
- 'frontpage' => '1',
931
- 'status' => 'agency',
932
- 'name_clean' => 'travel-blog',
933
- ),
934
- 79 =>
935
- array (
936
- 'type' => 'CSMM PRO',
937
- 'version' => '15.17',
938
- 'last_edit' => 'Wed, 25 Apr 2018 11:24:56 +0000',
939
- 'name' => 'Tulips',
940
- 'description' => '',
941
- 'frontpage' => '1',
942
- 'status' => 'agency',
943
- 'name_clean' => 'tulips',
944
- ),
945
- 80 =>
946
- array (
947
- 'type' => 'CSMM PRO',
948
- 'version' => '15.17',
949
- 'last_edit' => 'Sun, 27 Jan 2019 08:47:12 +0000',
950
- 'name' => 'Valentine&#39;s Day',
951
- 'description' => '',
952
- 'frontpage' => '1',
953
- 'status' => 'pro',
954
- 'name_clean' => 'valentines-day',
955
- ),
956
- 81 =>
957
- array (
958
- 'type' => 'CSMM PRO',
959
- 'version' => '5.001',
960
- 'last_edit' => 'Mon, 19 Feb 2018 12:31:48 +0000',
961
- 'name' => 'Video Production',
962
- 'description' => '',
963
- 'frontpage' => '1',
964
- 'status' => 'pro',
965
- 'name_clean' => 'video-production',
966
- ),
967
- 82 =>
968
- array (
969
- 'type' => 'CSMM PRO',
970
- 'version' => '15.17',
971
- 'last_edit' => 'Sat, 07 Jul 2018 15:15:19 +0000',
972
- 'name' => 'Walking Away (Video)',
973
- 'description' => '',
974
- 'frontpage' => '0',
975
- 'status' => 'pro',
976
- 'name_clean' => 'walking-away-video',
977
- ),
978
- 83 =>
979
- array (
980
- 'type' => 'CSMM PRO',
981
- 'version' => '5.005',
982
- 'last_edit' => 'Mon, 26 Feb 2018 19:54:07 +0000',
983
- 'name' => 'Webinar',
984
- 'description' => 'Andrea',
985
- 'frontpage' => '1',
986
- 'status' => 'agency',
987
- 'name_clean' => 'webinar',
988
- ),
989
- 84 =>
990
- array (
991
- 'type' => 'CSMM PRO',
992
- 'version' => '5.005',
993
- 'last_edit' => 'Fri, 23 Feb 2018 11:53:23 +0000',
994
- 'name' => 'Wedding Blog',
995
- 'description' => 'Andrea',
996
- 'frontpage' => '1',
997
- 'status' => 'agency',
998
- 'name_clean' => 'wedding-blog',
999
- ),
1000
- 85 =>
1001
- array (
1002
- 'type' => 'CSMM PRO',
1003
- 'version' => '15.17',
1004
- 'last_edit' => 'Tue, 22 May 2018 12:41:04 +0000',
1005
- 'name' => 'White Orchids',
1006
- 'description' => '',
1007
- 'frontpage' => '1',
1008
- 'status' => 'pro',
1009
- 'name_clean' => 'white-orchids',
1010
- ),
1011
- 86 =>
1012
- array (
1013
- 'type' => 'CSMM PRO',
1014
- 'version' => '5.14',
1015
- 'last_edit' => 'Thu, 22 Mar 2018 11:29:56 +0000',
1016
- 'name' => 'Working Out',
1017
- 'description' => '',
1018
- 'frontpage' => '1',
1019
- 'status' => 'agency',
1020
- 'name_clean' => 'working-out',
1021
- ),
1022
- 87 =>
1023
- array (
1024
- 'type' => 'CSMM PRO',
1025
- 'version' => '15.05',
1026
- 'last_edit' => 'Fri, 02 Mar 2018 12:36:42 +0000',
1027
- 'name' => 'Workplace',
1028
- 'description' => 'Andrea',
1029
- 'frontpage' => '1',
1030
- 'status' => 'agency',
1031
- 'name_clean' => 'workplace',
1032
- ),
1033
- 88 =>
1034
- array (
1035
- 'type' => 'CSMM PRO',
1036
- 'version' => '15.17',
1037
- 'last_edit' => 'Wed, 25 Apr 2018 11:00:38 +0000',
1038
- 'name' => 'Writing Service (Video)',
1039
- 'description' => '',
1040
- 'frontpage' => '1',
1041
- 'status' => 'agency',
1042
- 'name_clean' => 'writing-service-video',
1043
- ),
1044
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1045
 
1046
  $path = plugins_url('', __FILE__);
1047
 
1048
- echo '<p><b>Need to quickly set up a new site with top notch SEO that will get you indexed and ranked quickly? Check out our PRO themes.</b></p>';
1049
 
1050
  foreach ($themes as $theme) {
1051
  echo '<div class="theme-thumb" data-theme="' . $theme['name_clean'] . '">';
1052
- if ($theme['status'] != 'free') {
1053
- echo '<a href="' . nifty_generate_web_link('preview-theme-thumb-' . $theme['name_clean'], 'theme-preview', array('theme' => $theme['name_clean'])) . '" target="_blank"><img src="' . $path . '/assets/images/themes/pro/' . $theme['name_clean'] . '.jpg" alt="Preview ' . $theme['name'] . '" title="Preview ' . $theme['name'] . '"></a>';
1054
- } else {
1055
- echo '<img src="' . CSMM_URL . '/framework/admin/img/themes/' . $theme['name_clean'] . '.jpg" alt="' . $theme['name'] . '" title="' . $theme['name'] . '">';
1056
- }
1057
- echo '<span class="name">' . $theme['name'] . '</span>';
1058
  echo '<span name="actions">';
1059
- if ($theme['status'] != 'free') {
1060
- echo '<a href="' . nifty_generate_web_link('get-theme-' . $theme['name_clean']) . '" class="button button-primary" target="_blank">Get this theme</a>&nbsp; &nbsp;';
1061
- echo '<a target="_blank" class="button button-secondary" href="' . nifty_generate_web_link('preview-theme-' . $theme['name_clean'], 'theme-preview', array('theme' => $theme['name_clean'])) . '">Preview</a>';
1062
- } else {
1063
- echo '<a href="' . add_query_arg(array('action' => 'csmm_activate_theme', 'theme' => $theme['name_clean'], 'redirect' => urlencode($_SERVER['REQUEST_URI'])), admin_url('admin.php')) . '" class="signals-btn confirm-action" data-confirm="Are you sure you want to activate the selected theme? Customizations you made on the current design will be lost.">Activate</a>&nbsp; &nbsp;';
1064
- }
1065
  echo '</span>';
1066
- if ($theme['status'] != 'free') {
1067
- echo '<div class="ribbon"><i><span class="dashicons dashicons-star-filled"></span></i></div>';
1068
- }
1069
  echo '</div>';
1070
 
1071
  } // foreach theme
@@ -1097,7 +1196,6 @@ array (
1097
 
1098
  /**
1099
  * Returns an array of system fonts
1100
- * Feel free to edit this, update the font fallbacks, etc.
1101
  */
1102
  $google_fonts = nifty_cs_get_google_webfonts();
1103
  foreach( $google_fonts as $font ) {
@@ -1105,10 +1203,11 @@ array (
1105
  $google_webfonts_array[$font['family']]['value'] = $font['family'];
1106
  }
1107
 
1108
- $weforms_setting = array();
1109
 
1110
- if(ot_is_weforms_active()){
1111
- $weforms_setting = array(
 
 
1112
  'id' => 'weforms_sign_up_form',
1113
  'label' => 'Any Kind of Form - Contact, Subscribe, Event, Optin,...',
1114
  'desc' => 'weForms allow you to create and fully customize any kind of form you need. From a simple contact or subscribe forms, to a complicated form for event registrations.',
@@ -1117,18 +1216,10 @@ array (
1117
  'section' => 'general_settings',
1118
  );
1119
  } else {
1120
- $weforms_setting = array(
1121
- 'id' => 'weforms_sign_up_form_enable',
1122
- 'label' => 'Any Kind of Form - Contact, Subscribe, Event, Optin,...',
1123
- 'desc' => 'Collecting subscribers and giving users the ability to contact you is one of the most important features that every website needs. You can simply <a href="#" class="open-weforms-upsell">install the free weForms plugin</a> to add any kind of form to your coming soon page. weForms integrates seamlessly with Nifty, offering a wide range of styling options and useful integrations. More importantly, it enables you to get subscribers without any additional costs.',
1124
- 'std' => 'off',
1125
- 'type' => 'on-off',
1126
- 'section' => 'general_settings',
1127
- );
1128
  }
1129
 
1130
 
1131
-
1132
  $custom_settings = array(
1133
  'contextual_help' => array(
1134
  'sidebar' => ''
@@ -1214,10 +1305,17 @@ array (
1214
  'std' => 'on',
1215
  'type' => 'on-off',
1216
  'section' => 'general_settings',
1217
-
1218
  ),
1219
- $weforms_setting,
1220
  array(
 
 
 
 
 
 
 
 
1221
  'id' => 'insert_custom_signup_form',
1222
  'label' => 'Insert custom Sign-up form',
1223
  'desc' => 'You can use your MailChimp (or any other custom) embed code and replace the theme build in sign up form. Make sure that the upper option Enable built in Sign-up form is turned off.<br /><br />Please note that you need to adjust the elements that you paste inside this form, remove any remote CSS and use Additional CSS field for adjusting your form styles as well.',
@@ -1995,17 +2093,15 @@ array (
1995
  'label' => 'Documentation and FAQ',
1996
  'desc' => '<h3 class="label">NIFTY COMING SOON - Documentation</strong></h3>
1997
 
1998
- <p>Plugin documentation will be added once the plugin reaches more mature levels. As for now we have stable version that works and offer many cool features.</p>
1999
- <p>Feel free to get in touch and ask for help.
 
 
 
2000
  <h3 class="label">RATE THE PLUGIN WITH 5 STARS</h3>
2001
  <p>If you find this plugin useful, please take a minute and rate it with 5 start on WordPress. It will help me with keeping up with the updates and new features as always.</p>
2002
  <p>Just log in into Your WordPress account and then access the <a href="https://wordpress.org/support/plugin/nifty-coming-soon-and-under-construction-page/reviews" target="_blank"> Review page </a>. Then just click on the button Add my review, make sure that you mark the 5 star and submit your review.</p>
2003
  <p>Thanks. :)</p>
2004
- <hr>
2005
- <ul>
2006
- <li><a href="https://wordpress.org/support/plugin/nifty-coming-soon-and-under-construction-page" target="_blank">WordPress Support forum</a></li>
2007
- <li><a href="https://twitter.com/WebFactoryLtd" target="_blank">Follow on Twitter</a></li>
2008
- </ul>
2009
  </p>
2010
 
2011
  ',
@@ -2036,60 +2132,6 @@ array (
2036
  add_filter( 'ot_show_pages', '__return_false' );
2037
 
2038
 
2039
- // auto download / install / activate weForms plugin
2040
- function ot_install_weforms() {
2041
- $plugin_slug = 'weforms/weforms.php';
2042
- $plugin_zip = 'https://downloads.wordpress.org/plugin/weforms.latest-stable.zip';
2043
-
2044
- @include_once ABSPATH . 'wp-admin/includes/plugin.php';
2045
- @include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
2046
- @include_once ABSPATH . 'wp-admin/includes/plugin-install.php';
2047
- @include_once ABSPATH . 'wp-admin/includes/file.php';
2048
- @include_once ABSPATH . 'wp-admin/includes/misc.php';
2049
- echo '<style>
2050
- body{
2051
- font-family: sans-serif;
2052
- font-size: 14px;
2053
- line-height: 1.5;
2054
- color: #444;
2055
- }
2056
- </style>';
2057
-
2058
- echo '<div style="margin: 20px; color:#444;">';
2059
- echo 'If things are not done in a minute <a target="_parent" href="' . admin_url('plugin-install.php?s=weforms&tab=search&type=term') .'">install the plugin manually via Plugins page</a><br><br>';
2060
- echo 'Starting ...<br><br>';
2061
-
2062
- wp_cache_flush();
2063
- $upgrader = new Plugin_Upgrader();
2064
- echo 'Check if weForms is already installed ... <br />';
2065
- if (ot_is_plugin_installed($plugin_slug)) {
2066
- echo 'weForms is already installed! <br /><br />Making sure it\'s the latest version.<br />';
2067
- $upgrader->upgrade($plugin_slug);
2068
- $installed = true;
2069
- } else {
2070
- echo 'Installing weForms.<br />';
2071
- $installed = $upgrader->install($plugin_zip);
2072
- }
2073
- wp_cache_flush();
2074
-
2075
- if (!is_wp_error($installed) && $installed) {
2076
- echo 'Activating weForms.<br />';
2077
- $activate = activate_plugin($plugin_slug);
2078
-
2079
- if (is_null($activate)) {
2080
- echo 'weForms Activated.<br />';
2081
-
2082
- echo '<script>setTimeout(function() { top.location = "admin.php?page=niftycs-options"; }, 1000);</script>';
2083
- echo '<br>If you are not redirected in a few seconds - <a href="admin.php?page=niftycs-options" target="_parent">click here</a>.';
2084
- }
2085
- } else {
2086
- echo 'Could not install weForms. You\'ll have to <a target="_parent" href="' . admin_url('plugin-install.php?s=weforms&tab=search&type=term') .'">download and install manually</a>.';
2087
- }
2088
-
2089
- echo '</div>';
2090
- } // install_weforms
2091
-
2092
-
2093
  function ot_is_plugin_installed($slug) {
2094
  if (!function_exists('get_plugins')) {
2095
  require_once ABSPATH . 'wp-admin/includes/plugin.php';
@@ -2103,7 +2145,6 @@ function ot_is_plugin_installed($slug) {
2103
  }
2104
  } // is_plugin_installed
2105
 
2106
-
2107
  // check if weForms plugin is active and min version installed
2108
  function ot_is_weforms_active() {
2109
  if (!function_exists('is_plugin_active') || !function_exists('get_plugin_data')) {
@@ -2121,3 +2162,4 @@ function ot_is_weforms_active() {
2121
  return false;
2122
  }
2123
  } // is_weforms_active
 
9
  */
10
 
11
  add_action( 'init', 'nifty_cs_custom_theme_options' );
 
12
  /**
13
  * Build the custom settings & update OptionTree.
14
  */
60
  function ot_type_custom_themes() {
61
  $themes =
62
 
 
 
63
  array (
64
+ 0 =>
65
+ array (
66
+ 'type' => 'CSMM PRO',
67
+ 'version' => '5.005',
68
+ 'last_edit' => 'Thu, 22 Feb 2018 18:45:00 +0000',
69
+ 'name' => 'Aeroplane Company',
70
+ 'description' => 'Andrea',
71
+ 'frontpage' => '1',
72
+ 'status' => 'pro',
73
+ 'name_clean' => 'aeroplane-company',
74
+ ),
75
+ 1 =>
76
+ array (
77
+ 'type' => 'CSMM PRO',
78
+ 'version' => '15.17',
79
+ 'last_edit' => 'Sun, 09 Sep 2018 16:06:39 +0000',
80
+ 'name' => 'Air Balloon',
81
+ 'description' => '',
82
+ 'frontpage' => '1',
83
+ 'status' => 'agency',
84
+ 'name_clean' => 'air-balloon',
85
+ ),
86
+ 2 =>
87
+ array (
88
+ 'type' => 'CSMM PRO',
89
+ 'version' => '15.05',
90
+ 'last_edit' => 'Fri, 02 Mar 2018 12:43:04 +0000',
91
+ 'name' => 'Animated Clock',
92
+ 'description' => 'Andrea',
93
+ 'frontpage' => '0',
94
+ 'status' => 'pro',
95
+ 'name_clean' => 'animated-clock',
96
+ ),
97
+ 3 =>
98
+ array (
99
+ 'type' => 'CSMM PRO',
100
+ 'version' => '15.17',
101
+ 'last_edit' => 'Sat, 08 Sep 2018 14:42:03 +0000',
102
+ 'name' => 'Architecture',
103
+ 'description' => '',
104
+ 'frontpage' => '1',
105
+ 'status' => 'agency',
106
+ 'name_clean' => 'architecture',
107
+ ),
108
+ 4 =>
109
+ array (
110
+ 'type' => 'CSMM PRO',
111
+ 'version' => '15.17',
112
+ 'last_edit' => 'Sun, 23 Sep 2018 12:44:52 +0000',
113
+ 'name' => 'Auto Service',
114
+ 'description' => '',
115
+ 'frontpage' => '1',
116
+ 'status' => 'agency',
117
+ 'name_clean' => 'auto-service',
118
+ ),
119
+ 5 =>
120
+ array (
121
+ 'type' => 'CSMM PRO',
122
+ 'version' => '15.17',
123
+ 'last_edit' => 'Sat, 09 Jun 2018 13:26:02 +0000',
124
+ 'name' => 'Beach',
125
+ 'description' => '',
126
+ 'frontpage' => '1',
127
+ 'status' => 'pro',
128
+ 'name_clean' => 'beach',
129
+ ),
130
+ 6 =>
131
+ array (
132
+ 'type' => 'CSMM PRO',
133
+ 'version' => '5.05',
134
+ 'last_edit' => 'Wed, 28 Feb 2018 10:30:46 +0000',
135
+ 'name' => 'Bicycle Race',
136
+ 'description' => 'Andrea',
137
+ 'frontpage' => '0',
138
+ 'status' => 'agency',
139
+ 'name_clean' => 'bicycle-race',
140
+ ),
141
+ 7 =>
142
+ array (
143
+ 'type' => 'CSMM PRO',
144
+ 'version' => '15.17',
145
+ 'last_edit' => 'Sat, 23 Mar 2019 14:44:52 +0000',
146
+ 'name' => 'Bike Shop',
147
+ 'description' => '',
148
+ 'frontpage' => '1',
149
+ 'status' => 'pro',
150
+ 'name_clean' => 'bike-shop',
151
+ ),
152
+ 8 =>
153
+ array (
154
+ 'type' => 'CSMM PRO',
155
+ 'version' => '5.005',
156
+ 'last_edit' => 'Sat, 24 Feb 2018 11:48:50 +0000',
157
+ 'name' => 'Bitcoin Miners',
158
+ 'description' => '',
159
+ 'frontpage' => '1',
160
+ 'status' => 'agency',
161
+ 'name_clean' => 'bitcoin-miners',
162
+ ),
163
+ 9 =>
164
+ array (
165
+ 'type' => 'CSMM PRO',
166
+ 'version' => '15.17',
167
+ 'last_edit' => 'Fri, 30 Mar 2018 11:50:26 +0000',
168
+ 'name' => 'Blogging',
169
+ 'description' => '',
170
+ 'frontpage' => '1',
171
+ 'status' => 'agency',
172
+ 'name_clean' => 'blogging',
173
+ ),
174
+ 10 =>
175
+ array (
176
+ 'type' => 'CSMM PRO',
177
+ 'version' => '5.005',
178
+ 'last_edit' => 'Tue, 27 Feb 2018 09:56:05 +0000',
179
+ 'name' => 'Book Lovers',
180
+ 'description' => 'Andrea',
181
+ 'frontpage' => '1',
182
+ 'status' => 'agency',
183
+ 'name_clean' => 'book-lovers',
184
+ ),
185
+ 11 =>
186
+ array (
187
+ 'type' => 'CSMM PRO',
188
+ 'version' => '5.001',
189
+ 'last_edit' => 'Thu, 15 Feb 2018 16:24:58 +0000',
190
+ 'name' => 'Business Company',
191
+ 'description' => '',
192
+ 'frontpage' => '0',
193
+ 'status' => 'agency',
194
+ 'name_clean' => 'business-company',
195
+ ),
196
+ 12 =>
197
+ array (
198
+ 'type' => 'CSMM PRO',
199
+ 'version' => '15.17',
200
+ 'last_edit' => 'Wed, 25 Apr 2018 11:06:41 +0000',
201
+ 'name' => 'Business',
202
+ 'description' => 'Andrea',
203
+ 'frontpage' => '1',
204
+ 'status' => 'agency',
205
+ 'name_clean' => 'business',
206
+ ),
207
+ 13 =>
208
+ array (
209
+ 'type' => 'CSMM PRO',
210
+ 'version' => '15.17',
211
+ 'last_edit' => 'Wed, 30 Jan 2019 19:31:32 +0000',
212
+ 'name' => 'Café',
213
+ 'description' => '',
214
+ 'frontpage' => '1',
215
+ 'status' => 'agency',
216
+ 'name_clean' => 'cafe',
217
+ ),
218
+ 14 =>
219
+ array (
220
+ 'type' => 'CSMM PRO',
221
+ 'version' => '15.17',
222
+ 'last_edit' => 'Sun, 10 Mar 2019 11:24:47 +0000',
223
+ 'name' => 'City Nighttime',
224
+ 'description' => '',
225
+ 'frontpage' => '1',
226
+ 'status' => 'pro',
227
+ 'name_clean' => 'city-nighttime',
228
+ ),
229
+ 15 =>
230
+ array (
231
+ 'type' => 'CSMM PRO',
232
+ 'version' => '15.17',
233
+ 'last_edit' => 'Sun, 29 Jul 2018 12:52:06 +0000',
234
+ 'name' => 'Cityscape',
235
+ 'description' => '',
236
+ 'frontpage' => '1',
237
+ 'status' => 'agency',
238
+ 'name_clean' => 'cityscape',
239
+ ),
240
+ 16 =>
241
+ array (
242
+ 'type' => 'CSMM PRO',
243
+ 'version' => '5.14',
244
+ 'last_edit' => 'Fri, 23 Mar 2018 16:46:05 +0000',
245
+ 'name' => 'Clouds Screensaver (Video)',
246
+ 'description' => '',
247
+ 'frontpage' => '1',
248
+ 'status' => 'agency',
249
+ 'name_clean' => 'clouds-screensaver-video',
250
+ ),
251
+ 17 =>
252
+ array (
253
+ 'type' => 'CSMM PRO',
254
+ 'version' => '5.005',
255
+ 'last_edit' => 'Thu, 22 Feb 2018 18:45:40 +0000',
256
+ 'name' => 'Coffee Shop',
257
+ 'description' => 'Andrea',
258
+ 'frontpage' => '1',
259
+ 'status' => 'agency',
260
+ 'name_clean' => 'coffee-shop',
261
+ ),
262
+ 18 =>
263
+ array (
264
+ 'type' => 'CSMM PRO',
265
+ 'version' => '15.17',
266
+ 'last_edit' => 'Fri, 04 May 2018 08:57:40 +0000',
267
+ 'name' => 'Cold Lake',
268
+ 'description' => '',
269
+ 'frontpage' => '1',
270
+ 'status' => 'agency',
271
+ 'name_clean' => 'cold-lake',
272
+ ),
273
+ 19 =>
274
+ array (
275
+ 'type' => 'CSMM PRO',
276
+ 'version' => '15.17',
277
+ 'last_edit' => 'Mon, 07 Jan 2019 08:25:36 +0000',
278
+ 'name' => 'Computer Repair Service',
279
+ 'description' => '',
280
+ 'frontpage' => '1',
281
+ 'status' => 'agency',
282
+ 'name_clean' => 'computer-repair-service',
283
+ ),
284
+ 20 =>
285
+ array (
286
+ 'type' => 'CSMM PRO',
287
+ 'version' => '15.17',
288
+ 'last_edit' => 'Wed, 27 Feb 2019 20:04:27 +0000',
289
+ 'name' => 'Concert',
290
+ 'description' => '',
291
+ 'frontpage' => '1',
292
+ 'status' => 'pro',
293
+ 'name_clean' => 'concert',
294
+ ),
295
+ 21 =>
296
+ array (
297
+ 'type' => 'CSMM PRO',
298
+ 'version' => '15.17',
299
+ 'last_edit' => 'Tue, 23 Apr 2019 08:43:55 +0000',
300
+ 'name' => 'Conference Event',
301
+ 'description' => '',
302
+ 'frontpage' => '1',
303
+ 'status' => 'pro',
304
+ 'name_clean' => 'conference-event',
305
+ ),
306
+ 22 =>
307
+ array (
308
+ 'type' => 'CSMM PRO',
309
+ 'version' => '15.17',
310
+ 'last_edit' => 'Fri, 30 Nov 2018 10:25:04 +0000',
311
+ 'name' => 'Custom Decor',
312
+ 'description' => '',
313
+ 'frontpage' => '1',
314
+ 'status' => 'agency',
315
+ 'name_clean' => 'custom-decor',
316
+ ),
317
+ 23 =>
318
+ array (
319
+ 'type' => 'CSMM PRO',
320
+ 'version' => '5.005',
321
+ 'last_edit' => 'Mon, 26 Feb 2018 20:41:31 +0000',
322
+ 'name' => 'Default',
323
+ 'description' => 'Default settings, nothing more.',
324
+ 'frontpage' => '0',
325
+ 'status' => 'pro',
326
+ 'name_clean' => 'default',
327
+ ),
328
+ 24 =>
329
+ array (
330
+ 'type' => 'CSMM PRO',
331
+ 'version' => '15.17',
332
+ 'last_edit' => 'Fri, 30 Mar 2018 11:24:59 +0000',
333
+ 'name' => 'Dental Clinic',
334
+ 'description' => 'Andrea',
335
+ 'frontpage' => '1',
336
+ 'status' => 'agency',
337
+ 'name_clean' => 'dental-clinic',
338
+ ),
339
+ 25 =>
340
+ array (
341
+ 'type' => 'CSMM PRO',
342
+ 'version' => '15.17',
343
+ 'last_edit' => 'Mon, 26 Nov 2018 18:41:25 +0000',
344
+ 'name' => 'Dog Shelter',
345
+ 'description' => '',
346
+ 'frontpage' => '1',
347
+ 'status' => 'pro',
348
+ 'name_clean' => 'dog-shelter',
349
+ ),
350
+ 26 =>
351
+ array (
352
+ 'type' => 'CSMM PRO',
353
+ 'version' => '5.001',
354
+ 'last_edit' => 'Tue, 20 Feb 2018 09:14:59 +0000',
355
+ 'name' => 'Dog Training and Behavior Consulting',
356
+ 'description' => '',
357
+ 'frontpage' => '1',
358
+ 'status' => 'agency',
359
+ 'name_clean' => 'dog-training-and-behavior-consulting',
360
+ ),
361
+ 27 =>
362
+ array (
363
+ 'type' => 'CSMM PRO',
364
+ 'version' => '15.17',
365
+ 'last_edit' => 'Mon, 07 Jan 2019 08:27:22 +0000',
366
+ 'name' => 'Employment',
367
+ 'description' => '',
368
+ 'frontpage' => '1',
369
+ 'status' => 'pro',
370
+ 'name_clean' => 'employment',
371
+ ),
372
+ 28 =>
373
+ array (
374
+ 'type' => 'CSMM PRO',
375
+ 'version' => '15.17',
376
+ 'last_edit' => 'Sun, 23 Dec 2018 09:56:23 +0000',
377
+ 'name' => 'Essay Writing Service',
378
+ 'description' => '',
379
+ 'frontpage' => '1',
380
+ 'status' => 'agency',
381
+ 'name_clean' => 'essay-writing-service',
382
+ ),
383
+ 29 =>
384
+ array (
385
+ 'type' => 'CSMM PRO',
386
+ 'version' => '15.17',
387
+ 'last_edit' => 'Wed, 29 Aug 2018 16:00:04 +0000',
388
+ 'name' => 'Fall (Video)',
389
+ 'description' => '',
390
+ 'frontpage' => '1',
391
+ 'status' => 'pro',
392
+ 'name_clean' => 'fall-video',
393
+ ),
394
+ 30 =>
395
+ array (
396
+ 'type' => 'CSMM PRO',
397
+ 'version' => '15.17',
398
+ 'last_edit' => 'Sat, 21 Jul 2018 22:37:09 +0000',
399
+ 'name' => 'Fashion',
400
+ 'description' => '',
401
+ 'frontpage' => '1',
402
+ 'status' => 'agency',
403
+ 'name_clean' => 'fashion',
404
+ ),
405
+ 31 =>
406
+ array (
407
+ 'type' => 'CSMM PRO',
408
+ 'version' => '15.17',
409
+ 'last_edit' => 'Tue, 30 Oct 2018 18:11:40 +0000',
410
+ 'name' => 'Financial District',
411
+ 'description' => '',
412
+ 'frontpage' => '1',
413
+ 'status' => 'pro',
414
+ 'name_clean' => 'financial-district',
415
+ ),
416
+ 32 =>
417
+ array (
418
+ 'type' => 'CSMM PRO',
419
+ 'version' => '15.05',
420
+ 'last_edit' => 'Fri, 02 Mar 2018 12:33:55 +0000',
421
+ 'name' => 'Flower Shop',
422
+ 'description' => '',
423
+ 'frontpage' => '1',
424
+ 'status' => 'agency',
425
+ 'name_clean' => 'flower-shop',
426
+ ),
427
+ 33 =>
428
+ array (
429
+ 'type' => 'CSMM PRO',
430
+ 'version' => '15.17',
431
+ 'last_edit' => 'Wed, 02 May 2018 09:37:48 +0000',
432
+ 'name' => 'Food Blog',
433
+ 'description' => '',
434
+ 'frontpage' => '1',
435
+ 'status' => 'pro',
436
+ 'name_clean' => 'food-blog',
437
+ ),
438
+ 34 =>
439
+ array (
440
+ 'type' => 'CSMM PRO',
441
+ 'version' => '15.17',
442
+ 'last_edit' => 'Mon, 18 Jun 2018 16:40:10 +0000',
443
+ 'name' => 'Football',
444
+ 'description' => '',
445
+ 'frontpage' => '1',
446
+ 'status' => 'pro',
447
+ 'name_clean' => 'football',
448
+ ),
449
+ 35 =>
450
+ array (
451
+ 'type' => 'CSMM PRO',
452
+ 'version' => '15.17',
453
+ 'last_edit' => 'Sun, 23 Dec 2018 10:16:53 +0000',
454
+ 'name' => 'Frozen Nature',
455
+ 'description' => '',
456
+ 'frontpage' => '1',
457
+ 'status' => 'pro',
458
+ 'name_clean' => 'frozen-nature',
459
+ ),
460
+ 36 =>
461
+ array (
462
+ 'type' => 'CSMM PRO',
463
+ 'version' => '15.17',
464
+ 'last_edit' => 'Thu, 28 Feb 2019 08:14:36 +0000',
465
+ 'name' => 'Future Technology',
466
+ 'description' => '',
467
+ 'frontpage' => '1',
468
+ 'status' => 'pro',
469
+ 'name_clean' => 'future-technology',
470
+ ),
471
+ 37 =>
472
+ array (
473
+ 'type' => 'CSMM PRO',
474
+ 'version' => '15.17',
475
+ 'last_edit' => 'Tue, 23 Oct 2018 17:23:42 +0000',
476
+ 'name' => 'Halloween',
477
+ 'description' => '',
478
+ 'frontpage' => '1',
479
+ 'status' => 'pro',
480
+ 'name_clean' => 'halloween',
481
+ ),
482
+ 38 =>
483
+ array (
484
+ 'type' => 'CSMM PRO',
485
+ 'version' => '15.17',
486
+ 'last_edit' => 'Sat, 28 Jul 2018 15:16:26 +0000',
487
+ 'name' => 'Holiday Resort',
488
+ 'description' => '',
489
+ 'frontpage' => '1',
490
+ 'status' => 'pro',
491
+ 'name_clean' => 'holiday-resort',
492
+ ),
493
+ 39 =>
494
+ array (
495
+ 'type' => 'CSMM PRO',
496
+ 'version' => '15.17',
497
+ 'last_edit' => 'Fri, 30 Mar 2018 11:26:42 +0000',
498
+ 'name' => 'Homemade Chocolate Gifts',
499
+ 'description' => '',
500
+ 'frontpage' => '0',
501
+ 'status' => 'pro',
502
+ 'name_clean' => 'homemade-chocolate-gifts',
503
+ ),
504
+ 40 =>
505
+ array (
506
+ 'type' => 'CSMM PRO',
507
+ 'version' => '15.17',
508
+ 'last_edit' => 'Wed, 30 Jan 2019 19:33:31 +0000',
509
+ 'name' => 'Ice Cream Shop',
510
+ 'description' => '',
511
+ 'frontpage' => '1',
512
+ 'status' => 'pro',
513
+ 'name_clean' => 'ice-cream-shop',
514
+ ),
515
+ 41 =>
516
+ array (
517
+ 'type' => 'CSMM PRO',
518
+ 'version' => '15.05',
519
+ 'last_edit' => 'Fri, 02 Mar 2018 12:59:44 +0000',
520
+ 'name' => 'Interior Design',
521
+ 'description' => 'Andrea',
522
+ 'frontpage' => '1',
523
+ 'status' => 'agency',
524
+ 'name_clean' => 'interior-design',
525
+ ),
526
+ 42 =>
527
+ array (
528
+ 'type' => 'CSMM PRO',
529
+ 'version' => '5.14',
530
+ 'last_edit' => 'Fri, 23 Mar 2018 16:42:15 +0000',
531
+ 'name' => 'Journey (Video)',
532
+ 'description' => '',
533
+ 'frontpage' => '1',
534
+ 'status' => 'agency',
535
+ 'name_clean' => 'journey-video',
536
+ ),
537
+ 43 =>
538
+ array (
539
+ 'type' => 'CSMM PRO',
540
+ 'version' => '15.17',
541
+ 'last_edit' => 'Mon, 11 Mar 2019 18:11:04 +0000',
542
+ 'name' => 'Ladies Accessories',
543
+ 'description' => '',
544
+ 'frontpage' => '1',
545
+ 'status' => 'agency',
546
+ 'name_clean' => 'ladies-accessories',
547
+ ),
548
+ 44 =>
549
+ array (
550
+ 'type' => 'CSMM PRO',
551
+ 'version' => '15.17',
552
+ 'last_edit' => 'Fri, 30 Mar 2018 11:28:28 +0000',
553
+ 'name' => 'LEGO Bricks',
554
+ 'description' => '',
555
+ 'frontpage' => '0',
556
+ 'status' => 'pro',
557
+ 'name_clean' => 'lego-bricks',
558
+ ),
559
+ 45 =>
560
+ array (
561
+ 'type' => 'CSMM PRO',
562
+ 'version' => '15.17',
563
+ 'last_edit' => 'Wed, 29 Aug 2018 16:36:44 +0000',
564
+ 'name' => 'Loneliness',
565
+ 'description' => '',
566
+ 'frontpage' => '1',
567
+ 'status' => 'agency',
568
+ 'name_clean' => 'loneliness',
569
+ ),
570
+ 46 =>
571
+ array (
572
+ 'type' => 'CSMM PRO',
573
+ 'version' => '15.17',
574
+ 'last_edit' => 'Wed, 25 Apr 2018 11:04:55 +0000',
575
+ 'name' => 'Lonely Road',
576
+ 'description' => 'Andrea',
577
+ 'frontpage' => '1',
578
+ 'status' => 'agency',
579
+ 'name_clean' => 'lonely-road',
580
+ ),
581
+ 47 =>
582
+ array (
583
+ 'type' => 'CSMM PRO',
584
+ 'version' => '15.17',
585
+ 'last_edit' => 'Fri, 30 Mar 2018 11:30:37 +0000',
586
+ 'name' => 'Luxury Car',
587
+ 'description' => '',
588
+ 'frontpage' => '1',
589
+ 'status' => 'pro',
590
+ 'name_clean' => 'luxury-car',
591
+ ),
592
+ 48 =>
593
+ array (
594
+ 'type' => 'CSMM PRO',
595
+ 'version' => '5.005',
596
+ 'last_edit' => 'Mon, 26 Feb 2018 18:31:18 +0000',
597
+ 'name' => 'Maintenance Mode',
598
+ 'description' => 'Andrea',
599
+ 'frontpage' => '0',
600
+ 'status' => 'pro',
601
+ 'name_clean' => 'maintenance-mode',
602
+ ),
603
+ 49 =>
604
+ array (
605
+ 'type' => 'CSMM PRO',
606
+ 'version' => '5.005',
607
+ 'last_edit' => 'Mon, 26 Feb 2018 17:59:30 +0000',
608
+ 'name' => 'Makeup Artist Training',
609
+ 'description' => 'Andrea',
610
+ 'frontpage' => '1',
611
+ 'status' => 'agency',
612
+ 'name_clean' => 'makeup-artist-training',
613
+ ),
614
+ 50 =>
615
+ array (
616
+ 'type' => 'CSMM PRO',
617
+ 'version' => '15.17',
618
+ 'last_edit' => 'Sun, 23 Sep 2018 13:09:03 +0000',
619
+ 'name' => 'Misty Forest (Video)',
620
+ 'description' => '',
621
+ 'frontpage' => '1',
622
+ 'status' => 'pro',
623
+ 'name_clean' => 'misty-forest-video',
624
+ ),
625
+ 51 =>
626
+ array (
627
+ 'type' => 'CSMM PRO',
628
+ 'version' => '15.17',
629
+ 'last_edit' => 'Wed, 25 Apr 2018 11:08:31 +0000',
630
+ 'name' => 'Mobile Designer',
631
+ 'description' => 'Andrea',
632
+ 'frontpage' => '1',
633
+ 'status' => 'agency',
634
+ 'name_clean' => 'mobile-designer',
635
+ ),
636
+ 52 =>
637
+ array (
638
+ 'type' => 'CSMM PRO',
639
+ 'version' => '15.17',
640
+ 'last_edit' => 'Tue, 30 Oct 2018 18:10:11 +0000',
641
+ 'name' => 'Mobile Meeting',
642
+ 'description' => '',
643
+ 'frontpage' => '1',
644
+ 'status' => 'agency',
645
+ 'name_clean' => 'mobile-meeting',
646
+ ),
647
+ 53 =>
648
+ array (
649
+ 'type' => 'CSMM PRO',
650
+ 'version' => '5.005',
651
+ 'last_edit' => 'Mon, 26 Feb 2018 18:04:32 +0000',
652
+ 'name' => 'Modern Blog',
653
+ 'description' => '',
654
+ 'frontpage' => '1',
655
+ 'status' => 'pro',
656
+ 'name_clean' => 'modern-blog',
657
+ ),
658
+ 54 =>
659
+ array (
660
+ 'type' => 'CSMM PRO',
661
+ 'version' => '15.05',
662
+ 'last_edit' => 'Fri, 02 Mar 2018 10:14:21 +0000',
663
+ 'name' => 'Modern Office',
664
+ 'description' => 'Andrea',
665
+ 'frontpage' => '0',
666
+ 'status' => 'agency',
667
+ 'name_clean' => 'modern-office',
668
+ ),
669
+ 55 =>
670
+ array (
671
+ 'type' => 'CSMM PRO',
672
+ 'version' => '15.17',
673
+ 'last_edit' => 'Mon, 26 Nov 2018 18:42:35 +0000',
674
+ 'name' => 'Modern Recipes',
675
+ 'description' => '',
676
+ 'frontpage' => '1',
677
+ 'status' => 'agency',
678
+ 'name_clean' => 'modern-recipes',
679
+ ),
680
+ 56 =>
681
+ array (
682
+ 'type' => 'CSMM PRO',
683
+ 'version' => '15.17',
684
+ 'last_edit' => 'Fri, 30 Mar 2018 11:48:23 +0000',
685
+ 'name' => 'Mountain Slide',
686
+ 'description' => '',
687
+ 'frontpage' => '1',
688
+ 'status' => 'pro',
689
+ 'name_clean' => 'mountain-slide',
690
+ ),
691
+ 57 =>
692
+ array (
693
+ 'type' => 'CSMM PRO',
694
+ 'version' => '5.05',
695
+ 'last_edit' => 'Thu, 01 Mar 2018 10:49:52 +0000',
696
+ 'name' => 'Mountain',
697
+ 'description' => 'Andrea',
698
+ 'frontpage' => '0',
699
+ 'status' => 'pro',
700
+ 'name_clean' => 'mountain',
701
+ ),
702
+ 58 =>
703
+ array (
704
+ 'type' => 'CSMM PRO',
705
+ 'version' => '15.17',
706
+ 'last_edit' => 'Wed, 25 Apr 2018 11:12:56 +0000',
707
+ 'name' => 'Movie Trailer (Video)',
708
+ 'description' => '',
709
+ 'frontpage' => '0',
710
+ 'status' => 'pro',
711
+ 'name_clean' => 'movie-trailer-video',
712
+ ),
713
+ 59 =>
714
+ array (
715
+ 'type' => 'CSMM PRO',
716
+ 'version' => '15.05',
717
+ 'last_edit' => 'Fri, 02 Mar 2018 10:17:02 +0000',
718
+ 'name' => 'Nature',
719
+ 'description' => 'Andrea',
720
+ 'frontpage' => '0',
721
+ 'status' => 'agency',
722
+ 'name_clean' => 'nature',
723
+ ),
724
+ 60 =>
725
+ array (
726
+ 'type' => 'CSMM PRO',
727
+ 'version' => '5.14',
728
+ 'last_edit' => 'Fri, 23 Mar 2018 16:37:55 +0000',
729
+ 'name' => 'Office Meeting (Video)',
730
+ 'description' => '',
731
+ 'frontpage' => '1',
732
+ 'status' => 'agency',
733
+ 'name_clean' => 'office-meeting-video',
734
+ ),
735
+ 61 =>
736
+ array (
737
+ 'type' => 'CSMM PRO',
738
+ 'version' => '15.05',
739
+ 'last_edit' => 'Fri, 02 Mar 2018 12:35:44 +0000',
740
+ 'name' => 'Office Theme',
741
+ 'description' => '',
742
+ 'frontpage' => '1',
743
+ 'status' => 'agency',
744
+ 'name_clean' => 'office-theme',
745
+ ),
746
+ 62 =>
747
+ array (
748
+ 'type' => 'CSMM PRO',
749
+ 'version' => '5.005',
750
+ 'last_edit' => 'Mon, 26 Feb 2018 18:07:28 +0000',
751
+ 'name' => 'Online Learning',
752
+ 'description' => 'Andrea',
753
+ 'frontpage' => '1',
754
+ 'status' => 'agency',
755
+ 'name_clean' => 'online-learning',
756
+ ),
757
+ 63 =>
758
+ array (
759
+ 'type' => 'CSMM PRO',
760
+ 'version' => '15.17',
761
+ 'last_edit' => 'Wed, 25 Apr 2018 11:10:44 +0000',
762
+ 'name' => 'Pancake House',
763
+ 'description' => '',
764
+ 'frontpage' => '0',
765
+ 'status' => 'pro',
766
+ 'name_clean' => 'pancake-house',
767
+ ),
768
+ 64 =>
769
+ array (
770
+ 'type' => 'CSMM PRO',
771
+ 'version' => '15.17',
772
+ 'last_edit' => 'Wed, 25 Apr 2018 11:15:19 +0000',
773
+ 'name' => 'Parenting',
774
+ 'description' => '',
775
+ 'frontpage' => '0',
776
+ 'status' => 'pro',
777
+ 'name_clean' => 'parenting',
778
+ ),
779
+ 65 =>
780
+ array (
781
+ 'type' => 'CSMM PRO',
782
+ 'version' => '15.17',
783
+ 'last_edit' => 'Tue, 28 Aug 2018 15:03:08 +0000',
784
+ 'name' => 'Passage',
785
+ 'description' => '',
786
+ 'frontpage' => '0',
787
+ 'status' => 'pro',
788
+ 'name_clean' => 'passage',
789
+ ),
790
+ 66 =>
791
+ array (
792
+ 'type' => 'CSMM PRO',
793
+ 'version' => '15.17',
794
+ 'last_edit' => 'Tue, 23 Oct 2018 18:08:17 +0000',
795
+ 'name' => 'Peaceful River',
796
+ 'description' => '',
797
+ 'frontpage' => '1',
798
+ 'status' => 'agency',
799
+ 'name_clean' => 'peaceful-river',
800
+ ),
801
+ 67 =>
802
+ array (
803
+ 'type' => 'CSMM PRO',
804
+ 'version' => '15.17',
805
+ 'last_edit' => 'Sat, 18 May 2019 12:49:23 +0000',
806
+ 'name' => 'Personal Trainer',
807
+ 'description' => '',
808
+ 'frontpage' => '1',
809
+ 'status' => 'pro',
810
+ 'name_clean' => 'personal-trainer',
811
+ ),
812
+ 68 =>
813
+ array (
814
+ 'type' => 'CSMM PRO',
815
+ 'version' => '15.17',
816
+ 'last_edit' => 'Fri, 30 Mar 2018 11:35:07 +0000',
817
+ 'name' => 'Photography',
818
+ 'description' => '',
819
+ 'frontpage' => '1',
820
+ 'status' => 'agency',
821
+ 'name_clean' => 'photography',
822
+ ),
823
+ 69 =>
824
+ array (
825
+ 'type' => 'CSMM PRO',
826
+ 'version' => '15.17',
827
+ 'last_edit' => 'Sun, 10 Mar 2019 11:20:31 +0000',
828
+ 'name' => 'Romantic Travels',
829
+ 'description' => '',
830
+ 'frontpage' => '1',
831
+ 'status' => 'agency',
832
+ 'name_clean' => 'romantic-travels',
833
+ ),
834
+ 70 =>
835
+ array (
836
+ 'type' => 'CSMM PRO',
837
+ 'version' => '15.17',
838
+ 'last_edit' => 'Fri, 30 Mar 2018 11:41:09 +0000',
839
+ 'name' => 'Running Blog',
840
+ 'description' => '',
841
+ 'frontpage' => '0',
842
+ 'status' => 'agency',
843
+ 'name_clean' => 'running-blog',
844
+ ),
845
+ 71 =>
846
+ array (
847
+ 'type' => 'CSMM PRO',
848
+ 'version' => '15.14',
849
+ 'last_edit' => 'Sat, 24 Mar 2018 10:23:40 +0000',
850
+ 'name' => 'Running (Video)',
851
+ 'description' => '',
852
+ 'frontpage' => '1',
853
+ 'status' => 'pro',
854
+ 'name_clean' => 'running-video',
855
+ ),
856
+ 72 =>
857
+ array (
858
+ 'type' => 'CSMM PRO',
859
+ 'version' => '15.17',
860
+ 'last_edit' => 'Thu, 25 Apr 2019 08:11:16 +0000',
861
+ 'name' => 'Scholar University',
862
+ 'description' => '',
863
+ 'frontpage' => '1',
864
+ 'status' => 'agency',
865
+ 'name_clean' => 'scholar-university',
866
+ ),
867
+ 73 =>
868
+ array (
869
+ 'type' => 'CSMM PRO',
870
+ 'version' => '5.005',
871
+ 'last_edit' => 'Mon, 26 Feb 2018 11:17:32 +0000',
872
+ 'name' => 'Shoes Store',
873
+ 'description' => 'Andrea',
874
+ 'frontpage' => '1',
875
+ 'status' => 'agency',
876
+ 'name_clean' => 'shoes-store',
877
+ ),
878
+ 74 =>
879
+ array (
880
+ 'type' => 'CSMM PRO',
881
+ 'version' => '15.17',
882
+ 'last_edit' => 'Wed, 25 Apr 2018 11:17:21 +0000',
883
+ 'name' => 'Simple Beige Design',
884
+ 'description' => '',
885
+ 'frontpage' => '0',
886
+ 'status' => 'pro',
887
+ 'name_clean' => 'simple-beige-design',
888
+ ),
889
+ 75 =>
890
+ array (
891
+ 'type' => 'CSMM PRO',
892
+ 'version' => '15.17',
893
+ 'last_edit' => 'Wed, 25 Apr 2018 11:19:34 +0000',
894
+ 'name' => 'Snow Screensaver (Video)',
895
+ 'description' => '',
896
+ 'frontpage' => '1',
897
+ 'status' => 'pro',
898
+ 'name_clean' => 'snow-screensaver-video',
899
+ ),
900
+ 76 =>
901
+ array (
902
+ 'type' => 'CSMM PRO',
903
+ 'version' => '15.17',
904
+ 'last_edit' => 'Fri, 30 Mar 2018 11:44:39 +0000',
905
+ 'name' => 'Snowboarding Blog',
906
+ 'description' => '',
907
+ 'frontpage' => '1',
908
+ 'status' => 'pro',
909
+ 'name_clean' => 'snowboarding-blog',
910
+ ),
911
+ 77 =>
912
+ array (
913
+ 'type' => 'CSMM PRO',
914
+ 'version' => '15.17',
915
+ 'last_edit' => 'Wed, 25 Apr 2018 11:21:19 +0000',
916
+ 'name' => 'Snowy Mountain',
917
+ 'description' => '',
918
+ 'frontpage' => '1',
919
+ 'status' => 'pro',
920
+ 'name_clean' => 'snowy-mountain',
921
+ ),
922
+ 78 =>
923
+ array (
924
+ 'type' => 'CSMM PRO',
925
+ 'version' => '15.17',
926
+ 'last_edit' => 'Fri, 30 Nov 2018 10:24:22 +0000',
927
+ 'name' => 'Snowy Oasis',
928
+ 'description' => '',
929
+ 'frontpage' => '1',
930
+ 'status' => 'pro',
931
+ 'name_clean' => 'snowy-oasis',
932
+ ),
933
+ 79 =>
934
+ array (
935
+ 'type' => 'CSMM PRO',
936
+ 'version' => '15.17',
937
+ 'last_edit' => 'Wed, 10 Apr 2019 17:03:10 +0000',
938
+ 'name' => 'Social Media Service',
939
+ 'description' => '',
940
+ 'frontpage' => '1',
941
+ 'status' => 'agency',
942
+ 'name_clean' => 'social-media-service',
943
+ ),
944
+ 80 =>
945
+ array (
946
+ 'type' => 'CSMM PRO',
947
+ 'version' => '15.17',
948
+ 'last_edit' => 'Sun, 17 Feb 2019 12:27:43 +0000',
949
+ 'name' => 'Spa & Beauty Studio',
950
+ 'description' => '',
951
+ 'frontpage' => '1',
952
+ 'status' => 'agency',
953
+ 'name_clean' => 'spa-beauty-studio',
954
+ ),
955
+ 81 =>
956
+ array (
957
+ 'type' => 'CSMM PRO',
958
+ 'version' => '15.17',
959
+ 'last_edit' => 'Fri, 30 Mar 2018 09:59:40 +0000',
960
+ 'name' => 'Spring',
961
+ 'description' => '',
962
+ 'frontpage' => '0',
963
+ 'status' => 'agency',
964
+ 'name_clean' => 'spring',
965
+ ),
966
+ 82 =>
967
+ array (
968
+ 'type' => 'CSMM PRO',
969
+ 'version' => '15.17',
970
+ 'last_edit' => 'Sat, 26 Jan 2019 16:30:01 +0000',
971
+ 'name' => 'Startup',
972
+ 'description' => '',
973
+ 'frontpage' => '1',
974
+ 'status' => 'pro',
975
+ 'name_clean' => 'startup',
976
+ ),
977
+ 83 =>
978
+ array (
979
+ 'type' => 'CSMM PRO',
980
+ 'version' => '15.17',
981
+ 'last_edit' => 'Sun, 19 Aug 2018 07:48:14 +0000',
982
+ 'name' => 'Stylish Workplace',
983
+ 'description' => '',
984
+ 'frontpage' => '1',
985
+ 'status' => 'pro',
986
+ 'name_clean' => 'stylish-workplace',
987
+ ),
988
+ 84 =>
989
+ array (
990
+ 'type' => 'CSMM PRO',
991
+ 'version' => '15.17',
992
+ 'last_edit' => 'Wed, 25 Apr 2018 11:22:49 +0000',
993
+ 'name' => 'The Big City Newsletter',
994
+ 'description' => 'Andrea',
995
+ 'frontpage' => '1',
996
+ 'status' => 'agency',
997
+ 'name_clean' => 'the-big-city-newsletter',
998
+ ),
999
+ 85 =>
1000
+ array (
1001
+ 'type' => 'CSMM PRO',
1002
+ 'version' => '5.14',
1003
+ 'last_edit' => 'Thu, 22 Mar 2018 11:33:57 +0000',
1004
+ 'name' => 'The Sunny View',
1005
+ 'description' => 'Andrea',
1006
+ 'frontpage' => '0',
1007
+ 'status' => 'pro',
1008
+ 'name_clean' => 'the-sunny-view',
1009
+ ),
1010
+ 86 =>
1011
+ array (
1012
+ 'type' => 'CSMM PRO',
1013
+ 'version' => '5.001',
1014
+ 'last_edit' => 'Tue, 20 Feb 2018 10:57:27 +0000',
1015
+ 'name' => 'Travel Agency',
1016
+ 'description' => '',
1017
+ 'frontpage' => '1',
1018
+ 'status' => 'pro',
1019
+ 'name_clean' => 'travel-agency',
1020
+ ),
1021
+ 87 =>
1022
+ array (
1023
+ 'type' => 'CSMM PRO',
1024
+ 'version' => '15.05',
1025
+ 'last_edit' => 'Fri, 02 Mar 2018 12:39:22 +0000',
1026
+ 'name' => 'Travel Blog',
1027
+ 'description' => 'Andrea',
1028
+ 'frontpage' => '1',
1029
+ 'status' => 'agency',
1030
+ 'name_clean' => 'travel-blog',
1031
+ ),
1032
+ 88 =>
1033
+ array (
1034
+ 'type' => 'CSMM PRO',
1035
+ 'version' => '15.17',
1036
+ 'last_edit' => 'Wed, 25 Apr 2018 11:24:56 +0000',
1037
+ 'name' => 'Tulips',
1038
+ 'description' => '',
1039
+ 'frontpage' => '1',
1040
+ 'status' => 'agency',
1041
+ 'name_clean' => 'tulips',
1042
+ ),
1043
+ 89 =>
1044
+ array (
1045
+ 'type' => 'CSMM PRO',
1046
+ 'version' => '15.17',
1047
+ 'last_edit' => 'Sun, 27 Jan 2019 08:47:12 +0000',
1048
+ 'name' => 'Valentine&#39;s Day',
1049
+ 'description' => '',
1050
+ 'frontpage' => '1',
1051
+ 'status' => 'pro',
1052
+ 'name_clean' => 'valentines-day',
1053
+ ),
1054
+ 90 =>
1055
+ array (
1056
+ 'type' => 'CSMM PRO',
1057
+ 'version' => '5.001',
1058
+ 'last_edit' => 'Mon, 19 Feb 2018 12:31:48 +0000',
1059
+ 'name' => 'Video Production',
1060
+ 'description' => '',
1061
+ 'frontpage' => '1',
1062
+ 'status' => 'pro',
1063
+ 'name_clean' => 'video-production',
1064
+ ),
1065
+ 91 =>
1066
+ array (
1067
+ 'type' => 'CSMM PRO',
1068
+ 'version' => '15.17',
1069
+ 'last_edit' => 'Thu, 04 Apr 2019 16:55:28 +0000',
1070
+ 'name' => 'Virtual Assistant Service',
1071
+ 'description' => '',
1072
+ 'frontpage' => '1',
1073
+ 'status' => 'agency',
1074
+ 'name_clean' => 'virtual-assistant-service',
1075
+ ),
1076
+ 92 =>
1077
+ array (
1078
+ 'type' => 'CSMM PRO',
1079
+ 'version' => '15.17',
1080
+ 'last_edit' => 'Sat, 07 Jul 2018 15:15:19 +0000',
1081
+ 'name' => 'Walking Away (Video)',
1082
+ 'description' => '',
1083
+ 'frontpage' => '0',
1084
+ 'status' => 'pro',
1085
+ 'name_clean' => 'walking-away-video',
1086
+ ),
1087
+ 93 =>
1088
+ array (
1089
+ 'type' => 'CSMM PRO',
1090
+ 'version' => '5.005',
1091
+ 'last_edit' => 'Mon, 26 Feb 2018 19:54:07 +0000',
1092
+ 'name' => 'Webinar',
1093
+ 'description' => 'Andrea',
1094
+ 'frontpage' => '1',
1095
+ 'status' => 'agency',
1096
+ 'name_clean' => 'webinar',
1097
+ ),
1098
+ 94 =>
1099
+ array (
1100
+ 'type' => 'CSMM PRO',
1101
+ 'version' => '5.005',
1102
+ 'last_edit' => 'Fri, 23 Feb 2018 11:53:23 +0000',
1103
+ 'name' => 'Wedding Blog',
1104
+ 'description' => 'Andrea',
1105
+ 'frontpage' => '1',
1106
+ 'status' => 'agency',
1107
+ 'name_clean' => 'wedding-blog',
1108
+ ),
1109
+ 95 =>
1110
+ array (
1111
+ 'type' => 'CSMM PRO',
1112
+ 'version' => '15.17',
1113
+ 'last_edit' => 'Tue, 22 May 2018 12:41:04 +0000',
1114
+ 'name' => 'White Orchids',
1115
+ 'description' => '',
1116
+ 'frontpage' => '1',
1117
+ 'status' => 'pro',
1118
+ 'name_clean' => 'white-orchids',
1119
+ ),
1120
+ 96 =>
1121
+ array (
1122
+ 'type' => 'CSMM PRO',
1123
+ 'version' => '5.14',
1124
+ 'last_edit' => 'Thu, 22 Mar 2018 11:29:56 +0000',
1125
+ 'name' => 'Working Out',
1126
+ 'description' => '',
1127
+ 'frontpage' => '1',
1128
+ 'status' => 'agency',
1129
+ 'name_clean' => 'working-out',
1130
+ ),
1131
+ 97 =>
1132
+ array (
1133
+ 'type' => 'CSMM PRO',
1134
+ 'version' => '15.05',
1135
+ 'last_edit' => 'Fri, 02 Mar 2018 12:36:42 +0000',
1136
+ 'name' => 'Workplace',
1137
+ 'description' => 'Andrea',
1138
+ 'frontpage' => '1',
1139
+ 'status' => 'agency',
1140
+ 'name_clean' => 'workplace',
1141
+ ),
1142
+ 98 =>
1143
+ array (
1144
+ 'type' => 'CSMM PRO',
1145
+ 'version' => '15.17',
1146
+ 'last_edit' => 'Wed, 25 Apr 2018 11:00:38 +0000',
1147
+ 'name' => 'Writing Service (Video)',
1148
+ 'description' => '',
1149
+ 'frontpage' => '1',
1150
+ 'status' => 'agency',
1151
+ 'name_clean' => 'writing-service-video',
1152
+ ),
1153
+ );
1154
 
1155
  $path = plugins_url('', __FILE__);
1156
 
1157
+ 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>';
1158
 
1159
  foreach ($themes as $theme) {
1160
  echo '<div class="theme-thumb" data-theme="' . $theme['name_clean'] . '">';
1161
+ echo '<a href="' . nifty_generate_web_link('preview-theme-thumb-' . $theme['name_clean'], 'theme-preview', array('theme' => $theme['name_clean'])) . '" target="_blank"><img src="' . $path . '/assets/images/themes/pro/' . $theme['name_clean'] . '.jpg" alt="Preview ' . $theme['name'] . '" title="Preview ' . $theme['name'] . '"></a>';
1162
+ echo '<span class="name">' . $theme['name'] . ' <small>' . $theme['status'] . ' theme</small></span>';
 
 
 
 
1163
  echo '<span name="actions">';
1164
+ echo '<a href="' . nifty_generate_web_link('get-theme-discount-' . $theme['name_clean'], '/', array('coupon' => 'nifty')) . '" class="button button-primary" target="_blank">Get this theme with a <b>25% discount</b></a>&nbsp; &nbsp;';
1165
+ echo '<a target="_blank" class="button button-secondary" href="' . nifty_generate_web_link('preview-theme-' . $theme['name_clean'], 'theme-preview', array('theme' => $theme['name_clean'])) . '">Preview</a>';
 
 
 
 
1166
  echo '</span>';
1167
+ //echo '<div class="ribbon"><i><span class="dashicons dashicons-star-filled"></span></i></div>';
 
 
1168
  echo '</div>';
1169
 
1170
  } // foreach theme
1196
 
1197
  /**
1198
  * Returns an array of system fonts
 
1199
  */
1200
  $google_fonts = nifty_cs_get_google_webfonts();
1201
  foreach( $google_fonts as $font ) {
1203
  $google_webfonts_array[$font['family']]['value'] = $font['family'];
1204
  }
1205
 
 
1206
 
1207
+ $weforms_form = ot_get_option( 'weforms_sign_up_form' );
1208
+ $enable_signup_form = ot_get_option( 'enable_sign_up_form' );
1209
+ if( ot_is_weforms_active() && !empty($weforms_form) && $weforms_form > 0 && $enable_signup_form != 'off'){
1210
+ $signup_form = array(
1211
  'id' => 'weforms_sign_up_form',
1212
  'label' => 'Any Kind of Form - Contact, Subscribe, Event, Optin,...',
1213
  'desc' => 'weForms allow you to create and fully customize any kind of form you need. From a simple contact or subscribe forms, to a complicated form for event registrations.',
1216
  'section' => 'general_settings',
1217
  );
1218
  } else {
1219
+ $signup_form = array();
 
 
 
 
 
 
 
1220
  }
1221
 
1222
 
 
1223
  $custom_settings = array(
1224
  'contextual_help' => array(
1225
  'sidebar' => ''
1305
  'std' => 'on',
1306
  'type' => 'on-off',
1307
  'section' => 'general_settings',
 
1308
  ),
1309
+ $signup_form,
1310
  array(
1311
+ 'id' => 'enable_sign_up_form',
1312
+ 'label' => 'Enable built in Sign-up form',
1313
+ 'desc' => 'If you want to use custom Sign-up form option below, you need to turn this option to off.',
1314
+ 'std' => 'on',
1315
+ 'type' => 'on-off',
1316
+ 'section' => 'general_settings',
1317
+ ),
1318
+ array(
1319
  'id' => 'insert_custom_signup_form',
1320
  'label' => 'Insert custom Sign-up form',
1321
  'desc' => 'You can use your MailChimp (or any other custom) embed code and replace the theme build in sign up form. Make sure that the upper option Enable built in Sign-up form is turned off.<br /><br />Please note that you need to adjust the elements that you paste inside this form, remove any remote CSS and use Additional CSS field for adjusting your form styles as well.',
2093
  'label' => 'Documentation and FAQ',
2094
  'desc' => '<h3 class="label">NIFTY COMING SOON - Documentation</strong></h3>
2095
 
2096
+ <p>We\'re working on creating videos and written documentation. Till then, if you have any questions use the following places to ask for help:</p>
2097
+ <ul>
2098
+ <li><a href="https://wordpress.org/support/plugin/nifty-coming-soon-and-under-construction-page" target="_blank">WordPress Support forum</a></li>
2099
+ <li><a href="https://twitter.com/WebFactoryLtd" target="_blank">WebFactory on Twitter</a></li>
2100
+ </ul>
2101
  <h3 class="label">RATE THE PLUGIN WITH 5 STARS</h3>
2102
  <p>If you find this plugin useful, please take a minute and rate it with 5 start on WordPress. It will help me with keeping up with the updates and new features as always.</p>
2103
  <p>Just log in into Your WordPress account and then access the <a href="https://wordpress.org/support/plugin/nifty-coming-soon-and-under-construction-page/reviews" target="_blank"> Review page </a>. Then just click on the button Add my review, make sure that you mark the 5 star and submit your review.</p>
2104
  <p>Thanks. :)</p>
 
 
 
 
 
2105
  </p>
2106
 
2107
  ',
2132
  add_filter( 'ot_show_pages', '__return_false' );
2133
 
2134
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2135
  function ot_is_plugin_installed($slug) {
2136
  if (!function_exists('get_plugins')) {
2137
  require_once ABSPATH . 'wp-admin/includes/plugin.php';
2145
  }
2146
  } // is_plugin_installed
2147
 
 
2148
  // check if weForms plugin is active and min version installed
2149
  function ot_is_weforms_active() {
2150
  if (!function_exists('is_plugin_active') || !function_exists('get_plugin_data')) {
2162
  return false;
2163
  }
2164
  } // is_weforms_active
2165
+
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.50
7
  Author: WebFactory Ltd
8
  Author URI: https://webfactoryltd.com/
9
  License: GPLv3
@@ -213,11 +213,11 @@ if ( isset($_POST['email']) && filter_var($_POST['email'], FILTER_VALIDATE_EMAIL
213
  *
214
  * @return object
215
  */
216
- function nifty_add_plugin_featured($plugin_slug, $res) {
217
  // check if plugin is alredy on the list
218
  if (!empty($res->plugins)) {
219
  foreach ($res->plugins as $plugin) {
220
- if ($plugin->slug == $plugin_slug) {
221
  return $res;
222
  }
223
  } // foreach
@@ -225,8 +225,8 @@ function nifty_add_plugin_featured($plugin_slug, $res) {
225
 
226
  if ($plugin_info = get_transient('wf-plugin-info-' . $plugin_slug)) {
227
  //$res->plugins[] = $plugin_info;
228
- $tmp1 = array_slice($res->plugins, 0, 2, false);
229
- $tmp2 = array_slice($res->plugins, 2, sizeof($res->plugins) - 2, false);
230
  $res->plugins = array_merge($tmp1, array($plugin_info), $tmp2);
231
  } else {
232
  $plugin_info = plugins_api('plugin_information', array(
@@ -242,8 +242,8 @@ function nifty_add_plugin_featured($plugin_slug, $res) {
242
  )
243
  ));
244
  if (!is_wp_error($plugin_info)) {
245
- $tmp1 = array_slice($res->plugins, 0, 2, false);
246
- $tmp2 = array_slice($res->plugins, 2, sizeof($res->plugins) - 2, false);
247
  $res->plugins = array_merge($tmp1, array($plugin_info), $tmp2);
248
  set_transient('wf-plugin-info-' . $plugin_slug, $plugin_info, DAY_IN_SECONDS * 7);
249
  }
@@ -261,7 +261,8 @@ function nifty_add_plugin_featured($plugin_slug, $res) {
261
  function nifty_plugins_api_result($res, $action, $args) {
262
  remove_filter('plugins_api_result', 'nifty_plugins_api_result', 10, 3);
263
 
264
- $res = nifty_add_plugin_featured('security-ninja', $res);
 
265
 
266
  return $res;
267
  }
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.52
7
  Author: WebFactory Ltd
8
  Author URI: https://webfactoryltd.com/
9
  License: GPLv3
213
  *
214
  * @return object
215
  */
216
+ function nifty_add_plugin_featured($plugin_slug, $res, $position) {
217
  // check if plugin is alredy on the list
218
  if (!empty($res->plugins)) {
219
  foreach ($res->plugins as $plugin) {
220
+ if (is_object($plugin) && $plugin->slug == $plugin_slug) {
221
  return $res;
222
  }
223
  } // foreach
225
 
226
  if ($plugin_info = get_transient('wf-plugin-info-' . $plugin_slug)) {
227
  //$res->plugins[] = $plugin_info;
228
+ $tmp1 = array_slice($res->plugins, 0, $position, false);
229
+ $tmp2 = array_slice($res->plugins, $position, sizeof($res->plugins) - $position, false);
230
  $res->plugins = array_merge($tmp1, array($plugin_info), $tmp2);
231
  } else {
232
  $plugin_info = plugins_api('plugin_information', array(
242
  )
243
  ));
244
  if (!is_wp_error($plugin_info)) {
245
+ $tmp1 = array_slice($res->plugins, 0, $position, false);
246
+ $tmp2 = array_slice($res->plugins, $position, sizeof($res->plugins) - 2, false);
247
  $res->plugins = array_merge($tmp1, array($plugin_info), $tmp2);
248
  set_transient('wf-plugin-info-' . $plugin_slug, $plugin_info, DAY_IN_SECONDS * 7);
249
  }
261
  function nifty_plugins_api_result($res, $action, $args) {
262
  remove_filter('plugins_api_result', 'nifty_plugins_api_result', 10, 3);
263
 
264
+ $res = nifty_add_plugin_featured('security-ninja', $res, 0);
265
+ $res = nifty_add_plugin_featured('wp-reset', $res, 0);
266
 
267
  return $res;
268
  }
readme.txt CHANGED
@@ -4,10 +4,10 @@ Tags: coming soon, coming soon page, launch page, maintenance mode, 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.50
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
 
@@ -15,14 +15,12 @@ Simple and easy to setup Coming soon, Under Construction and Maintenance page pl
15
 
16
  Coming Soon and Maintenance Mode plugin features responsive design and will adapt to any device. You can setup background slider with overlay pattern and opacity. Easily alter animated text on the coming soon page and use the built in count down timer, subscription form and more.
17
 
18
- Create any kind of form you need and use it on the coming soon page! Contact form, subscribe form, lead-gen form, events registration form! Thanks to our partnership with <a href="https://wordpress.org/plugins/weforms/">weForms</a> you can use a drag & drop interface to quickly create any form.
19
-
20
  You can activate or deactivate any section of the page, select Google Fonts and have all like premium features for FREE.
21
 
22
  ### Main Features
23
 
24
 
25
- * Responsive and modern design
26
  * All section editable from plugin options panel
27
  * Countdown timer
28
  * Animated coming soon text messages
@@ -35,7 +33,7 @@ You can activate or deactivate any section of the page, select Google Fonts and
35
  * 300+ Google fonts
36
  * Font icons included
37
  * Built it Subscription form
38
- * Option to add MailChimp or any other Sign-up form
39
  * Coming soon admin bar notification
40
  * Translation options included
41
 
@@ -45,7 +43,7 @@ The plugin should work with any WordPress theme and the installation and setup a
45
 
46
  ### NEED MORE THEMES?
47
 
48
- Check out <a href="https://comingsoonwp.com/?utm_source=wordpressorg&utm_medium=content&utm_campaign=readme-nifty&utm_content=theme-demos">theme demos</a> plugin ! We have over 90!
49
 
50
 
51
  ### PROPOSE NEW FEATURES
@@ -88,6 +86,11 @@ As from the update of 1.0.9, the plugin offers the way to Live Preview you're Co
88
 
89
  == Changelog ==
90
 
 
 
 
 
 
91
  = 1.50 =
92
  * 2019/05/19
93
  * OptionTree security fix
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.52
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
 
15
 
16
  Coming Soon and Maintenance Mode plugin features responsive design and will adapt to any device. You can setup background slider with overlay pattern and opacity. Easily alter animated text on the coming soon page and use the built in count down timer, subscription form and more.
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
25
  * Countdown timer
26
  * Animated coming soon text messages
33
  * 300+ Google fonts
34
  * Font icons included
35
  * Built it Subscription form
36
+ * Option to add MailChimp or any other Sign-up form to the coming soon page
37
  * Coming soon admin bar notification
38
  * Translation options included
39
 
43
 
44
  ### NEED MORE THEMES?
45
 
46
+ Check out <a href="https://comingsoonwp.com/?utm_source=wordpressorg&utm_medium=content&utm_campaign=readme-nifty&utm_content=theme-demos">theme demos</a> plugin ! We have over 100!
47
 
48
 
49
  ### PROPOSE NEW FEATURES
86
 
87
  == Changelog ==
88
 
89
+ = 1.52 =
90
+ * 2019/05/27
91
+ * removed weForms
92
+ * 25% discount on all themes
93
+
94
  = 1.50 =
95
  * 2019/05/19
96
  * OptionTree security fix
template/index.php CHANGED
@@ -220,12 +220,10 @@ if( 'off' != $niftylogo ) {
220
 
221
  <?php
222
 
223
- if( !empty($weforms_form) || !empty($weforms_form_enable)){
224
- if(ot_is_weforms_active() && $weforms_form > 0){
225
  echo '<li><section class="large-12 columns">';
226
  echo do_shortcode('[weforms id="'.$weforms_form.'"]');
227
  echo '</li>';
228
- }
229
  } else {
230
 
231
  $nifty_form = ot_get_option( 'enable_sign_up_form' );
@@ -263,7 +261,11 @@ if( 'off' != $niftylogo ) {
263
 
264
  ';
265
  } else {
266
- echo ot_get_option( 'insert_custom_signup_form' );
 
 
 
 
267
  }
268
  }
269
 
220
 
221
  <?php
222
 
223
+ if( ot_is_weforms_active() && !empty($weforms_form) && $weforms_form > 0){
 
224
  echo '<li><section class="large-12 columns">';
225
  echo do_shortcode('[weforms id="'.$weforms_form.'"]');
226
  echo '</li>';
 
227
  } else {
228
 
229
  $nifty_form = ot_get_option( 'enable_sign_up_form' );
261
 
262
  ';
263
  } else {
264
+ echo '<li>
265
+ <section class="large-12 columns"> ';
266
+ echo ot_get_option( 'insert_custom_signup_form' );
267
+ echo '</section>
268
+ </li>';
269
  }
270
  }
271