Version Description
- Fix! - Overlay wasn't displayed correctly
- Fix! - Click in the Overlay wasn't working
- Fix! - Remove the enqueue of hamburgers.min.css
- Fix! - Retina logo issue
- Fix! - Submenu icons disapeared
Download this release
Release Info
Developer | takanakui |
Plugin | WP Mobile Menu |
Version | 2.7.4.1 |
Comparing to | |
See all releases |
Code changes from version 2.7.4 to 2.7.4.1
- includes/css/mobmenu.css +19 -4
- includes/dynamic-style.php +13 -0
- includes/js/mobmenu.js +6 -5
- mobmenu.php +1 -1
- readme.txt +8 -1
includes/css/mobmenu.css
CHANGED
@@ -270,11 +270,26 @@ body.admin-bar .mobmenu {
|
|
270 |
}
|
271 |
.mob-expand-submenu .mob-icon-down-open {
|
272 |
display: block;
|
273 |
-
|
274 |
-
|
275 |
display: none;
|
276 |
-
|
277 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
278 |
/* Search Form Ajax Results */
|
279 |
.mobmenu-ajax-search-results {
|
280 |
display: none;
|
270 |
}
|
271 |
.mob-expand-submenu .mob-icon-down-open {
|
272 |
display: block;
|
273 |
+
}
|
274 |
+
.mob-expand-submenu .mob-icon-up-open {
|
275 |
display: none;
|
276 |
+
}
|
277 |
+
|
278 |
+
.show-nav-left .mobmenu-overlay, .show-nav-right .mobmenu-overlay {
|
279 |
+
width: 100%;
|
280 |
+
height: 100%;
|
281 |
+
z-index: 99999;
|
282 |
+
left: 0;
|
283 |
+
top: 0;
|
284 |
+
opacity: 1;
|
285 |
+
-webkit-transition: -webkit-transform .5s;
|
286 |
+
-moz-transition: -moz-transform .5s;
|
287 |
+
-ms-transition: -ms-transform .5s;
|
288 |
+
-o-transition: -o-transform .5s;
|
289 |
+
transition: transform .5s;
|
290 |
+
position: fixed;
|
291 |
+
cursor: pointer;
|
292 |
+
}
|
293 |
/* Search Form Ajax Results */
|
294 |
.mobmenu-ajax-search-results {
|
295 |
display: none;
|
includes/dynamic-style.php
CHANGED
@@ -124,6 +124,19 @@ if ( 'left' === $titan->getOption( 'header_text_align' ) ) {
|
|
124 |
if ( 'right' === $titan->getOption( 'header_text_align' ) ) {
|
125 |
$header_margin_right = $titan->getOption( 'header_text_right_margin' ) . 'px;';
|
126 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
?>
|
128 |
@media only screen and (min-width:<?php
|
129 |
echo $trigger_res + 1 ;
|
124 |
if ( 'right' === $titan->getOption( 'header_text_align' ) ) {
|
125 |
$header_margin_right = $titan->getOption( 'header_text_right_margin' ) . 'px;';
|
126 |
}
|
127 |
+
if ( $titan->getOption( 'logo_img_retina' ) ) {
|
128 |
+
?>
|
129 |
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
130 |
+
|
131 |
+
.mob-retina-logo {
|
132 |
+
display: inline-block;
|
133 |
+
}
|
134 |
+
.mob-standard-logo {
|
135 |
+
display: none!important;
|
136 |
+
}
|
137 |
+
}
|
138 |
+
<?php
|
139 |
+
}
|
140 |
?>
|
141 |
@media only screen and (min-width:<?php
|
142 |
echo $trigger_res + 1 ;
|
includes/js/mobmenu.js
CHANGED
@@ -17,12 +17,13 @@
|
|
17 |
if ( $(menu).parent().next().hasClass( 'show-sub-menu' ) ) {
|
18 |
$(menu).find('.show-sub-menu' ).hide();
|
19 |
$(menu).toggleClass( 'show-sub');
|
20 |
-
}
|
21 |
-
|
22 |
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
26 |
}
|
27 |
|
28 |
if ( !$( menu ).parent().next().hasClass( 'show-sub-menu' ) ) {
|
17 |
if ( $(menu).parent().next().hasClass( 'show-sub-menu' ) ) {
|
18 |
$(menu).find('.show-sub-menu' ).hide();
|
19 |
$(menu).toggleClass( 'show-sub');
|
20 |
+
} else {
|
21 |
+
if ( ! $( menu ).parents('.show-sub-menu').prev().hasClass('mob-expand-submenu') && submenu[0] !== $('.show-sub-menu')[0] && $( menu ).parent('.sub-menu').length <= 0 ) {
|
22 |
|
23 |
+
$(menu).parent().find( '.show-submenu' ).first().hide().toggleClass( 'show-sub-menu' );
|
24 |
+
$(menu).toggleClass( 'show-sub');
|
25 |
+
|
26 |
+
}
|
27 |
}
|
28 |
|
29 |
if ( !$( menu ).parent().next().hasClass( 'show-sub-menu' ) ) {
|
mobmenu.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/**
|
4 |
* Plugin Name: Mobile Menu
|
5 |
* Description: An easy to use WordPress responsive mobile menu. Keep your mobile visitors engaged.
|
6 |
-
* Version: 2.7.4
|
7 |
* Plugin URI: https://www.wpmobilemenu.com/
|
8 |
* Author: Takanakui
|
9 |
* Author URI: https://www.jedipress.com/
|
3 |
/**
|
4 |
* Plugin Name: Mobile Menu
|
5 |
* Description: An easy to use WordPress responsive mobile menu. Keep your mobile visitors engaged.
|
6 |
+
* Version: 2.7.4.1
|
7 |
* Plugin URI: https://www.wpmobilemenu.com/
|
8 |
* Author: Takanakui
|
9 |
* Author URI: https://www.jedipress.com/
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ link: http://profiles.wordpress.org/takanakui
|
|
4 |
Tags: mobile, navigation, responsive, menu, responsive menu, mobile menu, tablet menu, hamburger menu, hamburger, wordpress responsive menu, wordpress mobile menu, canvas menu
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.2
|
7 |
-
Stable tag: 2.7.4
|
8 |
Requires PHP: 5.6
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -103,6 +103,13 @@ Not available at the moment
|
|
103 |
== Changelog ==
|
104 |
|
105 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
= 2.7.4 =
|
107 |
* New! - Import/Export functionality
|
108 |
* New! - Enable only in Mobile Devices Option
|
4 |
Tags: mobile, navigation, responsive, menu, responsive menu, mobile menu, tablet menu, hamburger menu, hamburger, wordpress responsive menu, wordpress mobile menu, canvas menu
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.2
|
7 |
+
Stable tag: 2.7.4.1
|
8 |
Requires PHP: 5.6
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
103 |
== Changelog ==
|
104 |
|
105 |
|
106 |
+
= 2.7.4.1 =
|
107 |
+
* Fix! - Overlay wasn't displayed correctly
|
108 |
+
* Fix! - Click in the Overlay wasn't working
|
109 |
+
* Fix! - Remove the enqueue of hamburgers.min.css
|
110 |
+
* Fix! - Retina logo issue
|
111 |
+
* Fix! - Submenu icons disapeared
|
112 |
+
|
113 |
= 2.7.4 =
|
114 |
* New! - Import/Export functionality
|
115 |
* New! - Enable only in Mobile Devices Option
|