Version Description
Pro version changes
Download this release
Release Info
Developer | galdub |
Plugin | myStickymenu |
Version | 2.2.3 |
Comparing to | |
See all releases |
Code changes from version 2.2.2 to 2.2.3
- css/mystickymenu-admin.css +71 -0
- js/mystickymenu-admin.js +17 -0
- mystickymenu.php +70 -27
- readme.txt +3 -1
css/mystickymenu-admin.css
CHANGED
@@ -1798,6 +1798,77 @@ a.create-rule {
|
|
1798 |
.mysticky-welcomebar-setting-wrap .mysticky-welcomebar-setting-redirect-wrap .myStickymenu-upgrade {
|
1799 |
margin-top: 7px;
|
1800 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1801 |
@media only screen and (max-width: 1490px) {
|
1802 |
.mysticky-welcomebar-setting-action + .mysticky-welcomebar-setting-action {
|
1803 |
padding-left: 10px;
|
1798 |
.mysticky-welcomebar-setting-wrap .mysticky-welcomebar-setting-redirect-wrap .myStickymenu-upgrade {
|
1799 |
margin-top: 7px;
|
1800 |
}
|
1801 |
+
.updates-form-form {
|
1802 |
+
min-height: calc(100vh - 280px);
|
1803 |
+
}
|
1804 |
+
.popup-form-content {
|
1805 |
+
background: #ffffff;
|
1806 |
+
min-height: 100px;
|
1807 |
+
width: 450px;
|
1808 |
+
text-align: center;
|
1809 |
+
margin-top: 50px;
|
1810 |
+
border: solid 1px #c1c1c1;
|
1811 |
+
}
|
1812 |
+
.updates-content-buttons button {
|
1813 |
+
margin: 10px 3px !important;
|
1814 |
+
float: left;
|
1815 |
+
}
|
1816 |
+
.updates-content-buttons a span {
|
1817 |
+
-webkit-animation: fa-spin 0.75s infinite linear;
|
1818 |
+
animation: fa-spin 0.75s infinite linear;
|
1819 |
+
}
|
1820 |
+
.updates-content-buttons a:hover, .updates-content-buttons a:focus {
|
1821 |
+
color: #ffffff;
|
1822 |
+
background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1));
|
1823 |
+
}
|
1824 |
+
.updates-content-buttons a:focus {
|
1825 |
+
outline: 0;
|
1826 |
+
box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(50,100,150,.4);
|
1827 |
+
}
|
1828 |
+
.updates-content-buttons button.form-cancel-btn {
|
1829 |
+
float: right !important;
|
1830 |
+
}
|
1831 |
+
.form-submit-btn {
|
1832 |
+
background-color: #3085d6;
|
1833 |
+
}
|
1834 |
+
.updates-content-buttons a span {
|
1835 |
+
-webkit-animation: fa-spin 0.75s infinite linear;
|
1836 |
+
animation: fa-spin 0.75s infinite linear;
|
1837 |
+
}
|
1838 |
+
.add-update-folder-title {
|
1839 |
+
font-size: 20px;
|
1840 |
+
line-height: 30px;
|
1841 |
+
padding: 20px 20px 0;
|
1842 |
+
}
|
1843 |
+
.folder-form-input {
|
1844 |
+
padding: 10px 20px;
|
1845 |
+
}
|
1846 |
+
.folder-form-input input {
|
1847 |
+
width: 100%;
|
1848 |
+
transition: border-color .3s,box-shadow .3s;
|
1849 |
+
border: 1px solid #d9d9d9;
|
1850 |
+
border-radius: .1875em;
|
1851 |
+
font-size: 1.125em;
|
1852 |
+
box-shadow: inset 0 1px 1px rgba(0,0,0,.06);
|
1853 |
+
box-sizing: border-box;
|
1854 |
+
height: 2.625em;
|
1855 |
+
margin: 1em auto;
|
1856 |
+
}
|
1857 |
+
.updates-content-buttons {
|
1858 |
+
background: #c1c1c1;
|
1859 |
+
padding: 0 20px;
|
1860 |
+
}
|
1861 |
+
|
1862 |
+
@-webkit-keyframes fa-spin {
|
1863 |
+
0% {
|
1864 |
+
-webkit-transform: rotate(0deg);
|
1865 |
+
transform: rotate(0deg);
|
1866 |
+
}
|
1867 |
+
100% {
|
1868 |
+
-webkit-transform: rotate(359deg);
|
1869 |
+
transform: rotate(359deg);
|
1870 |
+
}
|
1871 |
+
}
|
1872 |
@media only screen and (max-width: 1490px) {
|
1873 |
.mysticky-welcomebar-setting-action + .mysticky-welcomebar-setting-action {
|
1874 |
padding-left: 10px;
|
js/mystickymenu-admin.js
CHANGED
@@ -2,6 +2,23 @@
|
|
2 |
"use strict";
|
3 |
|
4 |
jQuery(document).ready(function($){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
var handle = $( "#custom-handle" );
|
7 |
$( "#slider" ).slider({
|
2 |
"use strict";
|
3 |
|
4 |
jQuery(document).ready(function($){
|
5 |
+
|
6 |
+
$(document).on("click", ".updates-content-buttons button", function(){
|
7 |
+
var updateStatus = 0;
|
8 |
+
if($(this).hasClass("yes")) {
|
9 |
+
updateStatus = 1;
|
10 |
+
}
|
11 |
+
$(".updates-content-buttons 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(),
|
15 |
+
type: 'post',
|
16 |
+
cache: false,
|
17 |
+
success: function(){
|
18 |
+
window.location.reload();
|
19 |
+
}
|
20 |
+
})
|
21 |
+
});
|
22 |
|
23 |
var handle = $( "#custom-handle" );
|
24 |
$( "#slider" ).slider({
|
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.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.2.
|
16 |
require_once("mystickymenu-fonts.php");
|
17 |
require_once("welcome-bar.php");
|
18 |
|
@@ -31,6 +31,26 @@ class MyStickyMenuBackend
|
|
31 |
add_filter( 'plugin_action_links_mystickymenu/mystickymenu.php', array( $this, 'mystickymenu_settings_link' ) );
|
32 |
|
33 |
add_action( 'activated_plugin', array( $this, 'mystickymenu_activation_redirect' ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
}
|
35 |
|
36 |
public function mystickymenu_settings_link($links){
|
@@ -42,6 +62,10 @@ class MyStickyMenuBackend
|
|
42 |
|
43 |
public function mystickymenu_activation_redirect( $plugin) {
|
44 |
if( $plugin == plugin_basename( __FILE__ ) ) {
|
|
|
|
|
|
|
|
|
45 |
wp_redirect( admin_url( 'options-general.php?page=my-stickymenu-settings' ) ) ;
|
46 |
exit;
|
47 |
}
|
@@ -153,19 +177,38 @@ class MyStickyMenuBackend
|
|
153 |
$welcomebar_inactive_block = 'display: block';
|
154 |
}
|
155 |
}
|
|
|
156 |
?>
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
<div id="mystickymenu" class="wrap mystickymenu">
|
170 |
<div class="sticky-header-menu">
|
171 |
<ul>
|
@@ -509,7 +552,7 @@ class MyStickyMenuBackend
|
|
509 |
<div style="text-align:left;" class="rpt_title rpt_title_0">Basic</div>
|
510 |
<div class="rpt_head rpt_head_0">
|
511 |
<div class="rpt_recurrence rpt_recurrence_0">For small website owners</div>
|
512 |
-
<div class="rpt_price rpt_price_0">$
|
513 |
<div class="rpt_description rpt_description_0 rpt_desc">Per year. Renewals for 25% off</div>
|
514 |
<div style="clear:both;"></div>
|
515 |
</div>
|
@@ -523,13 +566,13 @@ class MyStickyMenuBackend
|
|
523 |
<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 and remove credit</span>Welcome bar<span class="rpt_tooltip_plus"> +</span></a></div>
|
524 |
<div class="rpt_feature rpt_feature_0-9">
|
525 |
<select data-key="0" class="multiple-options">
|
526 |
-
<option data-header="Renewals for 25% off" data-price="
|
527 |
<?php esc_html_e("Updates & support for 1 year") ?>
|
528 |
</option>
|
529 |
-
<option data-header="For 3 years" data-price="
|
530 |
<?php esc_html_e("Updates & support for 3 years") ?>
|
531 |
</option>
|
532 |
-
<option data-header="For lifetime" data-price="
|
533 |
<?php esc_html_e("Updates & support for lifetime") ?>
|
534 |
</option>
|
535 |
</select>
|
@@ -542,7 +585,7 @@ class MyStickyMenuBackend
|
|
542 |
<div style="text-align:left;" class="rpt_title rpt_title_1">Pro<img class="rpt_recommended" src="<?php echo plugins_url("") ?>/mystickymenu/images/rpt_recommended.png" style="top: 27px;"></div>
|
543 |
<div class="rpt_head rpt_head_1">
|
544 |
<div class="rpt_recurrence rpt_recurrence_1">For businesses with multiple websites</div>
|
545 |
-
<div class="rpt_price rpt_price_1">$
|
546 |
<div class="rpt_description rpt_description_1 rpt_desc">Per year. Renewals for 25% off</div>
|
547 |
<div style="clear:both;"></div>
|
548 |
</div>
|
@@ -556,13 +599,13 @@ class MyStickyMenuBackend
|
|
556 |
<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 and remove credit</span>Welcome bar<span class="rpt_tooltip_plus"> +</span></a></div>
|
557 |
<div class="rpt_feature rpt_feature_0-9">
|
558 |
<select data-key="0" class="multiple-options">
|
559 |
-
<option data-header="Renewals for 25% off" data-price="
|
560 |
<?php esc_html_e("Updates & support for 1 year") ?>
|
561 |
</option>
|
562 |
-
<option data-header="For 3 years" data-price="
|
563 |
<?php esc_html_e("Updates & support for 3 years") ?>
|
564 |
</option>
|
565 |
-
<option data-header="For lifetime" data-price="
|
566 |
<?php esc_html_e("Updates & support for lifetime") ?>
|
567 |
</option>
|
568 |
</select>
|
@@ -575,7 +618,7 @@ class MyStickyMenuBackend
|
|
575 |
<div style="text-align:left;" class="rpt_title rpt_title_2">Agency</div>
|
576 |
<div class="rpt_head rpt_head_2">
|
577 |
<div class="rpt_recurrence rpt_recurrence_2">For agencies who manage clients</div>
|
578 |
-
<div class="rpt_price rpt_price_2">$
|
579 |
<div class="rpt_description rpt_description_2 rpt_desc">Per year. Renewals for 25% off</div>
|
580 |
<div style="clear:both;"></div>
|
581 |
</div>
|
@@ -589,13 +632,13 @@ class MyStickyMenuBackend
|
|
589 |
<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 and remove credit</span>Welcome bar<span class="rpt_tooltip_plus"> +</span></a></div>
|
590 |
<div class="rpt_feature rpt_feature_0-9">
|
591 |
<select data-key="0" class="multiple-options">
|
592 |
-
<option data-header="Renewals for 25% off" data-price="
|
593 |
<?php esc_html_e("Updates & support for 1 year") ?>
|
594 |
</option>
|
595 |
-
<option data-header="For 3 years" data-price="
|
596 |
<?php esc_html_e("Updates & support for 3 years") ?>
|
597 |
</option>
|
598 |
-
<option data-header="For lifetime" data-price="
|
599 |
<?php esc_html_e("Updates & support for lifetime") ?>
|
600 |
</option>
|
601 |
</select>
|
@@ -626,7 +669,7 @@ class MyStickyMenuBackend
|
|
626 |
</div>
|
627 |
</div>
|
628 |
</div>
|
629 |
-
|
630 |
}
|
631 |
public function mysticky_default_options() {
|
632 |
|
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.2.3
|
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.2.3' );
|
16 |
require_once("mystickymenu-fonts.php");
|
17 |
require_once("welcome-bar.php");
|
18 |
|
31 |
add_filter( 'plugin_action_links_mystickymenu/mystickymenu.php', array( $this, 'mystickymenu_settings_link' ) );
|
32 |
|
33 |
add_action( 'activated_plugin', array( $this, 'mystickymenu_activation_redirect' ) );
|
34 |
+
|
35 |
+
add_action("wp_ajax_sticky_menu_update_status", array($this, 'sticky_menu_update_status'));
|
36 |
+
}
|
37 |
+
|
38 |
+
public function sticky_menu_update_status() {
|
39 |
+
if(!empty($_REQUEST['nonce']) && wp_verify_nonce($_REQUEST['nonce'], 'myStickymenu_update_nonce')) {
|
40 |
+
$status = self::sanitize_options($_REQUEST['status']);
|
41 |
+
$email = self::sanitize_options($_REQUEST['email']);
|
42 |
+
update_option("mystickymenu_update_message", 2);
|
43 |
+
if($status == 1) {
|
44 |
+
$url = 'https://go.premio.io/api/update.php?email='.$email.'&plugin=myStickymenu';
|
45 |
+
$handle = curl_init();
|
46 |
+
curl_setopt($handle, CURLOPT_URL, $url);
|
47 |
+
curl_setopt($handle, CURLOPT_RETURNTRANSFER, true);
|
48 |
+
$response = curl_exec($handle);
|
49 |
+
curl_close($handle);
|
50 |
+
}
|
51 |
+
}
|
52 |
+
echo "1";
|
53 |
+
die;
|
54 |
}
|
55 |
|
56 |
public function mystickymenu_settings_link($links){
|
62 |
|
63 |
public function mystickymenu_activation_redirect( $plugin) {
|
64 |
if( $plugin == plugin_basename( __FILE__ ) ) {
|
65 |
+
$is_shown = get_option("mystickymenu_update_message");
|
66 |
+
if($is_shown === false) {
|
67 |
+
add_option("mystickymenu_update_message", 1);
|
68 |
+
}
|
69 |
wp_redirect( admin_url( 'options-general.php?page=my-stickymenu-settings' ) ) ;
|
70 |
exit;
|
71 |
}
|
177 |
$welcomebar_inactive_block = 'display: block';
|
178 |
}
|
179 |
}
|
180 |
+
$is_shown = get_option("mystickymenu_update_message");
|
181 |
?>
|
182 |
+
<?php if($is_shown == 1) {?>
|
183 |
+
<div class="updates-form-form" >
|
184 |
+
<div class="popup-form-content">
|
185 |
+
<div id="add-update-folder-title" class="add-update-folder-title">
|
186 |
+
Would you like to get feature updates for myStickymenu in real-time?
|
187 |
+
</div>
|
188 |
+
<div class="folder-form-input">
|
189 |
+
<input id="myStickymenu_update_email" autocomplete="off" value="<?php echo get_option( 'admin_email' ) ?>" placeholder="Email address">
|
190 |
+
</div>
|
191 |
+
<div class="updates-content-buttons">
|
192 |
+
<button href="javascript:;" class="button button-primary form-submit-btn yes">Yes, I want</button>
|
193 |
+
<button href="javascript:;" class="button button-secondary form-cancel-btn no">Skip</button>
|
194 |
+
<div style="clear: both"></div>
|
195 |
+
</div>
|
196 |
+
<input type="hidden" id="myStickymenu_update_nonce" value="<?php echo wp_create_nonce("myStickymenu_update_nonce") ?>">
|
197 |
+
</div>
|
198 |
+
</div>
|
199 |
+
<?php } else { ?>
|
200 |
+
<style>
|
201 |
+
div#wpcontent {
|
202 |
+
background: rgba(101,114,219,1);
|
203 |
+
background: -moz-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
|
204 |
+
background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(101,114,219,1)), color-stop(67%, rgba(238,134,198,1)), color-stop(100%, rgba(238,134,198,1)));
|
205 |
+
background: -webkit-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
|
206 |
+
background: -o-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
|
207 |
+
background: -ms-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
|
208 |
+
background: linear-gradient(135deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
|
209 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6572db', endColorstr='#ee86c6', GradientType=1 );
|
210 |
+
}
|
211 |
+
</style>
|
212 |
<div id="mystickymenu" class="wrap mystickymenu">
|
213 |
<div class="sticky-header-menu">
|
214 |
<ul>
|
552 |
<div style="text-align:left;" class="rpt_title rpt_title_0">Basic</div>
|
553 |
<div class="rpt_head rpt_head_0">
|
554 |
<div class="rpt_recurrence rpt_recurrence_0">For small website owners</div>
|
555 |
+
<div class="rpt_price rpt_price_0">$14</div>
|
556 |
<div class="rpt_description rpt_description_0 rpt_desc">Per year. Renewals for 25% off</div>
|
557 |
<div style="clear:both;"></div>
|
558 |
</div>
|
566 |
<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 and remove credit</span>Welcome bar<span class="rpt_tooltip_plus"> +</span></a></div>
|
567 |
<div class="rpt_feature rpt_feature_0-9">
|
568 |
<select data-key="0" class="multiple-options">
|
569 |
+
<option data-header="Renewals for 25% off" data-price="14" value="<?php echo esc_url($pro_url."1") ?>">
|
570 |
<?php esc_html_e("Updates & support for 1 year") ?>
|
571 |
</option>
|
572 |
+
<option data-header="For 3 years" data-price="27" value="<?php echo esc_url($pro_url."4") ?>">
|
573 |
<?php esc_html_e("Updates & support for 3 years") ?>
|
574 |
</option>
|
575 |
+
<option data-header="For lifetime" data-price="45" value="<?php echo esc_url($pro_url."5") ?>">
|
576 |
<?php esc_html_e("Updates & support for lifetime") ?>
|
577 |
</option>
|
578 |
</select>
|
585 |
<div style="text-align:left;" class="rpt_title rpt_title_1">Pro<img class="rpt_recommended" src="<?php echo plugins_url("") ?>/mystickymenu/images/rpt_recommended.png" style="top: 27px;"></div>
|
586 |
<div class="rpt_head rpt_head_1">
|
587 |
<div class="rpt_recurrence rpt_recurrence_1">For businesses with multiple websites</div>
|
588 |
+
<div class="rpt_price rpt_price_1">$39</div>
|
589 |
<div class="rpt_description rpt_description_1 rpt_desc">Per year. Renewals for 25% off</div>
|
590 |
<div style="clear:both;"></div>
|
591 |
</div>
|
599 |
<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 and remove credit</span>Welcome bar<span class="rpt_tooltip_plus"> +</span></a></div>
|
600 |
<div class="rpt_feature rpt_feature_0-9">
|
601 |
<select data-key="0" class="multiple-options">
|
602 |
+
<option data-header="Renewals for 25% off" data-price="39" value="<?php echo esc_url($pro_url."2") ?>">
|
603 |
<?php esc_html_e("Updates & support for 1 year") ?>
|
604 |
</option>
|
605 |
+
<option data-header="For 3 years" data-price="64" value="<?php echo esc_url($pro_url."6") ?>">
|
606 |
<?php esc_html_e("Updates & support for 3 years") ?>
|
607 |
</option>
|
608 |
+
<option data-header="For lifetime" data-price="99" value="<?php echo esc_url($pro_url."7") ?>">
|
609 |
<?php esc_html_e("Updates & support for lifetime") ?>
|
610 |
</option>
|
611 |
</select>
|
618 |
<div style="text-align:left;" class="rpt_title rpt_title_2">Agency</div>
|
619 |
<div class="rpt_head rpt_head_2">
|
620 |
<div class="rpt_recurrence rpt_recurrence_2">For agencies who manage clients</div>
|
621 |
+
<div class="rpt_price rpt_price_2">$89</div>
|
622 |
<div class="rpt_description rpt_description_2 rpt_desc">Per year. Renewals for 25% off</div>
|
623 |
<div style="clear:both;"></div>
|
624 |
</div>
|
632 |
<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 and remove credit</span>Welcome bar<span class="rpt_tooltip_plus"> +</span></a></div>
|
633 |
<div class="rpt_feature rpt_feature_0-9">
|
634 |
<select data-key="0" class="multiple-options">
|
635 |
+
<option data-header="Renewals for 25% off" data-price="89" value="<?php echo esc_url($pro_url."3") ?>">
|
636 |
<?php esc_html_e("Updates & support for 1 year") ?>
|
637 |
</option>
|
638 |
+
<option data-header="For 3 years" data-price="159" value="<?php echo esc_url($pro_url."8") ?>">
|
639 |
<?php esc_html_e("Updates & support for 3 years") ?>
|
640 |
</option>
|
641 |
+
<option data-header="For lifetime" data-price="219" value="<?php echo esc_url($pro_url."9") ?>">
|
642 |
<?php esc_html_e("Updates & support for lifetime") ?>
|
643 |
</option>
|
644 |
</select>
|
669 |
</div>
|
670 |
</div>
|
671 |
</div>
|
672 |
+
<?php }
|
673 |
}
|
674 |
public function mysticky_default_options() {
|
675 |
|
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.2
|
6 |
-
Stable tag: 2.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. Also create a beautiful Welcome bar with it.
|
@@ -257,6 +257,8 @@ After installing the plugin, you’ll have the option to turn on the welcome bar
|
|
257 |
|
258 |
|
259 |
== Changelog ==
|
|
|
|
|
260 |
= 2.2.2 =
|
261 |
Fixed apostrophes bug for Welcome bar
|
262 |
= 2.2.1 =
|
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.2
|
6 |
+
Stable tag: 2.2.3
|
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 bar with it.
|
257 |
|
258 |
|
259 |
== Changelog ==
|
260 |
+
= 2.2.3 =
|
261 |
+
Pro version changes
|
262 |
= 2.2.2 =
|
263 |
Fixed apostrophes bug for Welcome bar
|
264 |
= 2.2.1 =
|