Version Description
Better instructions for the sticky menu feature & explainer video
Download this release
Release Info
Developer | galdub |
Plugin | myStickymenu |
Version | 2.5 |
Comparing to | |
See all releases |
Code changes from version 2.4.9 to 2.5
- css/admin-setting.css +1 -1
- css/mystickymenu-admin.css +13 -0
- js/iris-script.js +22 -0
- js/mystickymenu-admin.js +2 -2
- mystickymenu.php +47 -43
- readme.txt +29 -28
- recommended-plugins.php +1 -1
- update.php +244 -0
- upgrade-to-pro.php +3 -0
- welcome-bar.php +1 -1
css/admin-setting.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
@import url(https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap);*,:after,:before{box-sizing:border-box}#wpwrap{background:#6572db;background:-moz-linear-gradient(-45deg,#6572db 0,#ee86c6 67%,#ee86c6 100%);background:-webkit-gradient(left top,right bottom,color-stop(0,#6572db),color-stop(67%,#ee86c6),color-stop(100%,#ee86c6));background:-webkit-linear-gradient(-45deg,#6572db 0,#ee86c6 67%,#ee86c6 100%);background:-o-linear-gradient(-45deg,#6572db 0,#ee86c6 67%,#ee86c6 100%);background:-ms-linear-gradient(-45deg,#6572db 0,#ee86c6 67%,#ee86c6 100%);background:linear-gradient(135deg,#6572db 0,#ee86c6 67%,#ee86c6 100%)}.pricing-table{margin:0 0 45px;color:#28375a;font-size:16px;line-height:25px;font-family:Lato,sans-serif}.price-title{font-weight:700;font-size:24px;line-height:30px;color:#28375a;text-align:center}.price-table{background:#fff;box-sizing:border-box;border-radius:10px}.price-table-top{padding:20px;position:relative;border-radius:10px}.price-table.basic-feature{box-shadow:0 12px 44px rgba(108,203,255,.2);border:2px solid #b9eafd}.price-table.basic-feature .price-table-top{background:url(../images/basic-price-bg.png) no-repeat left top}.price-table.plus-feature{border:2px solid #f9d9bd;box-shadow:0 12px 44px rgba(239,140,106,.2)}.price-table.plus-feature .price-table-top{background:url(../images/plus-price.png) no-repeat left top}.price-table.agency-feature{border:2px solid #cfd3fb;box-shadow:0 12px 44px rgba(96,93,236,.2)}.price-table.agency-feature .price-table-top{background:url(../images/agency-price.png) no-repeat left top}.price-tables{margin:30px 0 50px}.plan-name{font-size:30px;line-height:36px;font-weight:700;color:#28375a}.plan-price{position:absolute;right:18px;top:8px;font-weight:700;font-size:60px;line-height:72px;color:#42b9fa}.price-table.plus-feature .plan-price{color:#ef8c6a}.price-table.agency-feature .plan-price{color:#605dec}.price-table.agency-feature .plan-name{color:#fff}.price-head{line-height:72px;padding:5px 0 25px 0}.price-offer,.price-websites{line-height:18px;font-size:15px}.cus-tooltip{cursor:pointer;display:inline-block;position:relative}.cus-tooltip .tooltip__content{background-color:#1849ab;border-radius:4px;bottom:150%;color:#fff;left:0;margin-left:15px;opacity:0;padding:5px 10px;position:absolute;transition:opacity .25s;visibility:hidden;width:auto;z-index:1;text-align:left;margin-right:15px;font-size:14px;line-height:20px}.cus-tooltip .tooltip__content::after{border-width:5px;border-style:solid;border-color:#1849ab transparent transparent transparent;content:"";left:25px;margin-left:-5px;position:absolute;top:100%}.cus-tooltip:hover .tooltip__content{opacity:1;visibility:visible}.price-table-middle ul{list-style:none;margin:0;padding:0}.price-table-middle ul li{display:block;width:100%;border-bottom:solid 1px #e9e9e9;padding:15px 0;margin:0}.price-table-middle ul li a{padding:0 15px;color:#28375a;font-size:16px;line-height:19px;display:block;text-decoration:none}span.has-tooltip{color:#605dec}.price-table-bottom{padding:15px}.custom-dd-btn{background:#fff;border:1px solid #e9e9e9;border-radius:6px;height:40px;line-height:40px;width:100%;text-align:left;padding:0 15px}.custom-dd{margin-bottom:15px}.price-table-bottom a{background:#fff;border:1px solid #42b9fa;color:#42b9fa;border-radius:20px;height:40px;line-height:38px;padding:0 15px;display:block;text-align:center;transition:all .25s linear}.price-table-bottom a:hover{color:#fff;background:#42b9fa}.price-table.plus-feature .price-table-bottom a{background:#ef8c6a;border:1px solid #ef8c6a;color:#fff}.price-table.plus-feature .price-table-bottom a:hover{background:#fff;color:#ef8c6a}.price-table.agency-feature .price-table-bottom a{background:#fff;border:1px solid #605dec;color:#605dec}.price-table.agency-feature .price-table-bottom a:hover{background:#605dec;color:#fff}.container{max-width:1180px;width:100%;padding:30px;background:#fff;border-radius:15px;margin:50px auto}.row{margin-right:-15px;margin-left:-15px}.col-md-4{padding-right:15px;padding-left:15px;width:33.33333333%;float:left}.select2-container--default .select2-selection--single{background:#fff;border:1px solid #e9e9e9;border-radius:6px;height:40px;line-height:40px;width:100%;text-align:left;padding:0 15px;outline:0}span.select2.select2-container{width:100%!important}.website-package{padding:0 15px;line-height:18px}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:#fff}.website-package .select2-container--default .select2-results>.select2-results__options{margin-top:5px}.custom-dd .select2-container--default .select2-selection--single .select2-selection__arrow{height:20px;top:10px;right:1px;width:20px}@media (min-width:768px){.col-sm-4{width:100%;float:none}}a,a:focus,a:hover{text-decoration:none}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:38px}.select2-results__option{user-select:none;-webkit-user-select:none;font-size:14px;padding:8px 25px;margin:0}.select2-dropdown{border:1px solid #e9e9e9}.price-after{padding:0;text-align:center;font-size:16px;line-height:25px;font-family:Lato,sans-serif}.price-after p,.price-after span{font-size:16px;line-height:25px;margin:0;padding:0}.clearfix{clear:both}.price-after span{display:inline-block;vertical-align:text-top;font-size:20px;color:#42b9fa}.payments{padding:20px 0 10px}.folder-testimonial-list{width:100%;margin:30px auto 0;font-family:Lato,sans-serif}.folder-testimonial{position:relative}.folder-testimonial .testimonial-image{position:absolute;height:60px;width:60px;top:50%;margin-top:-30px;z-index:1;overflow:hidden;border-radius:30px}.folder-testimonial .testimonial-image img{width:100%;height:auto}.folder-testimonial .testimonial-data{position:relative;margin-left:30px;font-size:16px;line-height:22px;padding:10px 10px 10px 40px;background:#f5f5f5;border-radius:4px}.testimonial-title{font-weight:700;font-size:18px;padding:0 0 5px}.testimonial-author{font-size:16px;font-style:italic;font-weight:500;padding:5px 0 0}.plan-price span{font-size:16px;color:#28375a}.price-table-middle{margin-top:
|
1 |
+
@import url(https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap);*,:after,:before{box-sizing:border-box}#wpwrap{background:#6572db;background:-moz-linear-gradient(-45deg,#6572db 0,#ee86c6 67%,#ee86c6 100%);background:-webkit-gradient(left top,right bottom,color-stop(0,#6572db),color-stop(67%,#ee86c6),color-stop(100%,#ee86c6));background:-webkit-linear-gradient(-45deg,#6572db 0,#ee86c6 67%,#ee86c6 100%);background:-o-linear-gradient(-45deg,#6572db 0,#ee86c6 67%,#ee86c6 100%);background:-ms-linear-gradient(-45deg,#6572db 0,#ee86c6 67%,#ee86c6 100%);background:linear-gradient(135deg,#6572db 0,#ee86c6 67%,#ee86c6 100%)}.pricing-table{margin:0 0 45px;color:#28375a;font-size:16px;line-height:25px;font-family:Lato,sans-serif}.price-title{font-weight:700;font-size:24px;line-height:30px;color:#28375a;text-align:center}.price-table{background:#fff;box-sizing:border-box;border-radius:10px;position:relative}.price-table-top{padding:20px;position:relative;border-radius:10px}.price-table.basic-feature{box-shadow:0 12px 44px rgba(108,203,255,.2);border:2px solid #b9eafd}.price-table.basic-feature .price-table-top{background:url(../images/basic-price-bg.png) no-repeat left top}.price-table.plus-feature{border:2px solid #f9d9bd;box-shadow:0 12px 44px rgba(239,140,106,.2)}.price-table.plus-feature .price-table-top{background:url(../images/plus-price.png) no-repeat left top}.price-table.agency-feature{border:2px solid #cfd3fb;box-shadow:0 12px 44px rgba(96,93,236,.2)}.price-table.agency-feature .price-table-top{background:url(../images/agency-price.png) no-repeat left top}.price-tables{margin:30px 0 50px}.plan-name{font-size:30px;line-height:36px;font-weight:700;color:#28375a}.plan-price{position:absolute;right:18px;top:8px;font-weight:700;font-size:60px;line-height:72px;color:#42b9fa}.price-table.plus-feature .plan-price{color:#ef8c6a}.price-table.agency-feature .plan-price{color:#605dec}.price-table.agency-feature .plan-name{color:#fff}.price-head{line-height:72px;padding:5px 0 25px 0}.price-offer,.price-websites{line-height:18px;font-size:15px}.cus-tooltip{cursor:pointer;display:inline-block;position:relative}.cus-tooltip .tooltip__content{background-color:#1849ab;border-radius:4px;bottom:150%;color:#fff;left:0;margin-left:15px;opacity:0;padding:5px 10px;position:absolute;transition:opacity .25s;visibility:hidden;width:auto;z-index:1;text-align:left;margin-right:15px;font-size:14px;line-height:20px}.cus-tooltip .tooltip__content::after{border-width:5px;border-style:solid;border-color:#1849ab transparent transparent transparent;content:"";left:25px;margin-left:-5px;position:absolute;top:100%}.cus-tooltip:hover .tooltip__content{opacity:1;visibility:visible}.price-table-middle ul{list-style:none;margin:0;padding:0}.price-table-middle ul li{display:block;width:100%;border-bottom:solid 1px #e9e9e9;padding:15px 0;margin:0}.price-table-middle ul li a{padding:0 15px;color:#28375a;font-size:16px;line-height:19px;display:block;text-decoration:none}span.has-tooltip{color:#605dec}.price-table-bottom{padding:15px}.price-table.is-fixed{padding-bottom:140px;position:relative}.price-table.is-fixed .price-table-bottom{position:fixed;left:0;width:100%;border-top:solid 2px #e9e9e9;background:#fff}.bottom-position{position:absolute;left:0;bottom:0;height:1px;width:1px}.custom-dd-btn{background:#fff;border:1px solid #e9e9e9;border-radius:6px;height:40px;line-height:40px;width:100%;text-align:left;padding:0 15px}.custom-dd{margin-bottom:15px}.price-table-bottom a{background:#fff;border:1px solid #42b9fa;color:#42b9fa;border-radius:20px;height:40px;line-height:38px;padding:0 15px;display:block;text-align:center;transition:all .25s linear}.price-table-bottom a:hover{color:#fff;background:#42b9fa}.price-table.plus-feature .price-table-bottom a{background:#ef8c6a;border:1px solid #ef8c6a;color:#fff}.price-table.plus-feature .price-table-bottom a:hover{background:#fff;color:#ef8c6a}.price-table.agency-feature .price-table-bottom a{background:#fff;border:1px solid #605dec;color:#605dec}.price-table.agency-feature .price-table-bottom a:hover{background:#605dec;color:#fff}.container{max-width:1180px;width:100%;padding:30px;background:#fff;border-radius:15px;margin:50px auto}.row{margin-right:-15px;margin-left:-15px}.col-md-4{padding-right:15px;padding-left:15px;width:33.33333333%;float:left}.select2-container--default .select2-selection--single{background:#fff;border:1px solid #e9e9e9;border-radius:6px;height:40px;line-height:40px;width:100%;text-align:left;padding:0 15px;outline:0}span.select2.select2-container{width:100%!important}.website-package{padding:0 15px;line-height:18px}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:#fff}.website-package .select2-container--default .select2-results>.select2-results__options{margin-top:5px}.custom-dd .select2-container--default .select2-selection--single .select2-selection__arrow{height:20px;top:10px;right:1px;width:20px}@media (min-width:768px){.col-sm-4{width:100%;float:none}}a,a:focus,a:hover{text-decoration:none}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:38px}.select2-results__option{user-select:none;-webkit-user-select:none;font-size:14px;padding:8px 25px;margin:0}.select2-dropdown{border:1px solid #e9e9e9}.price-after{padding:0;text-align:center;font-size:16px;line-height:25px;font-family:Lato,sans-serif}.price-after p,.price-after span{font-size:16px;line-height:25px;margin:0;padding:0}.clearfix{clear:both}.price-after span{display:inline-block;vertical-align:text-top;font-size:20px;color:#42b9fa}.payments{padding:20px 0 10px}.folder-testimonial-list{width:100%;margin:30px auto 0;font-family:Lato,sans-serif}.folder-testimonial{position:relative}.folder-testimonial .testimonial-image{position:absolute;height:60px;width:60px;top:50%;margin-top:-30px;z-index:1;overflow:hidden;border-radius:30px}.folder-testimonial .testimonial-image img{width:100%;height:auto}.folder-testimonial .testimonial-data{position:relative;margin-left:30px;font-size:16px;line-height:22px;padding:10px 10px 10px 40px;background:#f5f5f5;border-radius:4px}.testimonial-title{font-weight:700;font-size:18px;padding:0 0 5px}.testimonial-author{font-size:16px;font-style:italic;font-weight:500;padding:5px 0 0}.plan-price span{font-size:16px;color:#28375a}.price-table-middle{margin-top:21px}.agency-feature .price-table-middle{margin-top:0}.website-package .select2-container--default .select2-selection--single{border:1px solid #6156f6;box-shadow:0 12px 44px rgba(96,93,236,.2)}.website-package .select2-container--default .select2-selection--single .select2-selection__rendered{color:#6156f6}.website-package .select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#6156f6 transparent transparent transparent}.website-package .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #6156f6 transparent;border-width:0 4px 5px 4px}.folders-tabs{max-width:inherit}.basic-feature .price-table-bottom .select2-container--default .select2-selection--single{border:1px solid #42b9fa;box-shadow:0 12px 44px rgba(66,182,250,.2)}.basic-feature .select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#42b9fa transparent transparent transparent}.plus-feature .price-table-bottom .select2-container--default .select2-selection--single{border:1px solid #ef8c6a;box-shadow:0 12px 44px rgba(239,140,106,.2)}.plus-feature .select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#ef8c6a transparent transparent transparent}.agency-feature .price-table-bottom .select2-container--default .select2-selection--single{border:1px solid #6156f6;box-shadow:0 12px 44px rgba(96,93,236,.2)}.agency-feature .select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#6156f6 transparent transparent transparent}.basic-feature.price-table.is-fixed .price-table-bottom{border-color:#b9eafd}.plus-feature.price-table.is-fixed .price-table-bottom{border-color:#f9d9bd}.agency-feature.price-table.is-fixed .price-table-bottom{border-color:#cfd3fb}@media (max-width:1320px){.plan-price{font-size:50px;line-height:64px}}@media (max-width:1200px){.plan-price{font-size:40px;line-height:54px}}@media (max-width:1100px){.plan-name{font-size:24px;line-height:36px}}@media (max-width:1024px){.plan-price{font-size:30px;line-height:54px;top:15px}}@media (max-width:920px){.col-md-4{padding-left:5px;padding-right:5px}}@media (max-width:840px){.col-md-4{padding:0;width:auto;margin:0 auto 30px;float:none;padding-left:15px;padding-right:15px}.plan-price{font-size:50px;line-height:64px}.price-table.is-fixed{padding-bottom:15px;position:relative}.price-table.is-fixed .price-table-bottom{position:relative;left:0;width:100%;border-top:none;background:#fff;top:auto!important;left:auto!important;width:100%!important}}
|
css/mystickymenu-admin.css
CHANGED
@@ -513,7 +513,20 @@ ul.mystickymenu-input-multicheckbox li span {
|
|
513 |
Â
td {
|
514 |
Â
vertical-align: top !important;
|
515 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
516 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
517 |
Â
p.description {
|
518 |
Â
color: rgba(79, 79, 79, 0.5);
|
519 |
Â
font-size: 12px;
|
513 |
Â
td {
|
514 |
Â
vertical-align: top !important;
|
515 |
Â
}
|
516 |
+
p.description.mystuckymenu-class-id {
|
517 |
+
display: flex;
|
518 |
+
margin: 12px 0 0 0;
|
519 |
+
line-height: 1.5;
|
520 |
+
}
|
521 |
Â
|
522 |
+
p.description.mystuckymenu-class-id .dashicons-controls-play{
|
523 |
+
background: #a4a5a5;
|
524 |
+
color: #ffffff;
|
525 |
+
border-radius: 50%;
|
526 |
+
}
|
527 |
+
p.description.mystuckymenu-class-id .dashicons-controls-play::before {
|
528 |
+
margin-left: 2px;
|
529 |
+
}
|
530 |
Â
p.description {
|
531 |
Â
color: rgba(79, 79, 79, 0.5);
|
532 |
Â
font-size: 12px;
|
js/iris-script.js
CHANGED
@@ -56,4 +56,26 @@ jQuery(document).ready(function($){
|
|
56 |
Â
if(jQuery(".multiple-options.has-multiple-websites").length) {
|
57 |
Â
jQuery(".multiple-options.has-multiple-websites").trigger("change");
|
58 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
59 |
Â
});
|
56 |
Â
if(jQuery(".multiple-options.has-multiple-websites").length) {
|
57 |
Â
jQuery(".multiple-options.has-multiple-websites").trigger("change");
|
58 |
Â
}
|
59 |
+
checkForPricingPos();
|
60 |
+
jQuery(window).on("scroll", function(){
|
61 |
+
checkForPricingPos();
|
62 |
+
});
|
63 |
+
|
64 |
+
jQuery(window).on("resize", function(){
|
65 |
+
checkForPricingPos();
|
66 |
+
});
|
67 |
+
function checkForPricingPos() {
|
68 |
+
jQuery(".bottom-position").each(function(){
|
69 |
+
console.log(jQuery(this).offset().top - jQuery(window).scrollTop() - jQuery(window).height());
|
70 |
+
if( jQuery(this).offset().top - jQuery(window).scrollTop() - jQuery(window).height() < -3) {
|
71 |
+
jQuery(this).closest(".price-table").removeClass("is-fixed");
|
72 |
+
jQuery(this).closest(".price-table").find(".price-table-bottom").prop("style", "");
|
73 |
+
} else {
|
74 |
+
jQuery(this).closest(".price-table").addClass("is-fixed");
|
75 |
+
jQuery(this).closest(".price-table").find(".price-table-bottom").css("top", (jQuery(window).height() - 125 )+"px");
|
76 |
+
jQuery(this).closest(".price-table").find(".price-table-bottom").css("left", jQuery(this).offset().left+"px");
|
77 |
+
jQuery(this).closest(".price-table").find(".price-table-bottom").outerWidth(jQuery(this).closest(".price-table").width());
|
78 |
+
}
|
79 |
+
});
|
80 |
+
}
|
81 |
Â
});
|
js/mystickymenu-admin.js
CHANGED
@@ -3,12 +3,12 @@
|
|
3 |
Â
|
4 |
Â
jQuery(document).ready(function($){
|
5 |
Â
|
6 |
-
$(document).on("click", ".updates-
|
7 |
Â
var updateStatus = 0;
|
8 |
Â
if($(this).hasClass("yes")) {
|
9 |
Â
updateStatus = 1;
|
10 |
Â
}
|
11 |
-
$(".updates-
|
12 |
Â
$.ajax({
|
13 |
Â
url: ajaxurl,
|
14 |
Â
data: "action=sticky_menu_update_status&status="+updateStatus+"&nonce="+$("#myStickymenu_update_nonce").val()+"&email="+$("#myStickymenu_update_email").val(),
|
3 |
Â
|
4 |
Â
jQuery(document).ready(function($){
|
5 |
Â
|
6 |
+
$(document).on("click", ".updates-form button", function(){
|
7 |
Â
var updateStatus = 0;
|
8 |
Â
if($(this).hasClass("yes")) {
|
9 |
Â
updateStatus = 1;
|
10 |
Â
}
|
11 |
+
$(".updates-form button").attr("disabled", true);
|
12 |
Â
$.ajax({
|
13 |
Â
url: ajaxurl,
|
14 |
Â
data: "action=sticky_menu_update_status&status="+updateStatus+"&nonce="+$("#myStickymenu_update_nonce").val()+"&email="+$("#myStickymenu_update_email").val(),
|
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.
|
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.
|
16 |
Â
define('MYSTICKYMENU_URL', plugins_url('/', __FILE__)); // Define Plugin URL
|
17 |
Â
define('MYSTICKYMENU_PATH', plugin_dir_path(__FILE__)); // Define Plugin Directory Path
|
18 |
Â
|
@@ -65,7 +65,7 @@ class MyStickyMenuBackend
|
|
65 |
Â
$handle = curl_init();
|
66 |
Â
curl_setopt($handle, CURLOPT_URL, $url);
|
67 |
Â
curl_setopt($handle, CURLOPT_RETURNTRANSFER, true);
|
68 |
-
$response = curl_exec($handle);
|
69 |
Â
curl_close($handle);
|
70 |
Â
}
|
71 |
Â
}
|
@@ -74,8 +74,8 @@ class MyStickyMenuBackend
|
|
74 |
Â
}
|
75 |
Â
|
76 |
Â
public function mystickymenu_settings_link($links){
|
77 |
-
$settings_link = '<a href="admin.php?page=my-stickymenu-
|
78 |
-
$links['go_pro'] = '<a href="'.admin_url("admin.php?page=my-stickymenu-
|
79 |
Â
array_unshift($links, $settings_link);
|
80 |
Â
return $links;
|
81 |
Â
}
|
@@ -90,7 +90,7 @@ class MyStickyMenuBackend
|
|
90 |
Â
if($option === false) {
|
91 |
Â
add_option("mystickymenu_intro_box", "show");
|
92 |
Â
}
|
93 |
-
wp_redirect( admin_url( 'admin.php?page=my-stickymenu-
|
94 |
Â
exit;
|
95 |
Â
}
|
96 |
Â
}
|
@@ -142,36 +142,40 @@ class MyStickyMenuBackend
|
|
142 |
Â
'Settings Admin',
|
143 |
Â
'myStickymenu',
|
144 |
Â
'manage_options',
|
145 |
-
'my-stickymenu-
|
146 |
-
array( $this, '
|
147 |
-
);
|
148 |
-
add_submenu_page(
|
149 |
-
'my-stickymenu-settings',
|
150 |
-
'Settings Admin',
|
151 |
-
'Settings',
|
152 |
-
'manage_options',
|
153 |
-
'my-stickymenu-settings',
|
154 |
-
array( $this, 'create_admin_page' )
|
155 |
Â
);
|
156 |
Â
add_submenu_page(
|
157 |
-
'my-stickymenu-
|
158 |
Â
'Settings Admin',
|
159 |
Â
'Welcome Bar',
|
160 |
Â
'manage_options',
|
161 |
Â
'my-stickymenu-welcomebar',
|
162 |
Â
array( $this, 'mystickystickymenu_admin_welcomebar_page' )
|
163 |
Â
);
|
Â
|
|
164 |
Â
add_submenu_page(
|
165 |
-
'my-stickymenu-
|
166 |
Â
'Settings Admin',
|
167 |
Â
'+ Create New Welcome Bar',
|
168 |
Â
'manage_options',
|
169 |
Â
'my-stickymenu-new-welcomebar',
|
170 |
Â
array( $this, 'mystickystickymenu_admin_new_welcomebar_page' )
|
171 |
Â
);
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
172 |
Â
if ( !$hide_msmrecommended_plugin){
|
173 |
Â
add_submenu_page(
|
174 |
-
'my-stickymenu-
|
175 |
Â
'msm-recommended-plugins',
|
176 |
Â
'Recommended Plugins',
|
177 |
Â
'manage_options',
|
@@ -180,7 +184,7 @@ class MyStickyMenuBackend
|
|
180 |
Â
);
|
181 |
Â
}
|
182 |
Â
add_submenu_page(
|
183 |
-
'my-stickymenu-
|
184 |
Â
'Upgrade to Pro',
|
185 |
Â
'Upgrade to Pro',
|
186 |
Â
'manage_options',
|
@@ -218,24 +222,10 @@ class MyStickyMenuBackend
|
|
218 |
Â
$pro_url = "https://go.premio.io/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=";
|
219 |
Â
|
220 |
Â
$is_shown = get_option("mystickymenu_update_message");
|
221 |
-
if($is_shown == 1) {
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
Would you like to get feature updates for myStickymenu in real-time?
|
226 |
-
</div>
|
227 |
-
<div class="folder-form-input">
|
228 |
-
<input id="myStickymenu_update_email" autocomplete="off" value="<?php echo get_option( 'admin_email' ) ?>" placeholder="Email address">
|
229 |
-
</div>
|
230 |
-
<div class="updates-content-buttons">
|
231 |
-
<button href="javascript:;" class="button button-primary form-submit-btn yes">Yes, I want</button>
|
232 |
-
<button href="javascript:;" class="button button-secondary form-cancel-btn no">Skip</button>
|
233 |
-
<div style="clear: both"></div>
|
234 |
-
</div>
|
235 |
-
<input type="hidden" id="myStickymenu_update_nonce" value="<?php echo wp_create_nonce("myStickymenu_update_nonce") ?>">
|
236 |
-
</div>
|
237 |
-
</div>
|
238 |
-
<?php } else {
|
239 |
Â
|
240 |
Â
$option = get_option("mystickymenu_intro_box");
|
241 |
Â
if($option == "show") {
|
@@ -257,8 +247,9 @@ class MyStickyMenuBackend
|
|
257 |
Â
<div id="mystickymenu" class="wrap mystickymenu">
|
258 |
Â
<div class="sticky-header-menu">
|
259 |
Â
<ul>
|
260 |
-
<li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-settings' ) ?>" class="active" ><?php _e('Sticky Menu', 'mystickymenu'); ?></a></li>
|
261 |
Â
<li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-welcomebar' ) ?>" ><?php _e('Welcome Bar', 'mystickymenu'); ?></a></li>
|
Â
|
|
Â
|
|
262 |
Â
<li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-upgrade' ) ?>"><?php _e('Upgrade to Pro', 'mystickymenu'); ?></a></li>
|
263 |
Â
</ul>
|
264 |
Â
</div>
|
@@ -322,8 +313,13 @@ class MyStickyMenuBackend
|
|
322 |
Â
</select>
|
323 |
Â
|
324 |
Â
<input type="text" size="18" id="mysticky_class_selector" class="mystickyinput" name="mysticky_option_name[mysticky_class_selector]" value="<?php echo $mysticky_options['mysticky_class_selector'];?>" />
|
325 |
-
|
326 |
-
<p class="description
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
327 |
Â
</td>
|
328 |
Â
<td>
|
329 |
Â
<div class="mysticky_device_upgrade">
|
@@ -692,6 +688,14 @@ class MyStickyMenuBackend
|
|
692 |
Â
}
|
693 |
Â
|
694 |
Â
public function mystickystickymenu_admin_welcomebar_page() {
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
695 |
Â
/* welcome bar save data */
|
696 |
Â
if (isset($_POST['mysticky_option_welcomebar']) && !empty($_POST['mysticky_option_welcomebar']) && isset($_POST['nonce'])) {
|
697 |
Â
if(!empty($_POST['nonce']) && wp_verify_nonce($_POST['nonce'], 'mysticky_option_welcomebar_update')) {
|
@@ -746,8 +750,8 @@ class MyStickyMenuBackend
|
|
746 |
Â
<div id="mystickymenu" class="wrap mystickymenu">
|
747 |
Â
<div class="sticky-header-menu">
|
748 |
Â
<ul>
|
749 |
-
<li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-settings' ) ?>"><?php _e('Sticky Menu', 'mystickymenu'); ?></a></li>
|
750 |
Â
<li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-welcomebar' ) ?>" class="active" ><?php _e('Welcome Bar', 'mystickymenu'); ?></a></li>
|
Â
|
|
751 |
Â
<li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-upgrade' ) ?>"><?php _e('Upgrade to Pro', 'mystickymenu'); ?></a></li>
|
752 |
Â
</ul>
|
753 |
Â
</div>
|
@@ -778,8 +782,8 @@ class MyStickyMenuBackend
|
|
778 |
Â
<div id="mystickymenu" class="wrap mystickymenu">
|
779 |
Â
<div class="sticky-header-menu">
|
780 |
Â
<ul>
|
781 |
-
<li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-settings' ) ?>"><?php _e('Sticky Menu', 'mystickymenu'); ?></a></li>
|
782 |
Â
<li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-welcomebar' ) ?>" ><?php _e('Welcome Bar', 'mystickymenu'); ?></a></li>
|
Â
|
|
783 |
Â
<li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-upgrade' ) ?>" class="active" ><?php _e('Upgrade to Pro', 'mystickymenu'); ?></a></li>
|
784 |
Â
</ul>
|
785 |
Â
</div>
|
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.5
|
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.5' );
|
16 |
Â
define('MYSTICKYMENU_URL', plugins_url('/', __FILE__)); // Define Plugin URL
|
17 |
Â
define('MYSTICKYMENU_PATH', plugin_dir_path(__FILE__)); // Define Plugin Directory Path
|
18 |
Â
|
65 |
Â
$handle = curl_init();
|
66 |
Â
curl_setopt($handle, CURLOPT_URL, $url);
|
67 |
Â
curl_setopt($handle, CURLOPT_RETURNTRANSFER, true);
|
68 |
+
$response = curl_exec($handle);
|
69 |
Â
curl_close($handle);
|
70 |
Â
}
|
71 |
Â
}
|
74 |
Â
}
|
75 |
Â
|
76 |
Â
public function mystickymenu_settings_link($links){
|
77 |
+
$settings_link = '<a href="admin.php?page=my-stickymenu-welcomebar">Settings</a>';
|
78 |
+
$links['go_pro'] = '<a href="'.admin_url("admin.php?page=my-stickymenu-upgrade&type=upgrade").'" style="color: #FF5983; font-weight: bold; display: inline-block; border: solid 1px #FF5983; border-radius: 4px; padding: 0 5px;">'.__( 'Upgrade', 'stars-testimonials' ).'</a>';
|
79 |
Â
array_unshift($links, $settings_link);
|
80 |
Â
return $links;
|
81 |
Â
}
|
90 |
Â
if($option === false) {
|
91 |
Â
add_option("mystickymenu_intro_box", "show");
|
92 |
Â
}
|
93 |
+
wp_redirect( admin_url( 'admin.php?page=my-stickymenu-welcomebar' ) ) ;
|
94 |
Â
exit;
|
95 |
Â
}
|
96 |
Â
}
|
142 |
Â
'Settings Admin',
|
143 |
Â
'myStickymenu',
|
144 |
Â
'manage_options',
|
145 |
+
'my-stickymenu-welcomebar',
|
146 |
+
array( $this, 'mystickystickymenu_admin_welcomebar_page' )
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
147 |
Â
);
|
148 |
Â
add_submenu_page(
|
149 |
+
'my-stickymenu-welcomebar',
|
150 |
Â
'Settings Admin',
|
151 |
Â
'Welcome Bar',
|
152 |
Â
'manage_options',
|
153 |
Â
'my-stickymenu-welcomebar',
|
154 |
Â
array( $this, 'mystickystickymenu_admin_welcomebar_page' )
|
155 |
Â
);
|
156 |
+
|
157 |
Â
add_submenu_page(
|
158 |
+
'my-stickymenu-welcomebar',
|
159 |
Â
'Settings Admin',
|
160 |
Â
'+ Create New Welcome Bar',
|
161 |
Â
'manage_options',
|
162 |
Â
'my-stickymenu-new-welcomebar',
|
163 |
Â
array( $this, 'mystickystickymenu_admin_new_welcomebar_page' )
|
164 |
Â
);
|
165 |
+
|
166 |
+
add_submenu_page(
|
167 |
+
'my-stickymenu-welcomebar',
|
168 |
+
'Settings Admin',
|
169 |
+
'Sticky menu settings',
|
170 |
+
'manage_options',
|
171 |
+
'my-stickymenu-settings',
|
172 |
+
array( $this, 'create_admin_page' )
|
173 |
+
);
|
174 |
+
|
175 |
+
|
176 |
Â
if ( !$hide_msmrecommended_plugin){
|
177 |
Â
add_submenu_page(
|
178 |
+
'my-stickymenu-welcomebar',
|
179 |
Â
'msm-recommended-plugins',
|
180 |
Â
'Recommended Plugins',
|
181 |
Â
'manage_options',
|
184 |
Â
);
|
185 |
Â
}
|
186 |
Â
add_submenu_page(
|
187 |
+
'my-stickymenu-welcomebar',
|
188 |
Â
'Upgrade to Pro',
|
189 |
Â
'Upgrade to Pro',
|
190 |
Â
'manage_options',
|
222 |
Â
$pro_url = "https://go.premio.io/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=";
|
223 |
Â
|
224 |
Â
$is_shown = get_option("mystickymenu_update_message");
|
225 |
+
if($is_shown == 1) {
|
226 |
+
|
227 |
+
include_once MYSTICKYMENU_PATH . '/update.php';
|
228 |
+
} else {
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
229 |
Â
|
230 |
Â
$option = get_option("mystickymenu_intro_box");
|
231 |
Â
if($option == "show") {
|
247 |
Â
<div id="mystickymenu" class="wrap mystickymenu">
|
248 |
Â
<div class="sticky-header-menu">
|
249 |
Â
<ul>
|
Â
|
|
250 |
Â
<li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-welcomebar' ) ?>" ><?php _e('Welcome Bar', 'mystickymenu'); ?></a></li>
|
251 |
+
<li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-settings' ) ?>" class="active" ><?php _e('Sticky Menu', 'mystickymenu'); ?></a></li>
|
252 |
+
|
253 |
Â
<li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-upgrade' ) ?>"><?php _e('Upgrade to Pro', 'mystickymenu'); ?></a></li>
|
254 |
Â
</ul>
|
255 |
Â
</div>
|
313 |
Â
</select>
|
314 |
Â
|
315 |
Â
<input type="text" size="18" id="mysticky_class_selector" class="mystickyinput" name="mysticky_option_name[mysticky_class_selector]" value="<?php echo $mysticky_options['mysticky_class_selector'];?>" />
|
316 |
+
|
317 |
+
<p class="description mystuckymenu-class-id">
|
318 |
+
<span class="dashicons dashicons-info"></span>
|
319 |
+
<span>
|
320 |
+
<?php echo sprintf(__('Need help finding your ID/Class? Install <a href="%s" target="_blank">CSS Peeper</a> to quickly get your navigation menu ID/Class. Here\'s a quick <a href="%s" target="_blank">video <span class="dashicons dashicons-controls-play"></span></a> of how you can do it.', 'mystickymenu'), 'https://chrome.google.com/webstore/detail/css-peeper/mbnbehikldjhnfehhnaidhjhoofhpehk?hl=en', 'https://www.youtube.com/watch?v=uuNqSkBPnLU');?>
|
321 |
+
</span>
|
322 |
+
</p>
|
323 |
Â
</td>
|
324 |
Â
<td>
|
325 |
Â
<div class="mysticky_device_upgrade">
|
688 |
Â
}
|
689 |
Â
|
690 |
Â
public function mystickystickymenu_admin_welcomebar_page() {
|
691 |
+
|
692 |
+
$is_shown = get_option("mystickymenu_update_message");
|
693 |
+
if($is_shown == 1) {
|
694 |
+
|
695 |
+
include_once MYSTICKYMENU_PATH . '/update.php';
|
696 |
+
return;
|
697 |
+
}
|
698 |
+
|
699 |
Â
/* welcome bar save data */
|
700 |
Â
if (isset($_POST['mysticky_option_welcomebar']) && !empty($_POST['mysticky_option_welcomebar']) && isset($_POST['nonce'])) {
|
701 |
Â
if(!empty($_POST['nonce']) && wp_verify_nonce($_POST['nonce'], 'mysticky_option_welcomebar_update')) {
|
750 |
Â
<div id="mystickymenu" class="wrap mystickymenu">
|
751 |
Â
<div class="sticky-header-menu">
|
752 |
Â
<ul>
|
Â
|
|
753 |
Â
<li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-welcomebar' ) ?>" class="active" ><?php _e('Welcome Bar', 'mystickymenu'); ?></a></li>
|
754 |
+
<li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-settings' ) ?>"><?php _e('Sticky Menu', 'mystickymenu'); ?></a></li>
|
755 |
Â
<li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-upgrade' ) ?>"><?php _e('Upgrade to Pro', 'mystickymenu'); ?></a></li>
|
756 |
Â
</ul>
|
757 |
Â
</div>
|
782 |
Â
<div id="mystickymenu" class="wrap mystickymenu">
|
783 |
Â
<div class="sticky-header-menu">
|
784 |
Â
<ul>
|
Â
|
|
785 |
Â
<li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-welcomebar' ) ?>" ><?php _e('Welcome Bar', 'mystickymenu'); ?></a></li>
|
786 |
+
<li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-settings' ) ?>"><?php _e('Sticky Menu', 'mystickymenu'); ?></a></li>
|
787 |
Â
<li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-upgrade' ) ?>" class="active" ><?php _e('Upgrade to Pro', 'mystickymenu'); ?></a></li>
|
788 |
Â
</ul>
|
789 |
Â
</div>
|
readme.txt
CHANGED
@@ -1,21 +1,21 @@
|
|
1 |
-
===Sticky Menu on Scroll, Sticky Header
|
2 |
Â
Contributors: tomeraharon, galdub, premio
|
3 |
-
Tags:menu, header, sticky menu, sticky header, floating menu, floating navigation menu, navigation menu, navigation, sticky navigation menu, welcome bar, hello bar, top bar, sticky bar
|
4 |
Â
Requires at least: 3.5.1
|
5 |
Â
Tested up to: 5.6
|
6 |
-
Stable tag: 2.
|
7 |
Â
License: GPLv2 or later
|
8 |
Â
|
9 |
-
This sticky menu plugin will make your menu or header stick to the top of page, when scrolled down and up.
|
10 |
Â
|
11 |
Â
== Description ==
|
12 |
-
<strong>
|
13 |
Â
|
14 |
Â
By default, myStickymenu should make your menu sticky without any adjustments on your end - which means your menu should become sticky right out of the box. Sticky menu is designed to use element class ".navbar" as "Sticky Class". That value should be modified in plugin settings for different themes to make it work. Sticky Class is actually nothing more than an element class (or id) of the element that should become sticky.
|
15 |
Â
|
16 |
Â
[youtube https://www.youtube.com/watch?v=G_7swGnRmN0]
|
17 |
Â
|
18 |
-
<strong>📢
|
19 |
Â
|
20 |
Â
<strong>Let your visitors know about your company's Coronavirus COVID-19 updates</strong> - due to the latest Coronavirus COVID-19 outbreak, many of our users use the welcome bar to announce about their Coronavirus COVID-19 updates. You can use the notification bar as a Corona Virus - COVID-19 banner to make sure your visitors are up-to-date.
|
21 |
Â
|
@@ -33,18 +33,6 @@ My Sticky Menu plugin is originally designed for Twenty Thirteen template but sh
|
|
33 |
Â
|
34 |
Â
My Sticky Menu is tested and compatible with Elementor website builder, Divi, WPBakery, Gutenberg, Visual composer, Beaver and other WordPress website builders.
|
35 |
Â
|
36 |
-
= WITH MY STICKY MENU YOU CAN: =
|
37 |
-
* Show sticky header on scroll down/up
|
38 |
-
* Fade or slide effect
|
39 |
-
* Disable at small screen
|
40 |
-
* Choose when to make visible on scroll
|
41 |
-
* Change the font color when the menu is sticky
|
42 |
-
* Change the background color
|
43 |
-
* Change the opacity
|
44 |
-
* Change the sticky transition time
|
45 |
-
* Define the z-index of the sticky header
|
46 |
-
* Set an entrance effect for your sticky menu
|
47 |
-
|
48 |
Â
= WITH WELCOME BAR FEATURES YOU CAN: =
|
49 |
Â
* Display your floating bar at top position
|
50 |
Â
* Change the background and button colors for your hello bar
|
@@ -57,13 +45,17 @@ My Sticky Menu is tested and compatible with Elementor website builder, Divi, WP
|
|
57 |
Â
* Show the call-to-action button in your top notification bar on desktop/mobile
|
58 |
Â
* Redirect your visitors to another URL on-click
|
59 |
Â
|
60 |
-
=
|
61 |
-
*
|
62 |
-
*
|
63 |
-
*
|
64 |
-
*
|
65 |
-
|
66 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
67 |
Â
|
68 |
Â
= Welcome Bar Pro Features =
|
69 |
Â
* Multi Welcome Bar - Create a separate notification bar for different pages based on page targeting rules (E.g. seperate notification bar for different languages, different product categories and much more)
|
@@ -77,7 +69,15 @@ But wait, there's more 😉
|
|
77 |
Â
* New: You can set a thank you screen which appears after the button is clicked (can be used for coupons or any other message you want to show your visitors after they click on the button)
|
78 |
Â
* New: Add a rel Attribute to your notification bar button
|
79 |
Â
|
80 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
81 |
Â
|
82 |
Â
= Live Demo =
|
83 |
Â
A live demo for myStickymenu plugin and notification bar is available at <a href="https://demo.premio.io/mystickymenu/?utm_source=wordpressorg" target="_blank" title="Premio.io demo site">Premio's demo site</a>.
|
@@ -96,8 +96,7 @@ This plugin does exactly what it should. It is simple but powerful. I would sugg
|
|
96 |
Â
|
97 |
Â
|
98 |
Â
== Installation ==
|
99 |
-
|
100 |
-
Go to Settings / myStickymenu and change Sticky Class to .your_navbar_class or #your_navbar_id . Sticky Class should be HTML id or class of the HTML element desired to be sticky… Clear WordPress cache if exists.
|
101 |
Â
|
102 |
Â
For example:
|
103 |
Â
|
@@ -268,6 +267,8 @@ After installing the plugin, you’ll have the option to turn on the welcome bar
|
|
268 |
Â
|
269 |
Â
|
270 |
Â
== Changelog ==
|
Â
|
|
Â
|
|
271 |
Â
= 2.4.9 =
|
272 |
Â
Mobile bug fixed
|
273 |
Â
= 2.4.8 =
|
1 |
+
===Floating Notification Bar, Sticky Menu on Scroll, and Sticky Header for Any Theme - myStickymenu===
|
2 |
Â
Contributors: tomeraharon, galdub, premio
|
3 |
+
Tags:floating bar, notification bar, menu, header, sticky menu, sticky header, floating menu, floating navigation menu, navigation menu, navigation, sticky navigation menu, welcome bar, hello bar, top bar, sticky bar
|
4 |
Â
Requires at least: 3.5.1
|
5 |
Â
Tested up to: 5.6
|
6 |
+
Stable tag: 2.5
|
7 |
Â
License: GPLv2 or later
|
8 |
Â
|
9 |
+
Create a beautiful welcome notification bar. This sticky menu plugin will also make your menu or header stick to the top of page, when scrolled down and up.
|
10 |
Â
|
11 |
Â
== Description ==
|
12 |
+
<strong>Use myStickymenu to create a beautiful notification bar for you website. You can also use this sticky menu plugin will make your menu or header sticky on top of page, after desired number of pixels when scrolled. You can use it also to create a Welcome bar for announcements, promotion and more. This lightweight plugin will help your visitors navigate easily and reach to the navigation menu without wasting time. Install My Sticky Menu and improve your website’s user experience! If you want to change the CSS style, disable on scroll down or disable on specific pages. check out the <a href="https://premio.io/downloads/mystickymenu/" target="_blank" title="mystickymenu pro plans">Pro version</a>.</strong>
|
13 |
Â
|
14 |
Â
By default, myStickymenu should make your menu sticky without any adjustments on your end - which means your menu should become sticky right out of the box. Sticky menu is designed to use element class ".navbar" as "Sticky Class". That value should be modified in plugin settings for different themes to make it work. Sticky Class is actually nothing more than an element class (or id) of the element that should become sticky.
|
15 |
Â
|
16 |
Â
[youtube https://www.youtube.com/watch?v=G_7swGnRmN0]
|
17 |
Â
|
18 |
+
<strong>📢 Welcome Bar:</strong> Use this powerful feature to create a beautiful floating sticky notification bar. No coding skill required, just turn it on, set up your announcement text and button, and voilà - your top notification bar is good to go!
|
19 |
Â
|
20 |
Â
<strong>Let your visitors know about your company's Coronavirus COVID-19 updates</strong> - due to the latest Coronavirus COVID-19 outbreak, many of our users use the welcome bar to announce about their Coronavirus COVID-19 updates. You can use the notification bar as a Corona Virus - COVID-19 banner to make sure your visitors are up-to-date.
|
21 |
Â
|
33 |
Â
|
34 |
Â
My Sticky Menu is tested and compatible with Elementor website builder, Divi, WPBakery, Gutenberg, Visual composer, Beaver and other WordPress website builders.
|
35 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
36 |
Â
= WITH WELCOME BAR FEATURES YOU CAN: =
|
37 |
Â
* Display your floating bar at top position
|
38 |
Â
* Change the background and button colors for your hello bar
|
45 |
Â
* Show the call-to-action button in your top notification bar on desktop/mobile
|
46 |
Â
* Redirect your visitors to another URL on-click
|
47 |
Â
|
48 |
+
= WITH MY STICKY MENU YOU CAN: =
|
49 |
+
* Show sticky header on scroll down/up
|
50 |
+
* Fade or slide effect
|
51 |
+
* Disable at small screen
|
52 |
+
* Choose when to make visible on scroll
|
53 |
+
* Change the font color when the menu is sticky
|
54 |
+
* Change the background color
|
55 |
+
* Change the opacity
|
56 |
+
* Change the sticky transition time
|
57 |
+
* Define the z-index of the sticky header
|
58 |
+
* Set an entrance effect for your sticky menu
|
59 |
Â
|
60 |
Â
= Welcome Bar Pro Features =
|
61 |
Â
* Multi Welcome Bar - Create a separate notification bar for different pages based on page targeting rules (E.g. seperate notification bar for different languages, different product categories and much more)
|
69 |
Â
* New: You can set a thank you screen which appears after the button is clicked (can be used for coupons or any other message you want to show your visitors after they click on the button)
|
70 |
Â
* New: Add a rel Attribute to your notification bar button
|
71 |
Â
|
72 |
+
But wait, there's more 😉
|
73 |
+
|
74 |
+
= WHAT DO YOU GET IN THE PRO PLAN =
|
75 |
+
* Disable floating menu on Desktop/Mobile
|
76 |
+
* Disable floating menu on scroll down
|
77 |
+
* Add CSS style to the floating header
|
78 |
+
* Disable/enable floating header on specific pages
|
79 |
+
|
80 |
+
<a href="https://premio.io/downloads/mystickymenu/" target="_blank" title="mystickymenu pro plans"><strong>>>> See Pro plans here 🚀</strong></a>
|
81 |
Â
|
82 |
Â
= Live Demo =
|
83 |
Â
A live demo for myStickymenu plugin and notification bar is available at <a href="https://demo.premio.io/mystickymenu/?utm_source=wordpressorg" target="_blank" title="Premio.io demo site">Premio's demo site</a>.
|
96 |
Â
|
97 |
Â
|
98 |
Â
== Installation ==
|
99 |
+
After you activate the plugin, you should be able to create your first notification bar with ease, just customize the apperance and save. If you want to create a sticky menu, in most cases the plugin should be able to find the class/ID for the menu, if not then change sticky class/id to .your_navbar_class or #your_navbar_id - you might need to purge cache after saving.
|
Â
|
|
100 |
Â
|
101 |
Â
For example:
|
102 |
Â
|
267 |
Â
|
268 |
Â
|
269 |
Â
== Changelog ==
|
270 |
+
= 2.5 =
|
271 |
+
Better instructions for the sticky menu feature & explainer video
|
272 |
Â
= 2.4.9 =
|
273 |
Â
Mobile bug fixed
|
274 |
Â
= 2.4.8 =
|
recommended-plugins.php
CHANGED
@@ -472,7 +472,7 @@ a.create-rule {
|
|
472 |
Â
buttons: {
|
473 |
Â
"Hide it": {
|
474 |
Â
click: function () {
|
475 |
-
window.location = "<?php echo admin_url('admin.php?page=my-stickymenu-
|
476 |
Â
},
|
477 |
Â
text: 'Hide it',
|
478 |
Â
class: 'btn red-btn'
|
472 |
Â
buttons: {
|
473 |
Â
"Hide it": {
|
474 |
Â
click: function () {
|
475 |
+
window.location = "<?php echo admin_url('admin.php?page=my-stickymenu-welcomebar&hide_msmrecommended_plugin=1');?>";
|
476 |
Â
},
|
477 |
Â
text: 'Hide it',
|
478 |
Â
class: 'btn red-btn'
|
update.php
ADDED
@@ -0,0 +1,244 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php if (!defined('ABSPATH')) { exit; } ?>
|
2 |
+
<style>
|
3 |
+
body {
|
4 |
+
background: #ffffff !important;
|
5 |
+
}
|
6 |
+
</style>
|
7 |
+
<div class="myStickymenu-updates-form">
|
8 |
+
<div class="updates-form-form-left">
|
9 |
+
<svg width="261" height="243" viewBox="0 0 261 243" fill="none" xmlns="http://www.w3.org/2000/svg">
|
10 |
+
<path d="M10.6418 144.346C10.6418 144.346 10.4222 143.702 10.0669 142.505" stroke="#69F0AE" stroke-width="9" stroke-miterlimit="10"/>
|
11 |
+
<path opacity="0.6" d="M9.02692 138.772C1.17536 108.652 -23.303 -30.1614 222.082 56.4967" stroke="#3C85F7" stroke-width="9" stroke-miterlimit="10" stroke-dasharray="12.04 12.04"/>
|
12 |
+
<path d="M223.919 57.1403L225.744 57.7839" stroke="#69F0AE" stroke-width="9" stroke-miterlimit="10"/>
|
13 |
+
<path d="M195.688 164.197C195.69 157.688 193.254 151.414 188.857 146.6C184.46 141.787 178.418 138.782 171.915 138.173C165.411 137.563 158.913 139.394 153.693 143.306C148.472 147.218 144.905 152.93 143.689 159.325L63.0771 157.146L63.9621 170.945C63.9621 170.945 52.4674 197.37 112.88 204.411V231.12H182.721V186.712C186.665 184.412 189.936 181.123 192.211 177.174C194.486 173.224 195.684 168.75 195.688 164.197Z" fill="url(#paint0_linear)"/>
|
14 |
+
<path d="M66.7297 171.524C66.7297 171.524 55.7227 196.83 113.577 203.581V229.169H180.463V161.4L65.8706 158.308L66.7297 171.524Z" fill="#F6B9AD"/>
|
15 |
+
<path d="M100.158 65.922C98.4136 68.6639 95.6514 70.6067 92.4743 71.326C89.2972 72.0453 85.9635 71.4827 83.2014 69.7609L47.2896 46.1834C44.5376 44.4457 42.5876 41.6936 41.8657 38.5282C41.1437 35.3627 41.7085 32.0413 43.4365 29.2894C45.1804 26.551 47.9403 24.6107 51.1143 23.8915C54.2883 23.1724 57.6189 23.7327 60.3799 25.4504L96.2916 49.028C99.0458 50.7635 100.998 53.5147 101.723 56.6803C102.447 59.8459 101.885 63.1685 100.158 65.922Z" fill="url(#paint1_linear)"/>
|
16 |
+
<path d="M98.1685 64.6316C96.5474 67.1803 93.9798 68.9862 91.0267 69.6548C88.0735 70.3235 84.9747 69.8005 82.4073 68.2002L49.0148 46.2831C46.4567 44.668 44.6441 42.1098 43.973 39.1675C43.3019 36.2251 43.8268 33.1378 45.433 30.5797C47.0541 28.0311 49.6216 26.2252 52.5748 25.5565C55.528 24.8879 58.6267 25.4108 61.1942 27.0111L94.5803 48.9314C97.1385 50.5455 98.9518 53.1026 99.6241 56.0442C100.296 58.9859 99.7731 62.0731 98.1685 64.6316Z" fill="#F6B9AD"/>
|
17 |
+
<path d="M167.763 190.085C181.635 190.085 192.881 178.88 192.881 165.059C192.881 151.238 181.635 140.034 167.763 140.034C153.891 140.034 142.645 151.238 142.645 165.059C142.645 178.88 153.891 190.085 167.763 190.085Z" fill="#F6B9AD"/>
|
18 |
+
<path d="M163.242 0H67.0204C64.8353 0 63.064 1.76486 63.064 3.94193V183.327C63.064 185.504 64.8353 187.269 67.0204 187.269H163.242C165.427 187.269 167.198 185.504 167.198 183.327V3.94193C167.198 1.76486 165.427 0 163.242 0Z" fill="url(#paint2_linear)"/>
|
19 |
+
<path d="M161.384 2.53249H68.8776C66.4445 2.53249 64.4722 4.49761 64.4722 6.92171V180.354C64.4722 182.778 66.4445 184.743 68.8776 184.743H161.384C163.817 184.743 165.79 182.778 165.79 180.354V6.92171C165.79 4.49761 163.817 2.53249 161.384 2.53249Z" fill="white"/>
|
20 |
+
<path opacity="0.9" d="M140.584 7.0987C140.291 9.03104 139.314 10.7951 137.829 12.0717C136.344 13.3484 134.449 14.0533 132.487 14.059H97.4962C95.5353 14.0525 93.6414 13.3472 92.1569 12.0707C90.6725 10.7941 89.6954 9.0305 89.4024 7.0987H70.8635C70.3581 7.09827 69.8576 7.19709 69.3905 7.38951C68.9234 7.58192 68.499 7.86415 68.1415 8.22008C67.7839 8.576 67.5003 8.99864 67.3068 9.46383C67.1133 9.92902 67.0137 10.4277 67.0137 10.9312V176.331C67.0132 176.835 67.1124 177.334 67.3056 177.799C67.4987 178.264 67.7819 178.687 68.1392 179.044C68.4964 179.4 68.9206 179.682 69.3875 179.875C69.8544 180.068 70.3549 180.167 70.8603 180.167H159.401C159.906 180.168 160.407 180.069 160.874 179.876C161.341 179.684 161.766 179.402 162.123 179.046C162.481 178.69 162.764 178.267 162.958 177.802C163.151 177.337 163.251 176.838 163.251 176.335V10.9344C163.251 10.4309 163.152 9.93216 162.959 9.4668C162.766 9.00145 162.483 8.57858 162.125 8.22235C161.768 7.86613 161.344 7.58354 160.877 7.39074C160.41 7.19793 159.91 7.0987 159.404 7.0987H140.584Z" fill="#3C85F7"/>
|
21 |
+
<path d="M125.919 9.28044H104.631C104.275 9.28044 103.985 9.56858 103.985 9.92402V10.0431C103.985 10.3985 104.275 10.6867 104.631 10.6867H125.919C126.275 10.6867 126.565 10.3985 126.565 10.0431V9.92402C126.565 9.56858 126.275 9.28044 125.919 9.28044Z" fill="#DBDBDB"/>
|
22 |
+
<path d="M131.36 10.6867C131.828 10.6867 132.207 10.3092 132.207 9.84356C132.207 9.37794 131.828 9.00047 131.36 9.00047C130.893 9.00047 130.514 9.37794 130.514 9.84356C130.514 10.3092 130.893 10.6867 131.36 10.6867Z" fill="#DBDBDB"/>
|
23 |
+
<path d="M184.002 169.471C176.713 171.151 171.71 166.414 170.024 159.154L153.275 97.1903C152.474 93.6895 153.096 90.0153 155.005 86.9699C156.915 83.9246 159.956 81.7557 163.464 80.9367C166.978 80.1391 170.666 80.7591 173.722 82.6612C176.779 84.5634 178.956 87.5933 179.778 91.0892L193.446 154.643C195.132 161.915 191.289 167.791 184.002 169.471Z" fill="url(#paint3_linear)"/>
|
24 |
+
<path d="M177.898 92.6093C176.477 86.4812 170.339 82.6613 164.188 84.0772C158.038 85.4931 154.204 91.6086 155.625 97.7367L171.027 164.152C172.448 170.28 178.586 174.1 184.737 172.684C190.887 171.268 194.721 165.152 193.3 159.024L177.898 92.6093Z" fill="#F6B9AD"/>
|
25 |
+
<path d="M192.778 220.796H97.1768V243H192.778V220.796Z" fill="url(#paint4_linear)"/>
|
26 |
+
<path d="M190.194 223.371H99.7607V240.747H190.194V223.371Z" fill="#FF8976"/>
|
27 |
+
<path d="M136.46 58.6881L129.051 53.1308L132.281 48.9475L126.891 44.7321L123.522 48.9862L115.903 43.2744C115.613 43.0574 115.26 42.9401 114.897 42.9401C114.534 42.9401 114.181 43.0574 113.891 43.2744L93.695 58.2537C92.9296 58.8973 92.2126 59.6342 92.2061 61.3204H92.1835L92.1318 84.3992V85.4257C92.131 85.7562 92.1955 86.0835 92.3216 86.3892C92.4478 86.6948 92.6331 86.9727 92.867 87.207C93.101 87.4412 93.3789 87.6273 93.685 87.7545C93.9911 87.8818 94.3194 87.9477 94.6511 87.9485H95.6458L114.795 87.9904L134.942 88.0354C135.274 88.0363 135.603 87.972 135.909 87.8463C136.216 87.7207 136.495 87.536 136.73 87.3029C136.965 87.0699 137.152 86.7929 137.28 86.488C137.407 86.183 137.474 85.8559 137.474 85.5255L137.529 61.462H137.571C137.571 59.7726 137.226 59.3317 136.46 58.6881Z" fill="url(#paint5_linear)"/>
|
28 |
+
<path d="M135.582 61.8127C135.582 60.2746 135.259 59.882 134.568 59.2867L115.812 45.2341C115.547 45.0359 115.225 44.9288 114.893 44.9288C114.562 44.9288 114.24 45.0359 113.975 45.2341L95.5488 58.9037C95.1056 59.2192 94.749 59.6406 94.512 60.1293C94.275 60.6179 94.1651 61.1581 94.1923 61.7001H94.173L94.1245 82.7581V83.6945C94.1237 84.3033 94.3653 84.8875 94.7965 85.3189C95.2277 85.7503 95.8131 85.9936 96.4241 85.9953H97.3317L114.805 86.0339L133.185 86.0757C133.796 86.0766 134.383 85.8358 134.816 85.4062C135.249 84.9766 135.493 84.3934 135.495 83.7846L135.543 61.8288L135.582 61.8127Z" fill="url(#paint6_linear)"/>
|
29 |
+
<path d="M94.5117 61.7844L135.152 61.8763L135.101 84.1538C135.101 84.3304 135.065 84.5052 134.997 84.6683C134.929 84.8313 134.829 84.9794 134.703 85.104C134.578 85.2286 134.429 85.3274 134.265 85.3946C134.101 85.4618 133.925 85.4962 133.748 85.4958L95.9598 85.4104C95.5649 85.4095 95.1865 85.2523 94.9079 84.9735C94.6293 84.6947 94.4733 84.317 94.4742 83.9236L94.5246 61.7844L94.5117 61.7844Z" fill="#6C63FF"/>
|
30 |
+
<path opacity="0.2" d="M94.5117 61.7844L135.152 61.8763L135.101 84.1538C135.101 84.3304 135.065 84.5052 134.997 84.6683C134.929 84.8313 134.829 84.9794 134.703 85.104C134.578 85.2286 134.429 85.3274 134.265 85.3946C134.101 85.4618 133.925 85.4962 133.748 85.4958L95.9598 85.4104C95.5649 85.4095 95.1865 85.2523 94.9079 84.9735C94.6293 84.6947 94.4733 84.317 94.4742 83.9236L94.5246 61.7844L94.5117 61.7844Z" fill="white"/>
|
31 |
+
<path d="M94.5154 61.7773L94.4702 82.24C94.4694 82.6528 94.5502 83.0618 94.7079 83.4436C94.8657 83.8253 95.0975 84.1724 95.3899 84.4649C95.6823 84.7575 96.0297 84.9897 96.4122 85.1485C96.7947 85.3073 97.2049 85.3894 97.6192 85.3903L131.948 85.4675" fill="#F5F5F5"/>
|
32 |
+
<path d="M135.158 61.8674L135.113 82.3429C135.112 82.7558 135.03 83.1645 134.871 83.5456C134.711 83.9267 134.478 84.2728 134.184 84.5641C133.891 84.8555 133.542 85.0863 133.159 85.2435C132.776 85.4008 132.366 85.4813 131.951 85.4804L97.6221 85.4032" fill="white"/>
|
33 |
+
<path d="M113.972 45.7682L95.885 59.0582C95.4505 59.3626 95.1004 59.7715 94.8672 60.2469C94.634 60.7223 94.5252 61.2488 94.5511 61.7773L135.211 61.906C135.211 60.4097 134.888 60.0171 134.216 59.4508L115.79 45.7747C115.528 45.5777 115.21 45.4705 114.882 45.4694C114.554 45.4682 114.235 45.5731 113.972 45.7682Z" fill="#6C63FF"/>
|
34 |
+
<path opacity="0.2" d="M113.972 45.7682L95.885 59.0582C95.4505 59.3626 95.1004 59.7715 94.8672 60.2469C94.634 60.7223 94.5252 61.2488 94.5511 61.7773L135.211 61.906C135.211 60.4097 134.888 60.0171 134.216 59.4508L115.79 45.7747C115.528 45.5777 115.21 45.4705 114.882 45.4694C114.554 45.4682 114.235 45.5731 113.972 45.7682Z" fill="black"/>
|
35 |
+
<path d="M130.757 50.3924L125.838 46.5502L113.949 61.5521L107.561 56.6158L103.559 61.684L112.858 68.7602L115.164 70.604L130.757 50.3924Z" fill="url(#paint7_linear)"/>
|
36 |
+
<path d="M130.395 50.299L125.938 46.8945L114.126 62.2407L107.567 57.2304L104.146 61.6711L112.935 68.3772L115.189 70.0602L130.395 50.299Z" fill="white"/>
|
37 |
+
<path d="M92.4451 99.6939C90.7137 102.415 87.972 104.343 84.8186 105.057C81.6652 105.771 78.3563 105.213 75.6148 103.504L45.0935 83.7041C42.3622 81.9791 40.427 79.2474 39.7105 76.1056C38.994 72.9638 39.5545 69.6671 41.2694 66.9356C43.0008 64.2144 45.7426 62.2863 48.896 61.5724C52.0494 60.8586 55.3582 61.417 58.0998 63.1256L88.621 82.9254C91.3523 84.6504 93.2875 87.3821 94.004 90.5239C94.7205 93.6657 94.16 96.9624 92.4451 99.6939Z" fill="url(#paint8_linear)"/>
|
38 |
+
<path d="M90.8236 98.6513C89.2025 101.2 86.6349 103.006 83.6817 103.675C80.7285 104.343 77.6298 103.82 75.0623 102.22L46.4757 83.6752C43.9176 82.06 42.1051 79.5019 41.434 76.5595C40.7628 73.6172 41.2877 70.5298 42.8939 67.9718C44.515 65.4231 47.0826 63.6172 50.0358 62.9486C52.9889 62.2799 56.0877 62.8028 58.6551 64.4031L87.2418 82.9479C89.7998 84.5631 91.6124 87.1212 92.2835 90.0635C92.9546 93.0059 92.4298 96.0933 90.8236 98.6513Z" fill="#F6B9AD"/>
|
39 |
+
<path d="M86.218 132.394C84.4951 135.104 81.7661 137.023 78.6271 137.734C75.488 138.445 72.1942 137.889 69.4652 136.188L45.3776 120.662C42.6583 118.945 40.7314 116.226 40.0179 113.099C39.3044 109.971 39.8623 106.689 41.5697 103.97C43.2925 101.261 46.0216 99.3413 49.1606 98.6305C52.2996 97.9196 55.5935 98.4754 58.3225 100.177L82.4068 115.706C85.1258 117.422 87.0527 120.14 87.7668 123.267C88.4809 126.394 87.924 129.675 86.218 132.394Z" fill="url(#paint9_linear)"/>
|
40 |
+
<path d="M80.1721 165.262C78.434 167.996 75.6803 169.934 72.5127 170.651C69.3452 171.369 66.0214 170.808 63.2676 169.091L48.3493 158.247C45.6051 156.515 43.6604 153.771 42.9402 150.616C42.2201 147.46 42.7829 144.148 44.5059 141.404C46.2461 138.672 49.0007 136.737 52.1681 136.022C55.3355 135.307 58.6582 135.87 61.4105 137.588L76.3287 148.429C79.0703 150.161 81.0131 152.902 81.7331 156.056C82.4532 159.21 81.892 162.519 80.1721 165.262Z" fill="url(#paint10_linear)"/>
|
41 |
+
<path d="M78.9674 164.454C77.3463 167.003 74.7787 168.809 71.8255 169.477C68.8723 170.146 65.7736 169.623 63.2061 168.023L49.2955 157.912C46.7375 156.297 44.9249 153.739 44.2538 150.797C43.5827 147.854 44.1075 144.767 45.7137 142.209C47.3348 139.66 49.9024 137.854 52.8556 137.186C55.8088 136.517 58.9075 137.04 61.475 138.64L75.3856 148.751C77.9436 150.366 79.7562 152.924 80.4273 155.866C81.0984 158.809 80.5736 161.896 78.9674 164.454Z" fill="#F6B9AD"/>
|
42 |
+
<path d="M148.074 104.122H82.187V123.751H148.074V104.122Z" fill="url(#paint11_linear)"/>
|
43 |
+
<path d="M145.814 106.052H84.4482V120.211H145.814V106.052Z" fill="#69F0AE"/>
|
44 |
+
<path d="M259.84 69.0305L261 69.2107L260.819 69.0401H260.916L260.764 68.9886L239.741 49.1245L234.638 57.1468L230.395 64.4643L232.361 64.77L231.489 68.7344L259.84 69.0305Z" fill="url(#paint12_linear)"/>
|
45 |
+
<path d="M235.52 57.5651L231.645 64.2615L260.066 68.8728L241.76 56.1717L235.52 57.5651Z" fill="#6C63FF"/>
|
46 |
+
<path opacity="0.2" d="M235.52 57.5651L231.645 64.2615L260.066 68.8728L241.76 56.1717L235.52 57.5651Z" fill="black"/>
|
47 |
+
<path d="M240.188 50.2283L260.067 68.8728L235.521 57.5651L240.188 50.2283Z" fill="#6C63FF"/>
|
48 |
+
<path d="M232.691 68.197L259.989 68.7151L234.506 59.6985L232.691 68.197Z" fill="#6C63FF"/>
|
49 |
+
<path d="M84.8936 131.554C83.2725 134.103 80.7049 135.909 77.7517 136.578C74.7985 137.246 71.6998 136.723 69.1323 135.123L46.4723 120.514C43.9142 118.899 42.1017 116.34 41.4305 113.398C40.7594 110.456 41.2843 107.368 42.8905 104.81C44.509 102.259 47.0754 100.45 50.0288 99.7781C52.9822 99.1063 56.0823 99.6268 58.6517 101.226L81.3118 115.835C83.8743 117.45 85.69 120.011 86.3613 122.958C87.0326 125.904 86.5049 128.995 84.8936 131.554Z" fill="#F6B9AD"/>
|
50 |
+
<defs>
|
51 |
+
<linearGradient id="paint0_linear" x1="129.387" y1="231.132" x2="129.387" y2="138.061" gradientUnits="userSpaceOnUse">
|
52 |
+
<stop stop-color="#808080" stop-opacity="0.25"/>
|
53 |
+
<stop offset="0.54" stop-color="#808080" stop-opacity="0.12"/>
|
54 |
+
<stop offset="1" stop-color="#808080" stop-opacity="0.1"/>
|
55 |
+
</linearGradient>
|
56 |
+
<linearGradient id="paint1_linear" x1="24916.3" y1="14199" x2="24916.3" y2="7023.87" gradientUnits="userSpaceOnUse">
|
57 |
+
<stop stop-color="#808080" stop-opacity="0.25"/>
|
58 |
+
<stop offset="0.54" stop-color="#808080" stop-opacity="0.12"/>
|
59 |
+
<stop offset="1" stop-color="#808080" stop-opacity="0.1"/>
|
60 |
+
</linearGradient>
|
61 |
+
<linearGradient id="paint2_linear" x1="56806.2" y1="122524" x2="56806.2" y2="13540.6" gradientUnits="userSpaceOnUse">
|
62 |
+
<stop stop-color="#808080" stop-opacity="0.25"/>
|
63 |
+
<stop offset="0.54" stop-color="#808080" stop-opacity="0.12"/>
|
64 |
+
<stop offset="1" stop-color="#808080" stop-opacity="0.1"/>
|
65 |
+
</linearGradient>
|
66 |
+
<linearGradient id="paint3_linear" x1="29845.7" y1="53620" x2="29845.7" y2="28883.9" gradientUnits="userSpaceOnUse">
|
67 |
+
<stop stop-color="#808080" stop-opacity="0.25"/>
|
68 |
+
<stop offset="0.54" stop-color="#808080" stop-opacity="0.12"/>
|
69 |
+
<stop offset="1" stop-color="#808080" stop-opacity="0.1"/>
|
70 |
+
</linearGradient>
|
71 |
+
<linearGradient id="paint4_linear" x1="61020.9" y1="18572.5" x2="61020.9" y2="17040.4" gradientUnits="userSpaceOnUse">
|
72 |
+
<stop stop-color="#808080" stop-opacity="0.25"/>
|
73 |
+
<stop offset="0.54" stop-color="#808080" stop-opacity="0.12"/>
|
74 |
+
<stop offset="1" stop-color="#808080" stop-opacity="0.1"/>
|
75 |
+
</linearGradient>
|
76 |
+
<linearGradient id="paint5_linear" x1="114.85" y1="88.0322" x2="114.85" y2="42.9365" gradientUnits="userSpaceOnUse">
|
77 |
+
<stop stop-opacity="0.12"/>
|
78 |
+
<stop offset="0.55" stop-opacity="0.09"/>
|
79 |
+
<stop offset="1" stop-opacity="0.02"/>
|
80 |
+
</linearGradient>
|
81 |
+
<linearGradient id="paint6_linear" x1="22673.8" y1="14029.1" x2="22673.8" y2="8768.08" gradientUnits="userSpaceOnUse">
|
82 |
+
<stop stop-color="#808080" stop-opacity="0.25"/>
|
83 |
+
<stop offset="0.54" stop-color="#808080" stop-opacity="0.12"/>
|
84 |
+
<stop offset="1" stop-color="#808080" stop-opacity="0.1"/>
|
85 |
+
</linearGradient>
|
86 |
+
<linearGradient id="paint7_linear" x1="15019" y1="7079.44" x2="15023" y2="5279.5" gradientUnits="userSpaceOnUse">
|
87 |
+
<stop stop-opacity="0.12"/>
|
88 |
+
<stop offset="0.55" stop-opacity="0.09"/>
|
89 |
+
<stop offset="1" stop-opacity="0.02"/>
|
90 |
+
</linearGradient>
|
91 |
+
<linearGradient id="paint8_linear" x1="21783.4" y1="17691.5" x2="21783.4" y2="11649.7" gradientUnits="userSpaceOnUse">
|
92 |
+
<stop stop-color="#808080" stop-opacity="0.25"/>
|
93 |
+
<stop offset="0.54" stop-color="#808080" stop-opacity="0.12"/>
|
94 |
+
<stop offset="1" stop-color="#808080" stop-opacity="0.1"/>
|
95 |
+
</linearGradient>
|
96 |
+
<linearGradient id="paint9_linear" x1="18747.1" y1="20007.7" x2="18747.1" y2="15107.8" gradientUnits="userSpaceOnUse">
|
97 |
+
<stop stop-color="#808080" stop-opacity="0.25"/>
|
98 |
+
<stop offset="0.54" stop-color="#808080" stop-opacity="0.12"/>
|
99 |
+
<stop offset="1" stop-color="#808080" stop-opacity="0.1"/>
|
100 |
+
</linearGradient>
|
101 |
+
<linearGradient id="paint10_linear" x1="15098.2" y1="21407.6" x2="15098.2" y2="17548.1" gradientUnits="userSpaceOnUse">
|
102 |
+
<stop stop-color="#808080" stop-opacity="0.25"/>
|
103 |
+
<stop offset="0.54" stop-color="#808080" stop-opacity="0.12"/>
|
104 |
+
<stop offset="1" stop-color="#808080" stop-opacity="0.1"/>
|
105 |
+
</linearGradient>
|
106 |
+
<linearGradient id="paint11_linear" x1="22956.9" y1="7652.93" x2="22956.9" y2="6455.55" gradientUnits="userSpaceOnUse">
|
107 |
+
<stop stop-opacity="0.12"/>
|
108 |
+
<stop offset="0.55" stop-opacity="0.09"/>
|
109 |
+
<stop offset="1" stop-opacity="0.02"/>
|
110 |
+
</linearGradient>
|
111 |
+
<linearGradient id="paint12_linear" x1="21383.9" y1="21299.4" x2="22083.3" y2="20191.7" gradientUnits="userSpaceOnUse">
|
112 |
+
<stop stop-color="#808080" stop-opacity="0.25"/>
|
113 |
+
<stop offset="0.54" stop-color="#808080" stop-opacity="0.12"/>
|
114 |
+
<stop offset="1" stop-color="#808080" stop-opacity="0.1"/>
|
115 |
+
</linearGradient>
|
116 |
+
</defs>
|
117 |
+
</svg>
|
118 |
+
</div>
|
119 |
+
<div class="updates-form-form-right">
|
120 |
+
<div class="update-title">Be first</div>
|
121 |
+
<p>Be among the first to know about our latest features & what we're working on. Plus, insider offer & flash sales.</p>
|
122 |
+
<div class="updates-form">
|
123 |
+
<div class="update-form-input">
|
124 |
+
<div class="mail-icon">
|
125 |
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
126 |
+
<mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="2" y="4" width="20" height="16">
|
127 |
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M22 6C22 4.9 21.1 4 20 4H4C2.9 4 2 4.9 2 6V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V6ZM20 6L12 11L4 6H20ZM12 13L4 8V18H20V8L12 13Z" fill="white"/>
|
128 |
+
</mask>
|
129 |
+
<g mask="url(#mask0)">
|
130 |
+
<rect width="24" height="24" fill="#94A3B8"/>
|
131 |
+
</g>
|
132 |
+
</svg>
|
133 |
+
</div>
|
134 |
+
<input id="myStickymenu_update_email" autocomplete="off" value="<?php echo get_option( 'admin_email' ) ?>" placeholder="Email address">
|
135 |
+
<button href="javascript:;" class="button button-primary form-submit-btn yes">Sign Up</button>
|
136 |
+
</div>
|
137 |
+
<div class="update-form-skip-button">
|
138 |
+
<button href="javascript:;" class="button button-secondary form-cancel-btn no">Skip</button>
|
139 |
+
</div>
|
140 |
+
</div>
|
141 |
+
<div class="update-notice">
|
142 |
+
You can remove yourself from the list whenever you want, no strings attached 😛
|
143 |
+
</div>
|
144 |
+
<input type="hidden" id="myStickymenu_update_nonce" value="<?php echo wp_create_nonce("myStickymenu_update_nonce") ?>">
|
145 |
+
</div>
|
146 |
+
</div>
|
147 |
+
<style>
|
148 |
+
|
149 |
+
.myStickymenu-updates-form {
|
150 |
+
width: 768px;
|
151 |
+
padding: 70px 40px;
|
152 |
+
box-shadow: 0px 20px 25px rgb(0 0 0 / 10%), 0px 10px 10px rgb(0 0 0 / 4%);
|
153 |
+
display: flex;
|
154 |
+
margin: 100px auto 0;
|
155 |
+
font-family: Rubik, sans-serif;
|
156 |
+
}
|
157 |
+
.update-title {
|
158 |
+
font-style: normal;
|
159 |
+
font-weight: 500;
|
160 |
+
font-size: 26px;
|
161 |
+
line-height: 150%;
|
162 |
+
align-items: center;
|
163 |
+
color: #334155;
|
164 |
+
}
|
165 |
+
.updates-form-form-left {
|
166 |
+
padding: 50px 20px 50px 0;
|
167 |
+
}
|
168 |
+
.updates-form-form-right p {
|
169 |
+
font-style: normal;
|
170 |
+
font-weight: normal;
|
171 |
+
font-size: 14px;
|
172 |
+
line-height: 150%;
|
173 |
+
position: relative;
|
174 |
+
padding: 0 0 20px 0;
|
175 |
+
color: #475569;
|
176 |
+
margin: 40px 0;
|
177 |
+
}
|
178 |
+
.updates-form-form-right p:after {
|
179 |
+
content: "";
|
180 |
+
border: 1px solid #3C85F7;
|
181 |
+
position: absolute;
|
182 |
+
bottom: 5px;
|
183 |
+
left: 0;
|
184 |
+
width: 90px;
|
185 |
+
}
|
186 |
+
.updates-form {
|
187 |
+
display: flex;
|
188 |
+
}
|
189 |
+
.update-form-input {
|
190 |
+
position: relative;
|
191 |
+
}
|
192 |
+
.update-form-input input {
|
193 |
+
width: 320px;
|
194 |
+
background: #F4F4F5;
|
195 |
+
border: 1px solid #F4F4F5;
|
196 |
+
box-sizing: border-box;
|
197 |
+
border-radius: 4px;
|
198 |
+
height: 40px;
|
199 |
+
line-height: 40px;
|
200 |
+
padding: 0 50px 0 40px;
|
201 |
+
font-size: 13px;
|
202 |
+
box-sizing: border-box;
|
203 |
+
color: #334155;
|
204 |
+
}
|
205 |
+
.update-form-input .form-submit-btn {
|
206 |
+
background: #3C85F7;
|
207 |
+
border-radius: 4px;
|
208 |
+
border: none;
|
209 |
+
color: #fff;
|
210 |
+
font-style: normal;
|
211 |
+
font-weight: 500;
|
212 |
+
font-size: 13px;
|
213 |
+
line-height: 150%;
|
214 |
+
height: 34px;
|
215 |
+
padding: 0 10px;
|
216 |
+
position: absolute;
|
217 |
+
right: 3px;
|
218 |
+
top: 3px;
|
219 |
+
}
|
220 |
+
.updates-form .form-cancel-btn.no {
|
221 |
+
margin: 0 0 0 3px;
|
222 |
+
background: transparent;
|
223 |
+
border: none;
|
224 |
+
color: #64748B;
|
225 |
+
font-size: 13px;
|
226 |
+
line-height: 40px;
|
227 |
+
padding: 0 0 0 5px;
|
228 |
+
}
|
229 |
+
.updates-form .form-cancel-btn.no:hover {
|
230 |
+
color: #334155;
|
231 |
+
}
|
232 |
+
.mail-icon {
|
233 |
+
position: absolute;
|
234 |
+
top: 8px;
|
235 |
+
left: 10px;
|
236 |
+
}
|
237 |
+
.update-notice {
|
238 |
+
margin: 50px 0 0 0;
|
239 |
+
font-size: 12px;
|
240 |
+
padding: 0 110px 0 0;
|
241 |
+
line-height: 150%;
|
242 |
+
color: #64748B;
|
243 |
+
}
|
244 |
+
</style>
|
upgrade-to-pro.php
CHANGED
@@ -47,6 +47,7 @@ $pro_url = "https://go.premio.io/checkount/?edd_action=add_to_cart&download_id=2
|
|
47 |
Â
</div>
|
48 |
Â
<a class="cart-link" target="_blank" href="https://go.premio.io/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=1">Buy now</a>
|
49 |
Â
</div>
|
Â
|
|
50 |
Â
</div>
|
51 |
Â
</div>
|
52 |
Â
<div class="col-md-4 col-sm-12">
|
@@ -87,6 +88,7 @@ $pro_url = "https://go.premio.io/checkount/?edd_action=add_to_cart&download_id=2
|
|
87 |
Â
</div>
|
88 |
Â
<a class="cart-link" target="_blank" href="https://go.premio.io/?edd_action=add_to_cart&download_id=2199&edd_options%5Bprice_id%5D=2">Buy now</a>
|
89 |
Â
</div>
|
Â
|
|
90 |
Â
</div>
|
91 |
Â
</div>
|
92 |
Â
<div class="col-md-4 col-sm-12">
|
@@ -135,6 +137,7 @@ $pro_url = "https://go.premio.io/checkount/?edd_action=add_to_cart&download_id=2
|
|
135 |
Â
</div>
|
136 |
Â
<a class="cart-link" target="_blank" href="https://go.premio.io/?edd_action=add_to_cart&download_id=2199&edd_options%5Bprice_id%5D=3">Buy now</a>
|
137 |
Â
</div>
|
Â
|
|
138 |
Â
</div>
|
139 |
Â
</div>
|
140 |
Â
</div>
|
47 |
Â
</div>
|
48 |
Â
<a class="cart-link" target="_blank" href="https://go.premio.io/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=1">Buy now</a>
|
49 |
Â
</div>
|
50 |
+
<div class="bottom-position"></div>
|
51 |
Â
</div>
|
52 |
Â
</div>
|
53 |
Â
<div class="col-md-4 col-sm-12">
|
88 |
Â
</div>
|
89 |
Â
<a class="cart-link" target="_blank" href="https://go.premio.io/?edd_action=add_to_cart&download_id=2199&edd_options%5Bprice_id%5D=2">Buy now</a>
|
90 |
Â
</div>
|
91 |
+
<div class="bottom-position"></div>
|
92 |
Â
</div>
|
93 |
Â
</div>
|
94 |
Â
<div class="col-md-4 col-sm-12">
|
137 |
Â
</div>
|
138 |
Â
<a class="cart-link" target="_blank" href="https://go.premio.io/?edd_action=add_to_cart&download_id=2199&edd_options%5Bprice_id%5D=3">Buy now</a>
|
139 |
Â
</div>
|
140 |
+
<div class="bottom-position"></div>
|
141 |
Â
</div>
|
142 |
Â
</div>
|
143 |
Â
</div>
|
welcome-bar.php
CHANGED
@@ -28,7 +28,7 @@ function mysticky_welcome_bar_backend() {
|
|
28 |
Â
if( !isset($welcomebar['mysticky_welcomebar_redirect_rel']) ) {
|
29 |
Â
$welcomebar['mysticky_welcomebar_redirect_rel'] = '';
|
30 |
Â
}
|
31 |
-
$display = ' mysticky-welcomebar-attention-'
|
32 |
Â
$display_entry_effect = (isset($welcomebar['mysticky_welcomebar_entry_effect'])) ? ' mysticky-welcomebar-entry-effect-'.$welcomebar['mysticky_welcomebar_entry_effect'] : ' mysticky-welcomebar-entry-effect-slide-in';
|
33 |
Â
$display_main_class = "mysticky-welcomebar-position-" . $welcomebar['mysticky_welcomebar_position'] . $mysticky_welcomebar_showx_desktop . $mysticky_welcomebar_showx_mobile . $mysticky_welcomebar_btn_desktop . $mysticky_welcomebar_btn_mobile . $display . $display_entry_effect;
|
34 |
Â
?>
|
28 |
Â
if( !isset($welcomebar['mysticky_welcomebar_redirect_rel']) ) {
|
29 |
Â
$welcomebar['mysticky_welcomebar_redirect_rel'] = '';
|
30 |
Â
}
|
31 |
+
$display = ' mysticky-welcomebar-attention-'. ( isset($welcomebar['mysticky_welcomebar_attentionselect']) ? $welcomebar['mysticky_welcomebar_attentionselect'] : '' );
|
32 |
Â
$display_entry_effect = (isset($welcomebar['mysticky_welcomebar_entry_effect'])) ? ' mysticky-welcomebar-entry-effect-'.$welcomebar['mysticky_welcomebar_entry_effect'] : ' mysticky-welcomebar-entry-effect-slide-in';
|
33 |
Â
$display_main_class = "mysticky-welcomebar-position-" . $welcomebar['mysticky_welcomebar_position'] . $mysticky_welcomebar_showx_desktop . $mysticky_welcomebar_showx_mobile . $mysticky_welcomebar_btn_desktop . $mysticky_welcomebar_btn_mobile . $display . $display_entry_effect;
|
34 |
Â
?>
|