Version Description
Download this release
Release Info
Developer | Magnigenie |
Plugin | WP Responsive Menu |
Version | 3.1.1 |
Comparing to | |
See all releases |
Code changes from version 3.1 to 3.1.1
- css/wprmenu.css +0 -1
- inc/css/sweetalert2.min.css +0 -0
- inc/images/8.gif +0 -0
- inc/includes/untitled.php +0 -0
- inc/js/sweetalert2.all.min.js +0 -0
- inc/js/wpr-exit-intent.js +0 -0
- inc/wprmclass.php +56 -8
- languages/en.mo +0 -0
- languages/en.po +0 -0
- languages/wprmenu.pot +0 -0
- readme.txt +42 -30
- wp-responsive-menu.php +1 -2
css/wprmenu.css
CHANGED
@@ -36,7 +36,6 @@ html body.wprmenu-body-fixed {
|
|
36 |
}
|
37 |
|
38 |
html body div.wprm-wrapper {
|
39 |
-
position: fixed;
|
40 |
overflow: scroll;
|
41 |
z-index: 999999;
|
42 |
width: 100%;
|
36 |
}
|
37 |
|
38 |
html body div.wprm-wrapper {
|
|
|
39 |
overflow: scroll;
|
40 |
z-index: 999999;
|
41 |
width: 100%;
|
inc/css/sweetalert2.min.css
CHANGED
File without changes
|
inc/images/8.gif
CHANGED
File without changes
|
inc/includes/untitled.php
CHANGED
File without changes
|
inc/js/sweetalert2.all.min.js
CHANGED
File without changes
|
inc/js/wpr-exit-intent.js
CHANGED
File without changes
|
inc/wprmclass.php
CHANGED
@@ -423,7 +423,7 @@ class WP_Responsive_Menu {
|
|
423 |
*
|
424 |
* @since 3.1
|
425 |
*/
|
426 |
-
|
427 |
?>
|
428 |
|
429 |
<div class="hamburger <?php echo $menu_icon_animation; ?>">
|
@@ -461,7 +461,7 @@ class WP_Responsive_Menu {
|
|
461 |
* Before Menu Elements Filter Hook
|
462 |
* @since 3.1
|
463 |
*/
|
464 |
-
|
465 |
?>
|
466 |
|
467 |
<?php
|
@@ -519,7 +519,7 @@ class WP_Responsive_Menu {
|
|
519 |
* After Menu Elements Filter Hook
|
520 |
* @since 3.1
|
521 |
*/
|
522 |
-
|
523 |
?>
|
524 |
</ul>
|
525 |
|
@@ -530,7 +530,7 @@ class WP_Responsive_Menu {
|
|
530 |
*
|
531 |
* @since 3.1
|
532 |
*/
|
533 |
-
|
534 |
?>
|
535 |
</div>
|
536 |
</div>
|
@@ -538,12 +538,60 @@ class WP_Responsive_Menu {
|
|
538 |
endif;
|
539 |
}
|
540 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
541 |
/**
|
542 |
*
|
543 |
* Show custom css from the plugin settings
|
544 |
*
|
545 |
* @since 3.1
|
546 |
-
* @param
|
547 |
* @return string
|
548 |
*/
|
549 |
public function wpr_custom_css() {
|
@@ -566,7 +614,7 @@ class WP_Responsive_Menu {
|
|
566 |
* Save settings into transient
|
567 |
*
|
568 |
* @since 3.1
|
569 |
-
* @param
|
570 |
* @return array
|
571 |
*/
|
572 |
public function wpr_live_update() {
|
@@ -581,7 +629,7 @@ class WP_Responsive_Menu {
|
|
581 |
* Get demo settings from the file
|
582 |
*
|
583 |
* @since 3.1
|
584 |
-
* @param
|
585 |
* @return json object
|
586 |
*/
|
587 |
public function wprmenu_import_data() {
|
@@ -659,7 +707,7 @@ class WP_Responsive_Menu {
|
|
659 |
* Get settings from transient and save into options api
|
660 |
*
|
661 |
* @since 3.1
|
662 |
-
* @param
|
663 |
* @return json object
|
664 |
*/
|
665 |
public function wpr_get_transient_from_data() {
|
423 |
*
|
424 |
* @since 3.1
|
425 |
*/
|
426 |
+
apply_filters('before_wp_responsive_menu_header', 'before_menu_header');
|
427 |
?>
|
428 |
|
429 |
<div class="hamburger <?php echo $menu_icon_animation; ?>">
|
461 |
* Before Menu Elements Filter Hook
|
462 |
* @since 3.1
|
463 |
*/
|
464 |
+
apply_filters('before_wp_responsive_menu_element', 'before_menu_elements');
|
465 |
?>
|
466 |
|
467 |
<?php
|
519 |
* After Menu Elements Filter Hook
|
520 |
* @since 3.1
|
521 |
*/
|
522 |
+
apply_filters('after_wp_responsive_menu_element', 'after_menu_element');
|
523 |
?>
|
524 |
</ul>
|
525 |
|
530 |
*
|
531 |
* @since 3.1
|
532 |
*/
|
533 |
+
apply_filters('after_wp_responsive_menu_header', 'after_menu_header');
|
534 |
?>
|
535 |
</div>
|
536 |
</div>
|
538 |
endif;
|
539 |
}
|
540 |
|
541 |
+
/**
|
542 |
+
*
|
543 |
+
* Before menu elements filter
|
544 |
+
*
|
545 |
+
* @since 3.1
|
546 |
+
* @param string
|
547 |
+
* @return string
|
548 |
+
*/
|
549 |
+
function before_menu_elements($before_menu_elements) {
|
550 |
+
return $before_menu_elements;
|
551 |
+
}
|
552 |
+
|
553 |
+
/**
|
554 |
+
*
|
555 |
+
* After menu elements filter
|
556 |
+
*
|
557 |
+
* @since 3.1
|
558 |
+
* @param string
|
559 |
+
* @return string
|
560 |
+
*/
|
561 |
+
function after_menu_element($after_menu_element) {
|
562 |
+
return $after_menu_element;
|
563 |
+
}
|
564 |
+
|
565 |
+
/**
|
566 |
+
*
|
567 |
+
* Before menu header filter
|
568 |
+
*
|
569 |
+
* @since 3.1
|
570 |
+
* @param string
|
571 |
+
* @return string
|
572 |
+
*/
|
573 |
+
function before_menu_header($before_menu_header) {
|
574 |
+
return $before_menu_header;
|
575 |
+
}
|
576 |
+
|
577 |
+
/**
|
578 |
+
*
|
579 |
+
* After menu elements filter
|
580 |
+
*
|
581 |
+
* @since 3.1
|
582 |
+
* @param string
|
583 |
+
* @return string
|
584 |
+
*/
|
585 |
+
function after_menu_header($after_menu_header) {
|
586 |
+
return $after_menu_header;
|
587 |
+
}
|
588 |
+
|
589 |
/**
|
590 |
*
|
591 |
* Show custom css from the plugin settings
|
592 |
*
|
593 |
* @since 3.1
|
594 |
+
* @param empty
|
595 |
* @return string
|
596 |
*/
|
597 |
public function wpr_custom_css() {
|
614 |
* Save settings into transient
|
615 |
*
|
616 |
* @since 3.1
|
617 |
+
* @param empty
|
618 |
* @return array
|
619 |
*/
|
620 |
public function wpr_live_update() {
|
629 |
* Get demo settings from the file
|
630 |
*
|
631 |
* @since 3.1
|
632 |
+
* @param empty
|
633 |
* @return json object
|
634 |
*/
|
635 |
public function wprmenu_import_data() {
|
707 |
* Get settings from transient and save into options api
|
708 |
*
|
709 |
* @since 3.1
|
710 |
+
* @param empty
|
711 |
* @return json object
|
712 |
*/
|
713 |
public function wpr_get_transient_from_data() {
|
languages/en.mo
CHANGED
File without changes
|
languages/en.po
CHANGED
File without changes
|
languages/wprmenu.pot
CHANGED
File without changes
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== WP Responsive Menu ===
|
2 |
Contributors: sagarseth9,magnigenie,kshirod-patel
|
3 |
-
Tags: WordPress Responsive Menu, Genesis responsive menu, Genesis Mobile Menu, Thesis Mobile Menu, Thesis Responsive Menu, Mobile Menu, Responsive Menu Plugin, WP Responsive Menu, WordPress mobile menu
|
4 |
Requires at least: 3.0
|
5 |
Requires PHP: 5.4
|
6 |
Tested up to: 5.0.3
|
7 |
-
Stable tag: 3.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -14,14 +14,9 @@ WP Responsive Menu turns your WordPress menu to a highly customizable sliding re
|
|
14 |
|
15 |
WP Responsive Menu is a simple plugin that lets you add a highly customizable responsive menu to any WordPress site in no time at all and customization can all be done directly from the setting page, with no coding needed at all.
|
16 |
|
17 |
-
[youtube https://www.youtube.com/watch?v=6_XqAfZoRJ8]
|
18 |
-
|
19 |
= Benefits: =
|
20 |
-
* Completely change your mobile menu with just one click.
|
21 |
-
* 1 Click Demo Import to setup menu options super fast.
|
22 |
* Get a nice looking slide menu in less than a minute.
|
23 |
* Makes your site menu work better on mobile devices.
|
24 |
-
* Helps you to ranke better on google mobile friendly test.
|
25 |
* Easy to customize without any coding skills.
|
26 |
* Allows you to set the menu open direction to top/bottom/left/right to match your needs.
|
27 |
* Option to chnage menu icon animation to match your site.
|
@@ -31,26 +26,28 @@ WP Responsive Menu is a simple plugin that lets you add a highly customizable re
|
|
31 |
* Provides better option to open/close menu with simple swipe gestures.
|
32 |
* Easily configure font sizes and styles from the settings.
|
33 |
* Gives you flexibility to add a search box inside menu.
|
34 |
-
*
|
|
|
35 |
* Option to display the search option on menu bar(PRO).
|
36 |
* Integrates flawlessly with WooCommerce(PRO).
|
37 |
* Better support for RTL sites(PRO).
|
38 |
* Allows to add social media icons to menu(PRO).
|
39 |
* You can easily change the menu fonts with any custom/google fonts(PRO).
|
40 |
* Change the sub menu and menu icons easily(PRO).
|
41 |
-
*
|
42 |
* And much more coming soon...
|
43 |
|
44 |
This plugin works out of box with any theme frameworks like genesis or thesis or any theme and it also works fine with multisite setups.
|
45 |
|
46 |
-
|
47 |
-
[
|
48 |
|
49 |
-
|
|
|
50 |
|
51 |
-
If you
|
52 |
|
53 |
-
|
54 |
|
55 |
== Installation ==
|
56 |
1. Go to your admin area and select Plugins -> Add new from the menu.
|
@@ -59,38 +56,53 @@ If you have any suggestions for a new plugin, feel free to email us at support@
|
|
59 |
4. Click activate.
|
60 |
5. Once the plugin is installed then you can see WPR Menu on the left navigation bar of WordPress Dashboard.
|
61 |
|
62 |
-
==
|
|
|
|
|
|
|
|
|
63 |
|
64 |
-
|
|
|
65 |
|
66 |
-
|
|
|
|
|
|
|
|
|
67 |
|
68 |
-
|
69 |
|
70 |
-
|
71 |
|
72 |
-
|
73 |
|
74 |
-
|
75 |
|
76 |
-
|
77 |
|
78 |
-
|
79 |
|
80 |
-
|
81 |
|
82 |
-
|
83 |
|
84 |
-
|
85 |
|
86 |
-
|
87 |
|
88 |
-
|
|
|
|
|
89 |
|
90 |
-
14. Demo import settings.
|
91 |
|
92 |
== ChangeLog ==
|
93 |
|
|
|
|
|
|
|
|
|
|
|
94 |
= Version 3.1 =
|
95 |
|
96 |
* Added developer hooks for before menu element and after menu element
|
@@ -197,6 +209,6 @@ If you have any suggestions for a new plugin, feel free to email us at support@
|
|
197 |
|
198 |
== Upgrade Notice ==
|
199 |
|
200 |
-
= Version 3.
|
201 |
|
202 |
* New update is available.
|
1 |
=== WP Responsive Menu ===
|
2 |
Contributors: sagarseth9,magnigenie,kshirod-patel
|
3 |
+
Tags: WordPress Responsive Menu, Genesis responsive menu, Genesis Mobile Menu, Thesis Mobile Menu, Thesis Responsive Menu, Mobile Menu, Responsive Menu Plugin, WP Responsive Menu, WordPress mobile menu, WP Mobile Menu,
|
4 |
Requires at least: 3.0
|
5 |
Requires PHP: 5.4
|
6 |
Tested up to: 5.0.3
|
7 |
+
Stable tag: 3.1.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
14 |
|
15 |
WP Responsive Menu is a simple plugin that lets you add a highly customizable responsive menu to any WordPress site in no time at all and customization can all be done directly from the setting page, with no coding needed at all.
|
16 |
|
|
|
|
|
17 |
= Benefits: =
|
|
|
|
|
18 |
* Get a nice looking slide menu in less than a minute.
|
19 |
* Makes your site menu work better on mobile devices.
|
|
|
20 |
* Easy to customize without any coding skills.
|
21 |
* Allows you to set the menu open direction to top/bottom/left/right to match your needs.
|
22 |
* Option to chnage menu icon animation to match your site.
|
26 |
* Provides better option to open/close menu with simple swipe gestures.
|
27 |
* Easily configure font sizes and styles from the settings.
|
28 |
* Gives you flexibility to add a search box inside menu.
|
29 |
+
* Gives you ability to import predefined demos in your site just by doing a single click.
|
30 |
+
* Developer friendly hooks
|
31 |
* Option to display the search option on menu bar(PRO).
|
32 |
* Integrates flawlessly with WooCommerce(PRO).
|
33 |
* Better support for RTL sites(PRO).
|
34 |
* Allows to add social media icons to menu(PRO).
|
35 |
* You can easily change the menu fonts with any custom/google fonts(PRO).
|
36 |
* Change the sub menu and menu icons easily(PRO).
|
37 |
+
* Widget Menu Support(PRO).
|
38 |
* And much more coming soon...
|
39 |
|
40 |
This plugin works out of box with any theme frameworks like genesis or thesis or any theme and it also works fine with multisite setups.
|
41 |
|
42 |
+
== Wp Responsive Menu Demo ==
|
43 |
+
Check [WP Responsive Menu Demo](http://demo.magnigenie.com/wp-responsive-menu-pro/menu-demo/) for both free and pro demo
|
44 |
|
45 |
+
== Important Notes ==
|
46 |
+
[Upgrade to PRO](http://magnigenie.com/wp-responsive-menu-pro/) to avail better support and unrestricted access to WP Responsive Menu.
|
47 |
|
48 |
+
[Menu Icons by ThemeIsle](https://wordpress.org/plugins/menu-icons/) Plugin has been used in our demo for the icons. If you want to show the icons in the menu you need to install that plugin.
|
49 |
|
50 |
+
If you have any suggestions for a new plugin, feel free to email us at info@magnigenie.com.
|
51 |
|
52 |
== Installation ==
|
53 |
1. Go to your admin area and select Plugins -> Add new from the menu.
|
56 |
4. Click activate.
|
57 |
5. Once the plugin is installed then you can see WPR Menu on the left navigation bar of WordPress Dashboard.
|
58 |
|
59 |
+
== Frequently Asked Questions ==
|
60 |
+
|
61 |
+
= How to show icons in the menu just like your demo? =
|
62 |
+
You need to use [Menu Icons by ThemeIsle](https://wordpress.org/plugins/menu-icons/)
|
63 |
+
and add icons to the menu.
|
64 |
|
65 |
+
= I have an issue. Where should I contact you? =
|
66 |
+
You need to contact us at support@magnigenie.com with your issue as much as in details. Like which version of wordpress and which version of our plugin you are using. You can send us screenshots for those issues.
|
67 |
|
68 |
+
= I have a plugin suggestion. Can you do that? =
|
69 |
+
Yes of course. We are always ready to convert your ideas into a plugin. Contact us at info@magnigenie.com so that we can discuss further.
|
70 |
+
|
71 |
+
|
72 |
+
== Screenshots ==
|
73 |
|
74 |
+
1. General settings.
|
75 |
|
76 |
+
2. Appearance settings.
|
77 |
|
78 |
+
3. Widget Menu settings.
|
79 |
|
80 |
+
4. Colors settings.
|
81 |
|
82 |
+
5. Fonts settings.
|
83 |
|
84 |
+
6. Icons settings.
|
85 |
|
86 |
+
7. Social settings.
|
87 |
|
88 |
+
8. Demo import settings.
|
89 |
|
90 |
+
9. Live Preview
|
91 |
|
92 |
+
10. Predefined demo
|
93 |
|
94 |
+
11. Frontend screen view
|
95 |
+
|
96 |
+
12. Frontend menu screen view
|
97 |
|
|
|
98 |
|
99 |
== ChangeLog ==
|
100 |
|
101 |
+
= Version 3.1.1 =
|
102 |
+
|
103 |
+
* Fixed issue for constant
|
104 |
+
* Fixed issue for menu on iPhone device
|
105 |
+
|
106 |
= Version 3.1 =
|
107 |
|
108 |
* Added developer hooks for before menu element and after menu element
|
209 |
|
210 |
== Upgrade Notice ==
|
211 |
|
212 |
+
= Version 3.1 =
|
213 |
|
214 |
* New update is available.
|
wp-responsive-menu.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP Responsive Menu
|
4 |
Plugin URI: http://magnigenie.com/wp-responsive-menu-mobile-menu-plugin-wordpress/
|
5 |
Description: WP Responsive Menu is mobile menu plugin that lets you add a highly customizable responsive menu to any WordPress site in no time.
|
6 |
-
Version: 3.1
|
7 |
Author: MagniGenie
|
8 |
Author URI: http://magnigenie.com
|
9 |
License: GPLv2 or later
|
@@ -17,7 +17,6 @@ define( 'MG_WPRM_FILE', __FILE__ );
|
|
17 |
define( 'MG_WPRM_PATH', plugin_dir_path( __FILE__ ) );
|
18 |
define( 'MG_WPRM_BASE', plugin_basename( __FILE__ ) );
|
19 |
define( 'MG_WPRM_BASE_NAME', basename( dirname( __FILE__ ) ) );
|
20 |
-
define( 'MG_WPRM_BASE_NAME', basename( dirname( __FILE__ ) ) );
|
21 |
define( 'MG_WPRM_DEMO_SITE_URL', 'http://demo.magnigenie.com/wp-responsive-menu-pro' );
|
22 |
|
23 |
add_action('plugins_loaded', 'wprmenu_load_textdomain');
|
3 |
Plugin Name: WP Responsive Menu
|
4 |
Plugin URI: http://magnigenie.com/wp-responsive-menu-mobile-menu-plugin-wordpress/
|
5 |
Description: WP Responsive Menu is mobile menu plugin that lets you add a highly customizable responsive menu to any WordPress site in no time.
|
6 |
+
Version: 3.1.1
|
7 |
Author: MagniGenie
|
8 |
Author URI: http://magnigenie.com
|
9 |
License: GPLv2 or later
|
17 |
define( 'MG_WPRM_PATH', plugin_dir_path( __FILE__ ) );
|
18 |
define( 'MG_WPRM_BASE', plugin_basename( __FILE__ ) );
|
19 |
define( 'MG_WPRM_BASE_NAME', basename( dirname( __FILE__ ) ) );
|
|
|
20 |
define( 'MG_WPRM_DEMO_SITE_URL', 'http://demo.magnigenie.com/wp-responsive-menu-pro' );
|
21 |
|
22 |
add_action('plugins_loaded', 'wprmenu_load_textdomain');
|