Version Description
Credit removal
Download this release
Release Info
Developer | galdub |
Plugin | myStickymenu |
Version | 2.4.1 |
Comparing to | |
See all releases |
Code changes from version 2.4 to 2.4.1
- mystickymenu.php +5 -5
- readme.txt +3 -2
- welcome-bar.php +6 -66
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.4
|
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.4' );
|
16 |
require_once("mystickymenu-fonts.php");
|
17 |
require_once("welcome-bar.php");
|
18 |
|
@@ -766,7 +766,7 @@ class MyStickyMenuBackend
|
|
766 |
<div class="rpt_feature rpt_feature_0-3"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Add CSS of your own to the sticky menu</span>CSS style<span class="rpt_tooltip_plus" > +</span></a></div>
|
767 |
<div class="rpt_feature rpt_feature_0-4"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Show/hide the sticky menu on specific pages</span>Page targeting<span class="rpt_tooltip_plus" > +</span></a></div>
|
768 |
<div class="rpt_feature rpt_feature_0-5"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Fade/Slide, opacity, background color, transition time and more</span>Effects and more<span class="rpt_tooltip_plus" > +</span></a></div>
|
769 |
-
<div class="rpt_feature rpt_feature_0-6"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Including page targeting, delay and scroll triggers, devices, position, height, expiry date, open link in a new tab
|
770 |
<div class="rpt_feature rpt_feature_0-9">
|
771 |
<select data-key="0" class="multiple-options">
|
772 |
<option data-header="Renewals for 25% off" data-price="19" value="<?php echo esc_url($pro_url."1") ?>">
|
@@ -799,7 +799,7 @@ class MyStickyMenuBackend
|
|
799 |
<div class="rpt_feature rpt_feature_1-3"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Add CSS of your own to the sticky menu</span>CSS style<span class="rpt_tooltip_plus" > +</span></a></div>
|
800 |
<div class="rpt_feature rpt_feature_1-4"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Show/hide the sticky menu on specific pages</span>Page targeting<span class="rpt_tooltip_plus" > +</span></a></div>
|
801 |
<div class="rpt_feature rpt_feature_1-5"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Fade/Slide, opacity, background color, transition time and more</span>Effects and more<span class="rpt_tooltip_plus" > +</span></a></div>
|
802 |
-
<div class="rpt_feature rpt_feature_1-6"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Including page targeting, delay and scroll triggers, devices, position, height, expiry date, open link in a new tab
|
803 |
<div class="rpt_feature rpt_feature_0-9">
|
804 |
<select data-key="0" class="multiple-options">
|
805 |
<option data-header="Renewals for 25% off" data-price="39" value="<?php echo esc_url($pro_url."2") ?>">
|
@@ -838,7 +838,7 @@ class MyStickyMenuBackend
|
|
838 |
<div class="rpt_feature rpt_feature_2-3"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Add CSS of your own to the sticky menu</span>CSS style<span class="rpt_tooltip_plus" > +</span></a></div>
|
839 |
<div class="rpt_feature rpt_feature_2-4"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Show/hide the sticky menu on specific pages</span>Page targeting<span class="rpt_tooltip_plus" > +</span></a></div>
|
840 |
<div class="rpt_feature rpt_feature_2-5"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Fade/Slide, opacity, background color, transition time and more</span>Effects and more<span class="rpt_tooltip_plus" > +</span></a></div>
|
841 |
-
<div class="rpt_feature rpt_feature_2-6"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Including page targeting, delay and scroll triggers, devices, position, height, expiry date, open link in a new tab
|
842 |
<div class="rpt_feature rpt_feature_0-9">
|
843 |
<select data-key="0" class="multiple-options has-multiple-websites">
|
844 |
<option data-option="1_year" data-header="Renewals for 25% off" data-price="79" value="<?php echo esc_url($pro_url."3") ?>">
|
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.4.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.4.1' );
|
16 |
require_once("mystickymenu-fonts.php");
|
17 |
require_once("welcome-bar.php");
|
18 |
|
766 |
<div class="rpt_feature rpt_feature_0-3"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Add CSS of your own to the sticky menu</span>CSS style<span class="rpt_tooltip_plus" > +</span></a></div>
|
767 |
<div class="rpt_feature rpt_feature_0-4"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Show/hide the sticky menu on specific pages</span>Page targeting<span class="rpt_tooltip_plus" > +</span></a></div>
|
768 |
<div class="rpt_feature rpt_feature_0-5"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Fade/Slide, opacity, background color, transition time and more</span>Effects and more<span class="rpt_tooltip_plus" > +</span></a></div>
|
769 |
+
<div class="rpt_feature rpt_feature_0-6"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Including page targeting, delay and scroll triggers, devices, position, height, expiry date, open link in a new tab</span>Welcome bar<span class="rpt_tooltip_plus"> +</span></a></div>
|
770 |
<div class="rpt_feature rpt_feature_0-9">
|
771 |
<select data-key="0" class="multiple-options">
|
772 |
<option data-header="Renewals for 25% off" data-price="19" value="<?php echo esc_url($pro_url."1") ?>">
|
799 |
<div class="rpt_feature rpt_feature_1-3"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Add CSS of your own to the sticky menu</span>CSS style<span class="rpt_tooltip_plus" > +</span></a></div>
|
800 |
<div class="rpt_feature rpt_feature_1-4"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Show/hide the sticky menu on specific pages</span>Page targeting<span class="rpt_tooltip_plus" > +</span></a></div>
|
801 |
<div class="rpt_feature rpt_feature_1-5"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Fade/Slide, opacity, background color, transition time and more</span>Effects and more<span class="rpt_tooltip_plus" > +</span></a></div>
|
802 |
+
<div class="rpt_feature rpt_feature_1-6"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Including page targeting, delay and scroll triggers, devices, position, height, expiry date, open link in a new tab</span>Welcome bar<span class="rpt_tooltip_plus"> +</span></a></div>
|
803 |
<div class="rpt_feature rpt_feature_0-9">
|
804 |
<select data-key="0" class="multiple-options">
|
805 |
<option data-header="Renewals for 25% off" data-price="39" value="<?php echo esc_url($pro_url."2") ?>">
|
838 |
<div class="rpt_feature rpt_feature_2-3"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Add CSS of your own to the sticky menu</span>CSS style<span class="rpt_tooltip_plus" > +</span></a></div>
|
839 |
<div class="rpt_feature rpt_feature_2-4"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Show/hide the sticky menu on specific pages</span>Page targeting<span class="rpt_tooltip_plus" > +</span></a></div>
|
840 |
<div class="rpt_feature rpt_feature_2-5"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Fade/Slide, opacity, background color, transition time and more</span>Effects and more<span class="rpt_tooltip_plus" > +</span></a></div>
|
841 |
+
<div class="rpt_feature rpt_feature_2-6"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Including page targeting, delay and scroll triggers, devices, position, height, expiry date, open link in a new tab</span>Welcome bar<span class="rpt_tooltip_plus"> +</span></a></div>
|
842 |
<div class="rpt_feature rpt_feature_0-9">
|
843 |
<select data-key="0" class="multiple-options has-multiple-websites">
|
844 |
<option data-option="1_year" data-header="Renewals for 25% off" data-price="79" value="<?php echo esc_url($pro_url."3") ?>">
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ 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, floating bar, notification bar
|
4 |
Requires at least: 3.5.1
|
5 |
Tested up to: 5.4
|
6 |
-
Stable tag: 2.4
|
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. Also create a beautiful welcome notification bar with it.
|
@@ -65,7 +65,6 @@ My Sticky Menu is tested and compatible with Elementor website builder, Divi, WP
|
|
65 |
But wait, there's more 😉
|
66 |
|
67 |
= Welcome Bar Pro Features =
|
68 |
-
* Remove the Get Bar credit from your notification bar
|
69 |
* Display your floating bar at bottom position
|
70 |
* Change the height of the sticky notification bar
|
71 |
* Open redirect link in a new tab
|
@@ -266,6 +265,8 @@ After installing the plugin, you’ll have the option to turn on the welcome bar
|
|
266 |
|
267 |
|
268 |
== Changelog ==
|
|
|
|
|
269 |
= 2.4 =
|
270 |
You can now change the sticky menu font color when the menu is sticky. We've also fixed a resize issue and a Divi gap bug
|
271 |
= 2.3.9 =
|
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, floating bar, notification bar
|
4 |
Requires at least: 3.5.1
|
5 |
Tested up to: 5.4
|
6 |
+
Stable tag: 2.4.1
|
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. Also create a beautiful welcome notification bar with it.
|
65 |
But wait, there's more 😉
|
66 |
|
67 |
= Welcome Bar Pro Features =
|
|
|
68 |
* Display your floating bar at bottom position
|
69 |
* Change the height of the sticky notification bar
|
70 |
* Open redirect link in a new tab
|
265 |
|
266 |
|
267 |
== Changelog ==
|
268 |
+
= 2.4.1 =
|
269 |
+
Credit removal
|
270 |
= 2.4 =
|
271 |
You can now change the sticky menu font color when the menu is sticky. We've also fixed a resize issue and a Divi gap bug
|
272 |
= 2.3.9 =
|
welcome-bar.php
CHANGED
@@ -231,17 +231,6 @@ function mysticky_welcome_bar_backend() {
|
|
231 |
</div>
|
232 |
</div>
|
233 |
</div>
|
234 |
-
|
235 |
-
<div class="mysticky-welcomebar-setting-content mysticky-welcomebar-setting-remove-getbar">
|
236 |
-
<label><?php _e('Remove myStickymenu Credit', 'myStickymenu'); ?></label>
|
237 |
-
<div class="mysticky-welcomebar-setting-content-right">
|
238 |
-
<div class="mysticky-welcomebar-switch">
|
239 |
-
<input type="checkbox" id="mysticky-welcomebar-remove-getbar" name="mysticky_option_welcomebar[mysticky_welcomebar_remove_getbar]" value="1" disabled />
|
240 |
-
<span class="slider"></span>
|
241 |
-
</div>
|
242 |
-
<span class="myStickymenu-upgrade"><a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
|
243 |
-
</div>
|
244 |
-
</div>
|
245 |
</div>
|
246 |
<div class="mysticky-welcomebar-setting-block">
|
247 |
<div class="mysticky-welcomebar-subheader-title">
|
@@ -339,8 +328,7 @@ function mysticky_welcome_bar_backend() {
|
|
339 |
<div class="mysticky-welcomebar-btn">
|
340 |
<a href="#" ><?php echo isset($welcomebar['mysticky_welcomebar_btn_text']) ? $welcomebar['mysticky_welcomebar_btn_text'] : "Got it!";?></a>
|
341 |
</div>
|
342 |
-
<a href="javascript:void(0)" class="mysticky-welcomebar-close">X</a>
|
343 |
-
<a href="#" class="mysticky-welcomebar-getbar"><?php _e( 'myStickymenu', 'mystickymenu' );?></a>
|
344 |
</div>
|
345 |
</div>
|
346 |
</div>
|
@@ -390,7 +378,7 @@ function mysticky_welcome_bar_backend() {
|
|
390 |
display: none;
|
391 |
align-items: center;
|
392 |
justify-content: center;
|
393 |
-
padding: 20px
|
394 |
z-index: 9999999;
|
395 |
}
|
396 |
.mysticky-welcomebar-preview-mobile-screen .mysticky-welcomebar-fixed{
|
@@ -473,33 +461,9 @@ function mysticky_welcome_bar_backend() {
|
|
473 |
.mysticky-welcomebar-fixed.mysticky-welcomebar-showx-desktop .mysticky-welcomebar-close {
|
474 |
display: inline-block;
|
475 |
}
|
476 |
-
.mysticky-welcomebar-getbar:focus,
|
477 |
-
.mysticky-welcomebar-getbar:active,
|
478 |
-
.mysticky-welcomebar-getbar {
|
479 |
-
background-color: rgba(140,140,140,0.5) !important;
|
480 |
-
border-radius: 8px !important;
|
481 |
-
color: #FFFFFF !important;
|
482 |
-
position: absolute !important;
|
483 |
-
padding: 3px !important;
|
484 |
-
bottom: 3px !important;
|
485 |
-
left: 3px !important;
|
486 |
-
font-size: 10px !important;
|
487 |
-
line-height: 1.4 !important;
|
488 |
-
margin: 0 !important;
|
489 |
-
display: inline-block !important;
|
490 |
-
vertical-align: top !important;
|
491 |
-
font-family: Poppins !important;
|
492 |
-
text-decoration: none !important;
|
493 |
-
visibility: visible !important;
|
494 |
-
}
|
495 |
-
.mysticky-welcomebar-getbar:hover {
|
496 |
-
color: #000000 !important;
|
497 |
-
opacity: 0.5 !important;
|
498 |
-
}
|
499 |
-
|
500 |
@media only screen and (max-width: 1024px) {
|
501 |
.mysticky-welcomebar-fixed {
|
502 |
-
padding: 0
|
503 |
}
|
504 |
.mysticky-welcomebar-fixed .mysticky-welcomebar-close {
|
505 |
width: 20px;
|
@@ -930,8 +894,7 @@ function mysticky_welcome_bar_frontend(){
|
|
930 |
<div class="mysticky-welcomebar-btn">
|
931 |
<a href="<?php echo $mysticky_welcomebar_actionselect_url; ?>" <?php if( isset($welcomebar['mysticky_welcomebar_redirect_newtab']) && $welcomebar['mysticky_welcomebar_actionselect'] == 'redirect_to_url' && $welcomebar['mysticky_welcomebar_redirect_newtab']== 1):?> target="_blank" <?php endif;?>><?php echo isset($welcomebar['mysticky_welcomebar_btn_text'])?$welcomebar['mysticky_welcomebar_btn_text']:"Got it!";?></a>
|
932 |
</div>
|
933 |
-
<a href="javascript:void(0)" class="mysticky-welcomebar-close">X</a>
|
934 |
-
<a href="https://premio.io/downloads/mystickymenu/?utm_source=credit&domain=<?php echo $_SERVER['HTTP_HOST']; ?>" class="mysticky-welcomebar-getbar" target="_blank" rel="noopener"><?php _e( 'myStickymenu', 'mystickymenu' );?></a>
|
935 |
</div>
|
936 |
<script>
|
937 |
|
@@ -1351,31 +1314,8 @@ function mysticky_welcome_bar_frontend(){
|
|
1351 |
}
|
1352 |
.mysticky-welcomebar-fixed.mysticky-welcomebar-showx-desktop .mysticky-welcomebar-close {
|
1353 |
display: inline-block;
|
1354 |
-
}
|
1355 |
-
|
1356 |
-
.mysticky-welcomebar-getbar:active,
|
1357 |
-
.mysticky-welcomebar-getbar {
|
1358 |
-
background-color: rgba(140,140,140,0.5) !important;
|
1359 |
-
border-radius: 8px !important;
|
1360 |
-
color: #FFFFFF !important;
|
1361 |
-
position: absolute !important;
|
1362 |
-
padding: 3px !important;
|
1363 |
-
bottom: 5px !important;
|
1364 |
-
left: 10px !important;
|
1365 |
-
font-size: 12px !important;
|
1366 |
-
line-height: 1.4 !important;
|
1367 |
-
margin: 0 !important;
|
1368 |
-
display: inline-block !important;
|
1369 |
-
vertical-align: top !important;
|
1370 |
-
font-family: Poppins !important;
|
1371 |
-
text-decoration: none !important;
|
1372 |
-
visibility: visible !important;
|
1373 |
-
outline: 0 !important;
|
1374 |
-
}
|
1375 |
-
.mysticky-welcomebar-getbar:hover {
|
1376 |
-
color: #000000 !important;
|
1377 |
-
opacity: 0.5 !important;
|
1378 |
-
}
|
1379 |
/* Animated Buttons */
|
1380 |
.mysticky-welcomebar-btn a {
|
1381 |
-webkit-animation-duration: 1s;
|
231 |
</div>
|
232 |
</div>
|
233 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
234 |
</div>
|
235 |
<div class="mysticky-welcomebar-setting-block">
|
236 |
<div class="mysticky-welcomebar-subheader-title">
|
328 |
<div class="mysticky-welcomebar-btn">
|
329 |
<a href="#" ><?php echo isset($welcomebar['mysticky_welcomebar_btn_text']) ? $welcomebar['mysticky_welcomebar_btn_text'] : "Got it!";?></a>
|
330 |
</div>
|
331 |
+
<a href="javascript:void(0)" class="mysticky-welcomebar-close">X</a>
|
|
|
332 |
</div>
|
333 |
</div>
|
334 |
</div>
|
378 |
display: none;
|
379 |
align-items: center;
|
380 |
justify-content: center;
|
381 |
+
padding: 20px 10px 20px 10px;
|
382 |
z-index: 9999999;
|
383 |
}
|
384 |
.mysticky-welcomebar-preview-mobile-screen .mysticky-welcomebar-fixed{
|
461 |
.mysticky-welcomebar-fixed.mysticky-welcomebar-showx-desktop .mysticky-welcomebar-close {
|
462 |
display: inline-block;
|
463 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
464 |
@media only screen and (max-width: 1024px) {
|
465 |
.mysticky-welcomebar-fixed {
|
466 |
+
padding: 0 10px 0 10px;
|
467 |
}
|
468 |
.mysticky-welcomebar-fixed .mysticky-welcomebar-close {
|
469 |
width: 20px;
|
894 |
<div class="mysticky-welcomebar-btn">
|
895 |
<a href="<?php echo $mysticky_welcomebar_actionselect_url; ?>" <?php if( isset($welcomebar['mysticky_welcomebar_redirect_newtab']) && $welcomebar['mysticky_welcomebar_actionselect'] == 'redirect_to_url' && $welcomebar['mysticky_welcomebar_redirect_newtab']== 1):?> target="_blank" <?php endif;?>><?php echo isset($welcomebar['mysticky_welcomebar_btn_text'])?$welcomebar['mysticky_welcomebar_btn_text']:"Got it!";?></a>
|
896 |
</div>
|
897 |
+
<a href="javascript:void(0)" class="mysticky-welcomebar-close">X</a>
|
|
|
898 |
</div>
|
899 |
<script>
|
900 |
|
1314 |
}
|
1315 |
.mysticky-welcomebar-fixed.mysticky-welcomebar-showx-desktop .mysticky-welcomebar-close {
|
1316 |
display: inline-block;
|
1317 |
+
}
|
1318 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1319 |
/* Animated Buttons */
|
1320 |
.mysticky-welcomebar-btn a {
|
1321 |
-webkit-animation-duration: 1s;
|