Version Description
Upgrade page update
Download this release
Release Info
Developer | galdub |
Plugin | myStickymenu |
Version | 2.1.8 |
Comparing to | |
See all releases |
Code changes from version 2.1.7 to 2.1.8
- js/iris-script.js +8 -0
- mystickymenu.php +46 -10
- readme.txt +3 -1
js/iris-script.js
CHANGED
@@ -14,4 +14,12 @@ jQuery(document).ready(function($){
|
|
14 |
e.preventDefault();
|
15 |
jQuery(".sticky-header-menu ul li a:last").trigger("click");
|
16 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
});
|
14 |
e.preventDefault();
|
15 |
jQuery(".sticky-header-menu ul li a:last").trigger("click");
|
16 |
});
|
17 |
+
jQuery(".multiple-options").change(function(){
|
18 |
+
thisValue = jQuery(this).val();
|
19 |
+
jQuery(this).closest(".rpt_plan").find("a.rpt_foot").attr("href", thisValue);
|
20 |
+
thisPrice = jQuery(this).find("option:selected").attr("data-price");
|
21 |
+
jQuery(this).closest(".rpt_plan").find(".rpt_price").text("$"+thisPrice);
|
22 |
+
priceText = jQuery(this).find("option:selected").attr("data-header");
|
23 |
+
jQuery(this).closest(".rpt_plan").find(".rpt_desc").text(priceText);
|
24 |
+
});
|
25 |
});
|
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. After install go to Settings / myStickymenu and change Sticky Class to .your_navbar_class or #your_navbar_id.
|
6 |
-
Version: 2.1.
|
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.1.
|
16 |
|
17 |
class MyStickyMenuBackend
|
18 |
{
|
@@ -103,8 +103,8 @@ class MyStickyMenuBackend
|
|
103 |
$is_old = get_option("has_sticky_header_old_version");
|
104 |
$is_old = ($is_old == "no")?false:true;
|
105 |
$nonce = wp_create_nonce('mysticky_option_backend_update');
|
106 |
-
|
107 |
-
|
108 |
<style>
|
109 |
div#wpcontent {
|
110 |
background: rgba(101,114,219,1);
|
@@ -457,7 +457,7 @@ class MyStickyMenuBackend
|
|
457 |
<div class="rpt_head rpt_head_0">
|
458 |
<div class="rpt_recurrence rpt_recurrence_0">For small website owners</div>
|
459 |
<div class="rpt_price rpt_price_0">$9</div>
|
460 |
-
<div class="rpt_description rpt_description_0">Per year. Renewals for 25% off</div>
|
461 |
<div style="clear:both;"></div>
|
462 |
</div>
|
463 |
<div class="rpt_features rpt_features_0">
|
@@ -467,7 +467,19 @@ class MyStickyMenuBackend
|
|
467 |
<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>
|
468 |
<div class="rpt_feature rpt_feature_0-4"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Exclude pages you don't want to have sticky menu</span>Page targeting<span class="rpt_tooltip_plus" > +</span></a></div>
|
469 |
<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>
|
470 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
471 |
</div>
|
472 |
<div style="clear:both;"></div>
|
473 |
<a target="_blank" href="https://go.premio.io/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=1" class="rpt_foot rpt_foot_0">Buy now</a>
|
@@ -477,7 +489,7 @@ class MyStickyMenuBackend
|
|
477 |
<div class="rpt_head rpt_head_1">
|
478 |
<div class="rpt_recurrence rpt_recurrence_1">For businesses with multiple websites</div>
|
479 |
<div class="rpt_price rpt_price_1">$25</div>
|
480 |
-
<div class="rpt_description rpt_description_1">Per year. Renewals for 25% off</div>
|
481 |
<div style="clear:both;"></div>
|
482 |
</div>
|
483 |
<div class="rpt_features rpt_features_1">
|
@@ -487,7 +499,19 @@ class MyStickyMenuBackend
|
|
487 |
<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>
|
488 |
<div class="rpt_feature rpt_feature_1-4"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Exclude pages you don't want to have sticky menu</span>Page targeting<span class="rpt_tooltip_plus" > +</span></a></div>
|
489 |
<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>
|
490 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
491 |
</div>
|
492 |
<div style="clear:both;"></div>
|
493 |
<a target="_blank" href="https://go.premio.io/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=2" class="rpt_foot rpt_foot_1">Buy now</a>
|
@@ -497,7 +521,7 @@ class MyStickyMenuBackend
|
|
497 |
<div class="rpt_head rpt_head_2">
|
498 |
<div class="rpt_recurrence rpt_recurrence_2">For agencies who manage clients</div>
|
499 |
<div class="rpt_price rpt_price_2">$49</div>
|
500 |
-
<div class="rpt_description rpt_description_2">Per year. Renewals for 25% off</div>
|
501 |
<div style="clear:both;"></div>
|
502 |
</div>
|
503 |
<div class="rpt_features rpt_features_2">
|
@@ -507,7 +531,19 @@ class MyStickyMenuBackend
|
|
507 |
<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>
|
508 |
<div class="rpt_feature rpt_feature_2-4"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Exclude pages you don't want to have sticky menu</span>Page targeting<span class="rpt_tooltip_plus" > +</span></a></div>
|
509 |
<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>
|
510 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
511 |
</div>
|
512 |
<div style="clear:both;"></div>
|
513 |
<a target="_blank" href="https://go.premio.io/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=3" class="rpt_foot rpt_foot_2">Buy now</a>
|
3 |
Plugin Name: myStickymenu
|
4 |
Plugin URI: https://premio.io/
|
5 |
Description: Simple sticky (fixed on top) menu implementation for navigation menu. After install go to Settings / myStickymenu and change Sticky Class to .your_navbar_class or #your_navbar_id.
|
6 |
+
Version: 2.1.8
|
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.1.8' );
|
16 |
|
17 |
class MyStickyMenuBackend
|
18 |
{
|
103 |
$is_old = get_option("has_sticky_header_old_version");
|
104 |
$is_old = ($is_old == "no")?false:true;
|
105 |
$nonce = wp_create_nonce('mysticky_option_backend_update');
|
106 |
+
$pro_url = "https://go.premio.io/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=";
|
107 |
+
?>
|
108 |
<style>
|
109 |
div#wpcontent {
|
110 |
background: rgba(101,114,219,1);
|
457 |
<div class="rpt_head rpt_head_0">
|
458 |
<div class="rpt_recurrence rpt_recurrence_0">For small website owners</div>
|
459 |
<div class="rpt_price rpt_price_0">$9</div>
|
460 |
+
<div class="rpt_description rpt_description_0 rpt_desc">Per year. Renewals for 25% off</div>
|
461 |
<div style="clear:both;"></div>
|
462 |
</div>
|
463 |
<div class="rpt_features rpt_features_0">
|
467 |
<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>
|
468 |
<div class="rpt_feature rpt_feature_0-4"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Exclude pages you don't want to have sticky menu</span>Page targeting<span class="rpt_tooltip_plus" > +</span></a></div>
|
469 |
<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>
|
470 |
+
<div class="rpt_feature rpt_feature_0-9">
|
471 |
+
<select data-key="0" class="multiple-options">
|
472 |
+
<option data-header="Renewals for 25% off" data-price="9" value="<?php echo esc_url($pro_url."1") ?>">
|
473 |
+
<?php esc_html_e("Updates & support for 1 year") ?>
|
474 |
+
</option>
|
475 |
+
<option data-header="For 3 years" data-price="19" value="<?php echo esc_url($pro_url."4") ?>">
|
476 |
+
<?php esc_html_e("Updates & support for 3 years") ?>
|
477 |
+
</option>
|
478 |
+
<option data-header="For lifetime" data-price="39" value="<?php echo esc_url($pro_url."5") ?>">
|
479 |
+
<?php esc_html_e("Updates & support for lifetime") ?>
|
480 |
+
</option>
|
481 |
+
</select>
|
482 |
+
</div>
|
483 |
</div>
|
484 |
<div style="clear:both;"></div>
|
485 |
<a target="_blank" href="https://go.premio.io/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=1" class="rpt_foot rpt_foot_0">Buy now</a>
|
489 |
<div class="rpt_head rpt_head_1">
|
490 |
<div class="rpt_recurrence rpt_recurrence_1">For businesses with multiple websites</div>
|
491 |
<div class="rpt_price rpt_price_1">$25</div>
|
492 |
+
<div class="rpt_description rpt_description_1 rpt_desc">Per year. Renewals for 25% off</div>
|
493 |
<div style="clear:both;"></div>
|
494 |
</div>
|
495 |
<div class="rpt_features rpt_features_1">
|
499 |
<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>
|
500 |
<div class="rpt_feature rpt_feature_1-4"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Exclude pages you don't want to have sticky menu</span>Page targeting<span class="rpt_tooltip_plus" > +</span></a></div>
|
501 |
<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>
|
502 |
+
<div class="rpt_feature rpt_feature_0-9">
|
503 |
+
<select data-key="0" class="multiple-options">
|
504 |
+
<option data-header="Renewals for 25% off" data-price="25" value="<?php echo esc_url($pro_url."2") ?>">
|
505 |
+
<?php esc_html_e("Updates & support for 1 year") ?>
|
506 |
+
</option>
|
507 |
+
<option data-header="For 3 years" data-price="39" value="<?php echo esc_url($pro_url."6") ?>">
|
508 |
+
<?php esc_html_e("Updates & support for 3 years") ?>
|
509 |
+
</option>
|
510 |
+
<option data-header="For lifetime" data-price="59" value="<?php echo esc_url($pro_url."7") ?>">
|
511 |
+
<?php esc_html_e("Updates & support for lifetime") ?>
|
512 |
+
</option>
|
513 |
+
</select>
|
514 |
+
</div>
|
515 |
</div>
|
516 |
<div style="clear:both;"></div>
|
517 |
<a target="_blank" href="https://go.premio.io/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=2" class="rpt_foot rpt_foot_1">Buy now</a>
|
521 |
<div class="rpt_head rpt_head_2">
|
522 |
<div class="rpt_recurrence rpt_recurrence_2">For agencies who manage clients</div>
|
523 |
<div class="rpt_price rpt_price_2">$49</div>
|
524 |
+
<div class="rpt_description rpt_description_2 rpt_desc">Per year. Renewals for 25% off</div>
|
525 |
<div style="clear:both;"></div>
|
526 |
</div>
|
527 |
<div class="rpt_features rpt_features_2">
|
531 |
<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>
|
532 |
<div class="rpt_feature rpt_feature_2-4"><a href="javascript:;" class="rpt_tooltip"><span class="intool"><b></b>Exclude pages you don't want to have sticky menu</span>Page targeting<span class="rpt_tooltip_plus" > +</span></a></div>
|
533 |
<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>
|
534 |
+
<div class="rpt_feature rpt_feature_0-9">
|
535 |
+
<select data-key="0" class="multiple-options">
|
536 |
+
<option data-header="Renewals for 25% off" data-price="49" value="<?php echo esc_url($pro_url."3") ?>">
|
537 |
+
<?php esc_html_e("Updates & support for 1 year") ?>
|
538 |
+
</option>
|
539 |
+
<option data-header="For 3 years" data-price="89" value="<?php echo esc_url($pro_url."8") ?>">
|
540 |
+
<?php esc_html_e("Updates & support for 3 years") ?>
|
541 |
+
</option>
|
542 |
+
<option data-header="For lifetime" data-price="119" value="<?php echo esc_url($pro_url."9") ?>">
|
543 |
+
<?php esc_html_e("Updates & support for lifetime") ?>
|
544 |
+
</option>
|
545 |
+
</select>
|
546 |
+
</div>
|
547 |
</div>
|
548 |
<div style="clear:both;"></div>
|
549 |
<a target="_blank" href="https://go.premio.io/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=3" class="rpt_foot rpt_foot_2">Buy now</a>
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: tomeraharon, galdub, premio
|
|
3 |
Tags: sticky, menu, header, sticky menu, sticky header, floating, floating menu, floating navigation menu, navigation menu, navigation, sticky navigation menu
|
4 |
Requires at least: 3.5.1
|
5 |
Tested up to: 5.2
|
6 |
-
Stable tag: 2.1.
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
This sticky menu plugin will make your menu or header stick to the top of page, after desired number of pixels when scrolled down and up.
|
@@ -222,6 +222,8 @@ A live demo for myStickymenu plugin is available at <a href="https://demo.premio
|
|
222 |
|
223 |
|
224 |
== Changelog ==
|
|
|
|
|
225 |
= 2.1.7 =
|
226 |
Fixed undefined indexes
|
227 |
= 2.1.6 =
|
3 |
Tags: sticky, menu, header, sticky menu, sticky header, floating, floating menu, floating navigation menu, navigation menu, navigation, sticky navigation menu
|
4 |
Requires at least: 3.5.1
|
5 |
Tested up to: 5.2
|
6 |
+
Stable tag: 2.1.8
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
This sticky menu plugin will make your menu or header stick to the top of page, after desired number of pixels when scrolled down and up.
|
222 |
|
223 |
|
224 |
== Changelog ==
|
225 |
+
= 2.1.8 =
|
226 |
+
Upgrade page update
|
227 |
= 2.1.7 =
|
228 |
Fixed undefined indexes
|
229 |
= 2.1.6 =
|