Version Description
Removed character limit of the contact form's button in the notification bar
Download this release
Release Info
Developer | premiocommit |
Plugin | myStickymenu |
Version | 2.6.1 |
Comparing to | |
See all releases |
Code changes from version 2.6 to 2.6.1
- css/mystickymenu-admin-rtl.css +15 -11
- css/mystickymenu-admin.css +55 -37
- js/mystickymenu-admin.js +0 -11
- mystickymenu.php +2 -2
- readme.txt +6 -3
- welcome-bar.php +1 -1
css/mystickymenu-admin-rtl.css
CHANGED
@@ -3559,13 +3559,17 @@ span.dashicons.dashicons-external {
|
|
3559 |
display: flex;
|
3560 |
width: 240px;
|
3561 |
margin-left: -10px;
|
3562 |
-
min-width:
|
|
|
|
|
3563 |
|
3564 |
.mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed-wrap .mysticky-welcomebar-btn{
|
3565 |
display: block;
|
3566 |
padding-left: 0 !important;
|
3567 |
margin: 0;
|
3568 |
-
order: 4;
|
|
|
|
|
3569 |
/*--------------------------*/
|
3570 |
.mysticky-welcomebar-setting-content label.bagicon{position: relative; display: flex; align-items: center;}
|
3571 |
.mysticky-welcomebar-setting-content label.bagicon::after{position: absolute; content: '';
|
@@ -3587,14 +3591,14 @@ span.dashicons.dashicons-external {
|
|
3587 |
}
|
3588 |
|
3589 |
.mysticky-welcomebar-btn.collect-lead {
|
3590 |
-
width:
|
3591 |
-
max-width: 94px
|
3592 |
}
|
3593 |
|
3594 |
.mysticky-welcomebar-btn.collect-lead a {
|
3595 |
width: 100%;
|
3596 |
-
max-width: 94px;
|
3597 |
-
overflow: hidden
|
3598 |
}
|
3599 |
|
3600 |
|
@@ -3651,7 +3655,7 @@ span.dashicons.dashicons-external {
|
|
3651 |
label.mysticky-welcomebar-switch,
|
3652 |
.mysticky-welcomebar-setting-content-right label.mysticky-welcomebar-switch {width: 48px; height:26px;}
|
3653 |
|
3654 |
-
.mysticky-welcomebar-switch input:checked + .slider:before {transform: translateX(
|
3655 |
|
3656 |
.mysticky-welcomebar-setting-position .mysticky-welcomebar-setting-content-right label:first-child{width: 70px;}
|
3657 |
.mysticky-welcomebar-setting-wrap .mysticky-welcomebar-setting-position .myStickymenu-upgrade {margin-left: -12px;}
|
@@ -3664,10 +3668,10 @@ span.dashicons.dashicons-external {
|
|
3664 |
.timer_datetime_box input.mysticky_welcome_date_time{width:100px !important;}
|
3665 |
|
3666 |
.mysticky-welcomebar-fixed-wrap input.preview-lead-email,
|
3667 |
-
.mysticky-welcomebar-fixed-wrap input.preview-lead-name{min-height: auto; height:
|
3668 |
|
3669 |
.mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed .mysticky-welcomebar-lead-content{margin:0 auto;}
|
3670 |
-
.mysticky-welcomebar-fixed-wrap .mysticky-welcomebar-btn.collect-lead{margin:
|
3671 |
|
3672 |
.mystickymenu-action-popup-footer .btn-enable.btn-nevermind-status{ margin: 10px auto;}
|
3673 |
/* .mystickymenu-action-popup-footer .btn-enable.btn-nevermind-status{padding: 8px 15px !important; margin: 10px auto;} */
|
@@ -3786,8 +3790,8 @@ span.dashicons.dashicons-external {
|
|
3786 |
span.input-px {height: 34px; line-height: 36px; width: 40px;}
|
3787 |
input[type="number"]{min-height: 34px;}
|
3788 |
|
3789 |
-
.mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed .mysticky-welcomebar-lead-content {width: 67%;}
|
3790 |
-
|
3791 |
.mysticky-welcomebar-preview-screen .mysticky-welcomebar-btn.collect-lead a{font-size: 12px;}
|
3792 |
.px-wrap .px-wrap-inbox {width: 43% !important;}
|
3793 |
|
3559 |
display: flex;
|
3560 |
width: 240px;
|
3561 |
margin-left: -10px;
|
3562 |
+
min-width: 74%;
|
3563 |
+
margin-top: 5px;
|
3564 |
+
}
|
3565 |
|
3566 |
.mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed-wrap .mysticky-welcomebar-btn{
|
3567 |
display: block;
|
3568 |
padding-left: 0 !important;
|
3569 |
margin: 0;
|
3570 |
+
order: 4;
|
3571 |
+
margin-top: 5px;
|
3572 |
+
}
|
3573 |
/*--------------------------*/
|
3574 |
.mysticky-welcomebar-setting-content label.bagicon{position: relative; display: flex; align-items: center;}
|
3575 |
.mysticky-welcomebar-setting-content label.bagicon::after{position: absolute; content: '';
|
3591 |
}
|
3592 |
|
3593 |
.mysticky-welcomebar-btn.collect-lead {
|
3594 |
+
width:auto;
|
3595 |
+
/*max-width: 94px;*/
|
3596 |
}
|
3597 |
|
3598 |
.mysticky-welcomebar-btn.collect-lead a {
|
3599 |
width: 100%;
|
3600 |
+
/*max-width: 94px;
|
3601 |
+
overflow: hidden;*/
|
3602 |
}
|
3603 |
|
3604 |
|
3655 |
label.mysticky-welcomebar-switch,
|
3656 |
.mysticky-welcomebar-setting-content-right label.mysticky-welcomebar-switch {width: 48px; height:26px;}
|
3657 |
|
3658 |
+
.mysticky-welcomebar-switch input:checked + .slider:before {transform: translateX(25px);}
|
3659 |
|
3660 |
.mysticky-welcomebar-setting-position .mysticky-welcomebar-setting-content-right label:first-child{width: 70px;}
|
3661 |
.mysticky-welcomebar-setting-wrap .mysticky-welcomebar-setting-position .myStickymenu-upgrade {margin-left: -12px;}
|
3668 |
.timer_datetime_box input.mysticky_welcome_date_time{width:100px !important;}
|
3669 |
|
3670 |
.mysticky-welcomebar-fixed-wrap input.preview-lead-email,
|
3671 |
+
.mysticky-welcomebar-fixed-wrap input.preview-lead-name{min-height: auto; height: 26px;}
|
3672 |
|
3673 |
.mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed .mysticky-welcomebar-lead-content{margin:0 auto;}
|
3674 |
+
.mysticky-welcomebar-fixed-wrap .mysticky-welcomebar-btn.collect-lead{margin:5px auto 0 auto;}
|
3675 |
|
3676 |
.mystickymenu-action-popup-footer .btn-enable.btn-nevermind-status{ margin: 10px auto;}
|
3677 |
/* .mystickymenu-action-popup-footer .btn-enable.btn-nevermind-status{padding: 8px 15px !important; margin: 10px auto;} */
|
3790 |
span.input-px {height: 34px; line-height: 36px; width: 40px;}
|
3791 |
input[type="number"]{min-height: 34px;}
|
3792 |
|
3793 |
+
.mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed .mysticky-welcomebar-lead-content {width: 67%;margin-top: 5px;}
|
3794 |
+
/*.mysticky-welcomebar-preview-screen .mysticky-welcomebar-btn.collect-lead{width: 32%;}*/
|
3795 |
.mysticky-welcomebar-preview-screen .mysticky-welcomebar-btn.collect-lead a{font-size: 12px;}
|
3796 |
.px-wrap .px-wrap-inbox {width: 43% !important;}
|
3797 |
|
css/mystickymenu-admin.css
CHANGED
@@ -2482,34 +2482,49 @@ div#wp-mysticky_bar_text-wrap {
|
|
2482 |
display: inline-block;
|
2483 |
}
|
2484 |
|
2485 |
-
|
2486 |
-
|
2487 |
-
|
2488 |
-
|
2489 |
-
|
2490 |
|
2491 |
-
|
2492 |
-
|
2493 |
-
|
2494 |
-
|
2495 |
-
|
2496 |
-
|
2497 |
-
|
2498 |
-
|
2499 |
-
|
2500 |
|
|
|
|
|
|
|
|
|
2501 |
|
2502 |
-
|
2503 |
-
|
2504 |
-
|
2505 |
-
|
2506 |
-
|
2507 |
-
|
2508 |
-
|
2509 |
-
|
2510 |
-
|
2511 |
-
|
|
|
|
|
|
|
|
|
2512 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2513 |
|
2514 |
@media only screen and (max-width: 767px) {
|
2515 |
.mysticky-welcomebar-fixed.mysticky-welcomebar-showx-desktop .mysticky-welcomebar-close {
|
@@ -3559,11 +3574,13 @@ span.dashicons.dashicons-external {
|
|
3559 |
}
|
3560 |
|
3561 |
.mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed-wrap .mysticky-welcomebar-lead-content{
|
3562 |
-
|
3563 |
-
|
3564 |
-
|
3565 |
-
|
3566 |
-
|
|
|
|
|
3567 |
|
3568 |
.mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed-wrap .mysticky-welcomebar-btn{
|
3569 |
display: block;
|
@@ -3592,17 +3609,18 @@ span.dashicons.dashicons-external {
|
|
3592 |
z-index: 999;
|
3593 |
}
|
3594 |
|
3595 |
-
|
3596 |
width: 100%;
|
3597 |
max-width: 94px;
|
3598 |
-
}
|
3599 |
|
3600 |
.mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed .mysticky-welcomebar-btn.collect-lead a {
|
3601 |
-
width: 100
|
3602 |
-
max-width: 94px;
|
3603 |
-
overflow: hidden
|
3604 |
padding: 5px 12px;
|
3605 |
text-align: center;
|
|
|
3606 |
}
|
3607 |
|
3608 |
|
@@ -3662,7 +3680,7 @@ span.dashicons.dashicons-external {
|
|
3662 |
label.mysticky-welcomebar-switch,
|
3663 |
.mysticky-welcomebar-setting-content-right label.mysticky-welcomebar-switch {width: 48px; height:26px;}
|
3664 |
|
3665 |
-
.mysticky-welcomebar-switch input:checked + .slider:before {transform: translateX(
|
3666 |
|
3667 |
.mysticky-welcomebar-setting-position .mysticky-welcomebar-setting-content-right label:first-child{width: 70px;}
|
3668 |
.mysticky-welcomebar-setting-wrap .mysticky-welcomebar-setting-position .myStickymenu-upgrade {margin-left: -12px;}
|
@@ -3796,8 +3814,8 @@ span.dashicons.dashicons-external {
|
|
3796 |
|
3797 |
.mysticky-welcomebar-setting-content > label {font-size: 14px;}
|
3798 |
|
3799 |
-
.mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed .mysticky-welcomebar-lead-content {width: 67%;}
|
3800 |
-
|
3801 |
.mysticky-welcomebar-preview-screen .mysticky-welcomebar-btn.collect-lead a{font-size: 12px;}
|
3802 |
|
3803 |
.mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed-wrap .mysticky-welcomebar-btn a {padding: 7px 8px !important;}
|
2482 |
display: inline-block;
|
2483 |
}
|
2484 |
|
2485 |
+
.mysticky-welcomebar-fixed .mysticky-welcomebar-btn {
|
2486 |
+
/*padding-left: 30px;*/
|
2487 |
+
margin: 0 15px;
|
2488 |
+
display: none;
|
2489 |
+
}
|
2490 |
|
2491 |
+
.mysticky-welcomebar-fixed .mysticky-welcomebar-close:hover {
|
2492 |
+
opacity: 1;
|
2493 |
+
-webkit-transform: rotate(180deg);
|
2494 |
+
-moz-transform: rotate(180deg);
|
2495 |
+
transform: rotate(180deg);
|
2496 |
+
}
|
2497 |
+
.mysticky-welcomebar-fixed.mysticky-welcomebar-showx-desktop .mysticky-welcomebar-close {
|
2498 |
+
display: inline-block;
|
2499 |
+
}
|
2500 |
|
2501 |
+
.visit_site_link{
|
2502 |
+
text-decoration:none !important;
|
2503 |
+
position:relative;
|
2504 |
+
}
|
2505 |
|
2506 |
+
.visit_site_link::after{
|
2507 |
+
content: '';
|
2508 |
+
width: 100%;
|
2509 |
+
border-bottom: solid 1px #2271b1;
|
2510 |
+
position: absolute;
|
2511 |
+
left: 0;
|
2512 |
+
bottom: 0;
|
2513 |
+
z-index: 1;
|
2514 |
+
height: 1px;
|
2515 |
+
}
|
2516 |
+
|
2517 |
+
@media only screen and (max-width: 1024px) {
|
2518 |
+
.mysticky-welcomebar-fixed {
|
2519 |
+
padding: 0 10px 0 10px;
|
2520 |
}
|
2521 |
+
.mysticky-welcomebar-fixed .mysticky-welcomebar-close {
|
2522 |
+
width: 20px;
|
2523 |
+
height: 20px;
|
2524 |
+
line-height: 20px;
|
2525 |
+
right: 0px;
|
2526 |
+
}
|
2527 |
+
}
|
2528 |
|
2529 |
@media only screen and (max-width: 767px) {
|
2530 |
.mysticky-welcomebar-fixed.mysticky-welcomebar-showx-desktop .mysticky-welcomebar-close {
|
3574 |
}
|
3575 |
|
3576 |
.mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed-wrap .mysticky-welcomebar-lead-content{
|
3577 |
+
order: 2;
|
3578 |
+
display: flex;
|
3579 |
+
width: 240px;
|
3580 |
+
margin-left: -10px;
|
3581 |
+
min-width: 75%;
|
3582 |
+
margin-top: 5px;
|
3583 |
+
}
|
3584 |
|
3585 |
.mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed-wrap .mysticky-welcomebar-btn{
|
3586 |
display: block;
|
3609 |
z-index: 999;
|
3610 |
}
|
3611 |
|
3612 |
+
/*.mysticky-welcomebar-btn.collect-lead {
|
3613 |
width: 100%;
|
3614 |
max-width: 94px;
|
3615 |
+
}*/
|
3616 |
|
3617 |
.mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed .mysticky-welcomebar-btn.collect-lead a {
|
3618 |
+
/*width: 100%;*/
|
3619 |
+
/*max-width: 94px;
|
3620 |
+
overflow: hidden;*/
|
3621 |
padding: 5px 12px;
|
3622 |
text-align: center;
|
3623 |
+
margin-top: 5px;
|
3624 |
}
|
3625 |
|
3626 |
|
3680 |
label.mysticky-welcomebar-switch,
|
3681 |
.mysticky-welcomebar-setting-content-right label.mysticky-welcomebar-switch {width: 48px; height:26px;}
|
3682 |
|
3683 |
+
.mysticky-welcomebar-switch input:checked + .slider:before {transform: translateX(25px);}
|
3684 |
|
3685 |
.mysticky-welcomebar-setting-position .mysticky-welcomebar-setting-content-right label:first-child{width: 70px;}
|
3686 |
.mysticky-welcomebar-setting-wrap .mysticky-welcomebar-setting-position .myStickymenu-upgrade {margin-left: -12px;}
|
3814 |
|
3815 |
.mysticky-welcomebar-setting-content > label {font-size: 14px;}
|
3816 |
|
3817 |
+
.mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed .mysticky-welcomebar-lead-content {width: 67%;margin-top:5px;}
|
3818 |
+
/*.mysticky-welcomebar-preview-screen .mysticky-welcomebar-btn.collect-lead{width: 32%;}*/
|
3819 |
.mysticky-welcomebar-preview-screen .mysticky-welcomebar-btn.collect-lead a{font-size: 12px;}
|
3820 |
|
3821 |
.mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed-wrap .mysticky-welcomebar-btn a {padding: 7px 8px !important;}
|
js/mystickymenu-admin.js
CHANGED
@@ -331,17 +331,6 @@
|
|
331 |
} );
|
332 |
|
333 |
$( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_btn_text]"]' ).on( 'keyup', function(){
|
334 |
-
|
335 |
-
$(".button-input-error").remove();
|
336 |
-
if ( $("#mysticky_welcomebar_btn_text").val().length > 8 ) {
|
337 |
-
$("#mysticky_welcomebar_btn_text").css("border","1px solid #FF424D");
|
338 |
-
$("#mysticky_welcomebar_btn_text").val($("#mysticky_welcomebar_btn_text").val().substr(0, $("#mysticky_welcomebar_btn_text").val().length - 1))
|
339 |
-
|
340 |
-
$( '<p class="button-input-error">max character limit is 8</p>' ).insertAfter( $("#mysticky_welcomebar_btn_text") );
|
341 |
-
return false;
|
342 |
-
}else{
|
343 |
-
$("#mysticky_welcomebar_btn_text").css("border","1px solid #DCE2E2");
|
344 |
-
}
|
345 |
var mysticky_btn_text_val = $( this ).val();
|
346 |
$( '.mysticky-welcomebar-btn a' ).text( mysticky_btn_text_val );
|
347 |
} );
|
331 |
} );
|
332 |
|
333 |
$( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_btn_text]"]' ).on( 'keyup', function(){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
334 |
var mysticky_btn_text_val = $( this ).val();
|
335 |
$( '.mysticky-welcomebar-btn a' ).text( mysticky_btn_text_val );
|
336 |
} );
|
mystickymenu.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: myStickymenu
|
4 |
Plugin URI: https://premio.io/
|
5 |
Description: Simple sticky (fixed on top) menu implementation for navigation menu and Welcome bar for announcements and promotion. After install go to Settings / myStickymenu and change Sticky Class to .your_navbar_class or #your_navbar_id.
|
6 |
-
Version: 2.6
|
7 |
Author: Premio
|
8 |
Author URI: https://premio.io/downloads/mystickymenu/
|
9 |
Text Domain: mystickymenu
|
@@ -12,7 +12,7 @@ License: GPLv2 or later
|
|
12 |
*/
|
13 |
|
14 |
defined('ABSPATH') or die("Cannot access pages directly.");
|
15 |
-
define( 'MYSTICKY_VERSION', '2.6' );
|
16 |
define('MYSTICKYMENU_URL', plugins_url('/', __FILE__)); // Define Plugin URL
|
17 |
define('MYSTICKYMENU_PATH', plugin_dir_path(__FILE__)); // Define Plugin Directory Path
|
18 |
|
3 |
Plugin Name: myStickymenu
|
4 |
Plugin URI: https://premio.io/
|
5 |
Description: Simple sticky (fixed on top) menu implementation for navigation menu and Welcome bar for announcements and promotion. After install go to Settings / myStickymenu and change Sticky Class to .your_navbar_class or #your_navbar_id.
|
6 |
+
Version: 2.6.1
|
7 |
Author: Premio
|
8 |
Author URI: https://premio.io/downloads/mystickymenu/
|
9 |
Text Domain: mystickymenu
|
12 |
*/
|
13 |
|
14 |
defined('ABSPATH') or die("Cannot access pages directly.");
|
15 |
+
define( 'MYSTICKY_VERSION', '2.6.1' );
|
16 |
define('MYSTICKYMENU_URL', plugins_url('/', __FILE__)); // Define Plugin URL
|
17 |
define('MYSTICKYMENU_PATH', plugin_dir_path(__FILE__)); // Define Plugin Directory Path
|
18 |
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
-
===Floating Notification Bar, Sticky Menu on Scroll, Announcement Banner, and Sticky Header for Any Theme - myStickymenu===
|
2 |
Contributors: tomeraharon, galdub, premio
|
3 |
Tags:floating bar, notification bar, menu, header, countdown, sticky menu, sticky header, floating menu, navigation menu, navigation, welcome bar, hello bar, top bar, sticky bar
|
4 |
Requires at least: 3.5.1
|
5 |
-
Tested up to: 6.
|
6 |
-
Stable tag: 2.6
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
|
@@ -350,6 +350,9 @@ After installing the plugin, you’ll have the option to turn on the welcome bar
|
|
350 |
|
351 |
|
352 |
== Changelog ==
|
|
|
|
|
|
|
353 |
= 2.6 =
|
354 |
Add a contact form to your Welcome bar and collect your visitors’ contact information
|
355 |
Pro feature: add a discount coupon code element to your Welcome bar
|
1 |
+
===Floating Notification Bar For Black Friday, Sticky Menu on Scroll, Announcement Banner, and Sticky Header for Any Theme - myStickymenu===
|
2 |
Contributors: tomeraharon, galdub, premio
|
3 |
Tags:floating bar, notification bar, menu, header, countdown, sticky menu, sticky header, floating menu, navigation menu, navigation, welcome bar, hello bar, top bar, sticky bar
|
4 |
Requires at least: 3.5.1
|
5 |
+
Tested up to: 6.1
|
6 |
+
Stable tag: 2.6.1
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
|
350 |
|
351 |
|
352 |
== Changelog ==
|
353 |
+
= 2.6.1 =
|
354 |
+
Removed character limit of the contact form's button in the notification bar
|
355 |
+
|
356 |
= 2.6 =
|
357 |
Add a contact form to your Welcome bar and collect your visitors’ contact information
|
358 |
Pro feature: add a discount coupon code element to your Welcome bar
|
welcome-bar.php
CHANGED
@@ -330,7 +330,7 @@ function mysticky_welcome_bar_backend() {
|
|
330 |
<div class="mysticky-welcomebar-setting-content">
|
331 |
<label><?php _e('Button Text', 'myStickymenu'); ?></label>
|
332 |
<div class="mysticky-welcomebar-setting-content-right welcomebar-text-button">
|
333 |
-
<input type="text" id="mysticky_welcomebar_btn_text" class="mystickyinput mysticky_welcomebar_disable" name="mysticky_option_welcomebar[mysticky_welcomebar_btn_text]" value="<?php echo stripslashes($welcomebar['mysticky_welcomebar_btn_text']);?>"
|
334 |
</div>
|
335 |
</div>
|
336 |
<!-- -->
|
330 |
<div class="mysticky-welcomebar-setting-content">
|
331 |
<label><?php _e('Button Text', 'myStickymenu'); ?></label>
|
332 |
<div class="mysticky-welcomebar-setting-content-right welcomebar-text-button">
|
333 |
+
<input type="text" id="mysticky_welcomebar_btn_text" class="mystickyinput mysticky_welcomebar_disable" name="mysticky_option_welcomebar[mysticky_welcomebar_btn_text]" value="<?php echo stripslashes($welcomebar['mysticky_welcomebar_btn_text']);?>" />
|
334 |
</div>
|
335 |
</div>
|
336 |
<!-- -->
|