Version Description
- Maintenance update
- Fixed missing hex color field in color picker tool
- Fixed small admin menu issue with focus state on Chrome
- Fixed small typo related to transition time
- Small enhancements
Download this release
Release Info
| Developer | ArissDJ |
| Plugin | |
| Version | 1.1.2 |
| Comparing to | |
| See all releases | |
Code changes from version 1.1.1 to 1.1.2
- admin/assets/css/ot-admin.css +2 -2
- admin/assets/images/nifty_ot.png +0 -0
- admin/includes/ot-functions-admin.php +3 -3
- admin/main-options.php +6 -2
- admin/ot-loader.php +1 -1
- nifty-coming-soon.php +6 -3
- readme.txt +6 -0
- template/index.php +0 -42
admin/assets/css/ot-admin.css
CHANGED
|
@@ -1504,7 +1504,7 @@
|
|
| 1504 |
.wrap.settings-wrap .ui-tabs-panel {
|
| 1505 |
clear: both;
|
| 1506 |
}
|
| 1507 |
-
|
| 1508 |
/* --------------------------------------------------
|
| 1509 |
:: Format Settings
|
| 1510 |
---------------------------------------------------*/
|
|
@@ -2504,7 +2504,7 @@ select.option-tree-ui-select option {
|
|
| 2504 |
float: left;
|
| 2505 |
}
|
| 2506 |
.hide-color-picker {
|
| 2507 |
-
|
| 2508 |
}
|
| 2509 |
.option-tree-ui-colorpicker-input-wrap .option-tree-ui-colorpicker-label {
|
| 2510 |
height: 30px;
|
| 1504 |
.wrap.settings-wrap .ui-tabs-panel {
|
| 1505 |
clear: both;
|
| 1506 |
}
|
| 1507 |
+
.wrap.settings-wrap .ui-tabs-nav li a:focus { -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; }
|
| 1508 |
/* --------------------------------------------------
|
| 1509 |
:: Format Settings
|
| 1510 |
---------------------------------------------------*/
|
| 2504 |
float: left;
|
| 2505 |
}
|
| 2506 |
.hide-color-picker {
|
| 2507 |
+
|
| 2508 |
}
|
| 2509 |
.option-tree-ui-colorpicker-input-wrap .option-tree-ui-colorpicker-label {
|
| 2510 |
height: 30px;
|
admin/assets/images/nifty_ot.png
ADDED
|
Binary file
|
admin/includes/ot-functions-admin.php
CHANGED
|
@@ -47,14 +47,14 @@ if ( ! function_exists( 'ot_register_theme_options_page' ) ) {
|
|
| 47 |
array(
|
| 48 |
'id' => 'niftycs_options',
|
| 49 |
'parent_slug' => apply_filters( 'niftycs_options_parent_slug', null ),
|
| 50 |
-
'page_title' => apply_filters( 'niftycs_options_page_title', __( 'Nifty Coming Soon Options', 'option-tree' ) ),
|
| 51 |
'menu_title' => apply_filters( 'niftycs_options_menu_title', __( 'Nifty Options', 'option-tree' ) ),
|
| 52 |
'capability' => $caps = apply_filters( 'niftycs_options_capability', 'edit_theme_options' ),
|
| 53 |
'menu_slug' => apply_filters( 'niftycs_options_menu_slug', 'niftycs-options' ),
|
| 54 |
-
'icon_url' => apply_filters( 'niftycs_options_icon_url',
|
| 55 |
'position' => apply_filters( 'niftycs_options_position', null ),
|
| 56 |
'updated_message' => apply_filters( 'niftycs_options_updated_message', __( 'Nifty Options updated.', 'option-tree' ) ),
|
| 57 |
-
'reset_message' => apply_filters( 'niftycs_options_reset_message', __( 'Nifty Options
|
| 58 |
'button_text' => apply_filters( 'niftycs_options_button_text', __( 'Save Changes', 'option-tree' ) ),
|
| 59 |
'contextual_help' => apply_filters( 'niftycs_options_contextual_help', $contextual_help ),
|
| 60 |
'sections' => apply_filters( 'niftycs_options_sections', $sections ),
|
| 47 |
array(
|
| 48 |
'id' => 'niftycs_options',
|
| 49 |
'parent_slug' => apply_filters( 'niftycs_options_parent_slug', null ),
|
| 50 |
+
'page_title' => apply_filters( 'niftycs_options_page_title', __( 'Nifty Coming Soon, Maintenance and Under Construction Options', 'option-tree' ) ),
|
| 51 |
'menu_title' => apply_filters( 'niftycs_options_menu_title', __( 'Nifty Options', 'option-tree' ) ),
|
| 52 |
'capability' => $caps = apply_filters( 'niftycs_options_capability', 'edit_theme_options' ),
|
| 53 |
'menu_slug' => apply_filters( 'niftycs_options_menu_slug', 'niftycs-options' ),
|
| 54 |
+
'icon_url' => apply_filters( 'niftycs_options_icon_url', OT_URL .'/assets/images/nifty_ot.png' ),
|
| 55 |
'position' => apply_filters( 'niftycs_options_position', null ),
|
| 56 |
'updated_message' => apply_filters( 'niftycs_options_updated_message', __( 'Nifty Options updated.', 'option-tree' ) ),
|
| 57 |
+
'reset_message' => apply_filters( 'niftycs_options_reset_message', __( 'Nifty Options restored to default value.', 'option-tree' ) ),
|
| 58 |
'button_text' => apply_filters( 'niftycs_options_button_text', __( 'Save Changes', 'option-tree' ) ),
|
| 59 |
'contextual_help' => apply_filters( 'niftycs_options_contextual_help', $contextual_help ),
|
| 60 |
'sections' => apply_filters( 'niftycs_options_sections', $sections ),
|
admin/main-options.php
CHANGED
|
@@ -309,7 +309,7 @@ function nifty_cs_custom_theme_options() {
|
|
| 309 |
array(
|
| 310 |
'id' => 'background_slider_animation_time',
|
| 311 |
'label' => 'Enter transition duration time',
|
| 312 |
-
'desc' => 'You can specify the time needed for transition effect to complete. For example, 2000 equals to
|
| 313 |
'std' => '2000',
|
| 314 |
'type' => 'text',
|
| 315 |
'section' => 'design_and_layout',
|
|
@@ -836,7 +836,11 @@ function nifty_cs_custom_theme_options() {
|
|
| 836 |
'desc' => '<h3 class="label">NIFTY COMING SOON - Documentation</strong></h3>
|
| 837 |
|
| 838 |
<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>
|
| 839 |
-
<p>Feel free to get in touch and ask for help
|
|
|
|
|
|
|
|
|
|
|
|
|
| 840 |
<hr>
|
| 841 |
<ul>
|
| 842 |
<li><a href="https://themeadviser.com/nifty-coming-soon/" target="_blank">Official plugin Home page</a></li>
|
| 309 |
array(
|
| 310 |
'id' => 'background_slider_animation_time',
|
| 311 |
'label' => 'Enter transition duration time',
|
| 312 |
+
'desc' => 'You can specify the time needed for transition effect to complete. For example, 2000 equals to 2 seconds.',
|
| 313 |
'std' => '2000',
|
| 314 |
'type' => 'text',
|
| 315 |
'section' => 'design_and_layout',
|
| 836 |
'desc' => '<h3 class="label">NIFTY COMING SOON - Documentation</strong></h3>
|
| 837 |
|
| 838 |
<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>
|
| 839 |
+
<p>Feel free to get in touch and ask for help.
|
| 840 |
+
<h3 class="label">RATE THE PLUGIN WITH 5 STARS</h3>
|
| 841 |
+
<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>
|
| 842 |
+
<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>
|
| 843 |
+
<p>Thanks. :)</p>
|
| 844 |
<hr>
|
| 845 |
<ul>
|
| 846 |
<li><a href="https://themeadviser.com/nifty-coming-soon/" target="_blank">Official plugin Home page</a></li>
|
admin/ot-loader.php
CHANGED
|
@@ -181,7 +181,7 @@ if ( ! class_exists( 'OT_Loader' ) ) {
|
|
| 181 |
/**
|
| 182 |
* Current Version number.
|
| 183 |
*/
|
| 184 |
-
define( 'OT_VERSION', '1.1.
|
| 185 |
|
| 186 |
/**
|
| 187 |
* For developers: Theme mode.
|
| 181 |
/**
|
| 182 |
* Current Version number.
|
| 183 |
*/
|
| 184 |
+
define( 'OT_VERSION', '1.1.2' );
|
| 185 |
|
| 186 |
/**
|
| 187 |
* For developers: Theme mode.
|
nifty-coming-soon.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
/*
|
| 3 |
Plugin Name: Nifty Coming Soon and Maintenance page
|
| 4 |
Plugin URI: https://wordpress.org/plugins/nifty-coming-soon-and-under-construction-page/
|
| 5 |
-
Description: Easy to setup Coming soon, Maintenance and Under Construction page. It features Responsive design, Countdown timer, Animations, Live Preview,
|
| 6 |
Version: 1.1.2
|
| 7 |
Author: Davor Veselinovic
|
| 8 |
Author URI: https://themeadviser.com/
|
|
@@ -63,7 +63,10 @@ color:#F3F3F3 !important;
|
|
| 63 |
#option-tree-header {background:#23282D !important;border-bottom:#79042E solid 8px !important; color:#FFFFFF !important;padding: 5px !important;}
|
| 64 |
#option-tree-header #option-tree-version span {border-left:none !important;}
|
| 65 |
.format-setting-wrap, .option-tree-sortable .format-settings {padding: 10px 0 10px 0 !important;}
|
| 66 |
-
|
|
|
|
|
|
|
|
|
|
| 67 |
</style>';
|
| 68 |
}
|
| 69 |
|
|
@@ -174,7 +177,7 @@ function nifty_cs_get_preview ()
|
|
| 174 |
}
|
| 175 |
}
|
| 176 |
|
| 177 |
-
// Prevent wp-login.php to be blocked by the
|
| 178 |
|
| 179 |
add_action('init','nifty_cs_skip_redirect_on_login');
|
| 180 |
|
| 2 |
/*
|
| 3 |
Plugin Name: Nifty Coming Soon and Maintenance page
|
| 4 |
Plugin URI: https://wordpress.org/plugins/nifty-coming-soon-and-under-construction-page/
|
| 5 |
+
Description: Easy to setup 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.1.2
|
| 7 |
Author: Davor Veselinovic
|
| 8 |
Author URI: https://themeadviser.com/
|
| 63 |
#option-tree-header {background:#23282D !important;border-bottom:#79042E solid 8px !important; color:#FFFFFF !important;padding: 5px !important;}
|
| 64 |
#option-tree-header #option-tree-version span {border-left:none !important;}
|
| 65 |
.format-setting-wrap, .option-tree-sortable .format-settings {padding: 10px 0 10px 0 !important;}
|
| 66 |
+
.wp-not-current-submenu.menu-top.toplevel_page_niftycs-options.menu-top-last:hover {
|
| 67 |
+
background: #80002E !important;
|
| 68 |
+
color: #FFF !important;
|
| 69 |
+
}
|
| 70 |
</style>';
|
| 71 |
}
|
| 72 |
|
| 177 |
}
|
| 178 |
}
|
| 179 |
|
| 180 |
+
// Prevent wp-login.php to be blocked by the Coming soon page.
|
| 181 |
|
| 182 |
add_action('init','nifty_cs_skip_redirect_on_login');
|
| 183 |
|
readme.txt
CHANGED
|
@@ -89,6 +89,12 @@ As from the update of 1.0.9, the plugin offers the way to Live Preview you're Co
|
|
| 89 |
|
| 90 |
== Changelog ==
|
| 91 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 92 |
|
| 93 |
= 1.1.1 =
|
| 94 |
* Fixed timming issue with Vegas slider
|
| 89 |
|
| 90 |
== Changelog ==
|
| 91 |
|
| 92 |
+
= 1.1.2 =
|
| 93 |
+
* Maintenance update
|
| 94 |
+
* Fixed missing hex color field in color picker tool
|
| 95 |
+
* Fixed small admin menu issue with focus state on Chrome
|
| 96 |
+
* Fixed small typo related to transition time
|
| 97 |
+
* Small enhancements
|
| 98 |
|
| 99 |
= 1.1.1 =
|
| 100 |
* Fixed timming issue with Vegas slider
|
template/index.php
CHANGED
|
@@ -332,9 +332,6 @@ Main Coming soon page template
|
|
| 332 |
}
|
| 333 |
|
| 334 |
?>
|
| 335 |
-
|
| 336 |
-
|
| 337 |
-
|
| 338 |
|
| 339 |
|
| 340 |
<script>
|
|
@@ -412,38 +409,19 @@ if ( isset($_POST['email']) && filter_var($_POST['email'], FILTER_VALIDATE_EMAIL
|
|
| 412 |
echo "<script>
|
| 413 |
jQuery(document).ready(function($){
|
| 414 |
$('.tlt').textillate({
|
| 415 |
-
// the default selector to use when detecting multiple texts to animate
|
| 416 |
selector: '.texts',
|
| 417 |
-
|
| 418 |
-
// enable looping
|
| 419 |
loop: true,
|
| 420 |
-
|
| 421 |
-
// sets the minimum display time for each text before it is replaced
|
| 422 |
minDisplayTime: 2500,
|
| 423 |
-
|
| 424 |
-
|
| 425 |
-
// set whether or not to automatically start animating
|
| 426 |
autoStart: true,
|
| 427 |
-
|
| 428 |
-
// custom set of 'out' effects
|
| 429 |
outEffects: [ 'bounceOut' ],
|
| 430 |
|
| 431 |
// in animation settings
|
| 432 |
in: {
|
| 433 |
// set the effect name
|
| 434 |
effect: 'fadeIn',
|
| 435 |
-
|
| 436 |
-
// set the delay factor applied to each consecutive character
|
| 437 |
delayScale: 1.5,
|
| 438 |
-
|
| 439 |
-
// set the delay between each character
|
| 440 |
delay: 50,
|
| 441 |
-
|
| 442 |
-
// set to true to animate all the characters at the same time
|
| 443 |
sync: false,
|
| 444 |
-
|
| 445 |
-
// randomize the character sequence
|
| 446 |
-
// (note that shuffle doesn't make sense with sync = true)
|
| 447 |
shuffle: true
|
| 448 |
},
|
| 449 |
|
|
@@ -463,38 +441,18 @@ if ( isset($_POST['email']) && filter_var($_POST['email'], FILTER_VALIDATE_EMAIL
|
|
| 463 |
echo "<script>
|
| 464 |
jQuery(document).ready(function($){
|
| 465 |
$('.tlt').textillate({
|
| 466 |
-
// the default selector to use when detecting multiple texts to animate
|
| 467 |
selector: '.texts',
|
| 468 |
-
|
| 469 |
-
// enable looping
|
| 470 |
loop: true,
|
| 471 |
-
|
| 472 |
-
// sets the minimum display time for each text before it is replaced
|
| 473 |
minDisplayTime: 2500,
|
| 474 |
-
|
| 475 |
-
|
| 476 |
-
// set whether or not to automatically start animating
|
| 477 |
autoStart: true,
|
| 478 |
-
|
| 479 |
-
// custom set of 'out' effects
|
| 480 |
outEffects: [ 'bounceOut' ],
|
| 481 |
|
| 482 |
// in animation settings
|
| 483 |
in: {
|
| 484 |
-
// set the effect name
|
| 485 |
effect: 'none',
|
| 486 |
-
|
| 487 |
-
// set the delay factor applied to each consecutive character
|
| 488 |
delayScale: 1.5,
|
| 489 |
-
|
| 490 |
-
// set the delay between each character
|
| 491 |
delay: 50,
|
| 492 |
-
|
| 493 |
-
// set to true to animate all the characters at the same time
|
| 494 |
sync: false,
|
| 495 |
-
|
| 496 |
-
// randomize the character sequence
|
| 497 |
-
// (note that shuffle doesn't make sense with sync = true)
|
| 498 |
shuffle: true
|
| 499 |
},
|
| 500 |
|
| 332 |
}
|
| 333 |
|
| 334 |
?>
|
|
|
|
|
|
|
|
|
|
| 335 |
|
| 336 |
|
| 337 |
<script>
|
| 409 |
echo "<script>
|
| 410 |
jQuery(document).ready(function($){
|
| 411 |
$('.tlt').textillate({
|
|
|
|
| 412 |
selector: '.texts',
|
|
|
|
|
|
|
| 413 |
loop: true,
|
|
|
|
|
|
|
| 414 |
minDisplayTime: 2500,
|
|
|
|
|
|
|
|
|
|
| 415 |
autoStart: true,
|
|
|
|
|
|
|
| 416 |
outEffects: [ 'bounceOut' ],
|
| 417 |
|
| 418 |
// in animation settings
|
| 419 |
in: {
|
| 420 |
// set the effect name
|
| 421 |
effect: 'fadeIn',
|
|
|
|
|
|
|
| 422 |
delayScale: 1.5,
|
|
|
|
|
|
|
| 423 |
delay: 50,
|
|
|
|
|
|
|
| 424 |
sync: false,
|
|
|
|
|
|
|
|
|
|
| 425 |
shuffle: true
|
| 426 |
},
|
| 427 |
|
| 441 |
echo "<script>
|
| 442 |
jQuery(document).ready(function($){
|
| 443 |
$('.tlt').textillate({
|
|
|
|
| 444 |
selector: '.texts',
|
|
|
|
|
|
|
| 445 |
loop: true,
|
|
|
|
|
|
|
| 446 |
minDisplayTime: 2500,
|
|
|
|
|
|
|
|
|
|
| 447 |
autoStart: true,
|
|
|
|
|
|
|
| 448 |
outEffects: [ 'bounceOut' ],
|
| 449 |
|
| 450 |
// in animation settings
|
| 451 |
in: {
|
|
|
|
| 452 |
effect: 'none',
|
|
|
|
|
|
|
| 453 |
delayScale: 1.5,
|
|
|
|
|
|
|
| 454 |
delay: 50,
|
|
|
|
|
|
|
| 455 |
sync: false,
|
|
|
|
|
|
|
|
|
|
| 456 |
shuffle: true
|
| 457 |
},
|
| 458 |
|
