Version Description
- Fix! - Retina logo logic was fixed
Download this release
Release Info
Developer | takanakui |
Plugin | WP Mobile Menu |
Version | 2.7.4.2 |
Comparing to | |
See all releases |
Code changes from version 2.7.4.1 to 2.7.4.2
- includes/class-wp-mobile-menu-core.php +28 -9
- includes/css/mobmenu.css +3 -0
- includes/dynamic-style.php +1 -1
- mobmenu.php +2 -1
- readme.txt +6 -4
includes/class-wp-mobile-menu-core.php
CHANGED
@@ -78,10 +78,25 @@ class WP_Mobile_Menu_Core
|
|
78 |
public function frontend_free_enqueue_scripts()
|
79 |
{
|
80 |
// Load the Free assets.
|
81 |
-
wp_register_script(
|
|
|
|
|
|
|
|
|
|
|
82 |
wp_enqueue_script( 'mobmenujs' );
|
83 |
-
wp_enqueue_style(
|
84 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
}
|
86 |
|
87 |
/**
|
@@ -331,7 +346,7 @@ class WP_Mobile_Menu_Core
|
|
331 |
<div class="mobmenu-left-alignment mobmenu-panel mobmenu-left-panel <?php
|
332 |
echo $mobmenu_parent_link ;
|
333 |
?> ">
|
334 |
-
<a href="#" class="mobmenu-left-bt
|
335 |
_e( 'Left Menu Button', 'mobile-menu' );
|
336 |
?>"><?php
|
337 |
echo $this->mobmenu_close_button( $close_icon ) ;
|
@@ -625,12 +640,16 @@ class WP_Mobile_Menu_Core
|
|
625 |
|
626 |
$output = '<div class="mob-menu-logo-holder">' . $logo_url;
|
627 |
$header_branding = $titan->getOption( 'header_branding' );
|
628 |
-
// If there is a retina logo use only that logo.
|
629 |
-
if ( '' !== $titan->getOption( 'logo_img_retina' ) ) {
|
630 |
-
$logo_img = $logo_img_retina;
|
631 |
-
}
|
632 |
if ( ('logo' === $header_branding || 'logo-text' === $header_branding || 'text-logo' === $header_branding) && '' !== $logo_img ) {
|
633 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
634 |
}
|
635 |
$header_text = '<span>' . $header_text . '</span>';
|
636 |
if ( $header_branding ) {
|
78 |
public function frontend_free_enqueue_scripts()
|
79 |
{
|
80 |
// Load the Free assets.
|
81 |
+
wp_register_script(
|
82 |
+
'mobmenujs',
|
83 |
+
plugins_url( 'js/mobmenu.js', __FILE__ ),
|
84 |
+
array( 'jquery' ),
|
85 |
+
WP_MOBILE_MENU_VERSION
|
86 |
+
);
|
87 |
wp_enqueue_script( 'mobmenujs' );
|
88 |
+
wp_enqueue_style(
|
89 |
+
'cssmobmenu-icons',
|
90 |
+
plugins_url( 'css/mobmenu-icons.css', __FILE__ ),
|
91 |
+
'',
|
92 |
+
WP_MOBILE_MENU_VERSION
|
93 |
+
);
|
94 |
+
wp_enqueue_style(
|
95 |
+
'cssmobmenu',
|
96 |
+
plugins_url( 'css/mobmenu.css', __FILE__ ),
|
97 |
+
'',
|
98 |
+
WP_MOBILE_MENU_VERSION
|
99 |
+
);
|
100 |
}
|
101 |
|
102 |
/**
|
346 |
<div class="mobmenu-left-alignment mobmenu-panel mobmenu-left-panel <?php
|
347 |
echo $mobmenu_parent_link ;
|
348 |
?> ">
|
349 |
+
<a href="#" class="mobmenu-left-bt" aria-label="<?php
|
350 |
_e( 'Left Menu Button', 'mobile-menu' );
|
351 |
?>"><?php
|
352 |
echo $this->mobmenu_close_button( $close_icon ) ;
|
640 |
|
641 |
$output = '<div class="mob-menu-logo-holder">' . $logo_url;
|
642 |
$header_branding = $titan->getOption( 'header_branding' );
|
|
|
|
|
|
|
|
|
643 |
if ( ('logo' === $header_branding || 'logo-text' === $header_branding || 'text-logo' === $header_branding) && '' !== $logo_img ) {
|
644 |
+
// If there is a retina logo use only that logo.
|
645 |
+
|
646 |
+
if ( '' !== $titan->getOption( 'logo_img_retina' ) ) {
|
647 |
+
$logo_img = $logo_img_retina;
|
648 |
+
$logo_output .= '<img class="mob-retina-logo" src="' . $logo_img_retina . '" alt=" ' . __( 'Logo Header Menu', 'mobile-menu' ) . '">';
|
649 |
+
} else {
|
650 |
+
$logo_output .= '<img class="mob-standard-logo" src="' . $logo_img . '" alt=" ' . __( 'Logo Header Menu', 'mobile-menu' ) . '">';
|
651 |
+
}
|
652 |
+
|
653 |
}
|
654 |
$header_text = '<span>' . $header_text . '</span>';
|
655 |
if ( $header_branding ) {
|
includes/css/mobmenu.css
CHANGED
@@ -323,3 +323,6 @@ h4.no-mobile-menu a {
|
|
323 |
text-decoration: underline;
|
324 |
color:#000;
|
325 |
}
|
|
|
|
|
|
323 |
text-decoration: underline;
|
324 |
color:#000;
|
325 |
}
|
326 |
+
.mobmenu-content li a:focus {
|
327 |
+
outline: none;
|
328 |
+
}
|
includes/dynamic-style.php
CHANGED
@@ -570,7 +570,7 @@ echo $right_panel_bg_color ;
|
|
570 |
echo $right_menu_width ;
|
571 |
?>;
|
572 |
}
|
573 |
-
.show-nav-left .
|
574 |
background: <?php
|
575 |
echo $titan->getOption( 'overlay_bg_color' ) ;
|
576 |
?>;
|
570 |
echo $right_menu_width ;
|
571 |
?>;
|
572 |
}
|
573 |
+
.show-nav-left .mobmenu-overlay, .show-nav-right .mobmenu-overlay, .show-mob-menu-search .mobmenu-overlay {
|
574 |
background: <?php
|
575 |
echo $titan->getOption( 'overlay_bg_color' ) ;
|
576 |
?>;
|
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/
|
@@ -15,6 +15,7 @@
|
|
15 |
if ( !defined( 'ABSPATH' ) ) {
|
16 |
die;
|
17 |
}
|
|
|
18 |
define( 'WP_MOBILE_MENU_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
|
19 |
if ( !class_exists( 'WP_Mobile_Menu' ) ) {
|
20 |
/**
|
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.2
|
7 |
* Plugin URI: https://www.wpmobilemenu.com/
|
8 |
* Author: Takanakui
|
9 |
* Author URI: https://www.jedipress.com/
|
15 |
if ( !defined( 'ABSPATH' ) ) {
|
16 |
die;
|
17 |
}
|
18 |
+
define( 'WP_MOBILE_MENU_VERSION', '2.7.4.2' );
|
19 |
define( 'WP_MOBILE_MENU_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
|
20 |
if ( !class_exists( 'WP_Mobile_Menu' ) ) {
|
21 |
/**
|
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,8 @@ Not available at the moment
|
|
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
|
@@ -248,9 +250,9 @@ wrap that uses the translate3d property
|
|
248 |
* Initial Version
|
249 |
|
250 |
== Screenshots ==
|
251 |
-
1. **
|
252 |
-
2. **
|
253 |
-
3. **
|
254 |
4. **Left Menu Demo.**
|
255 |
5. **Right Menu Demo.**
|
256 |
6. **General Options.**
|
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.2
|
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.2 =
|
107 |
+
* Fix! - Retina logo logic was fixed
|
108 |
= 2.7.4.1 =
|
109 |
* Fix! - Overlay wasn't displayed correctly
|
110 |
* Fix! - Click in the Overlay wasn't working
|
250 |
* Initial Version
|
251 |
|
252 |
== Screenshots ==
|
253 |
+
1. **Mobile Menu animated Demo.**
|
254 |
+
2. **Naked Header.**
|
255 |
+
3. **Mobile Menu Demo.**
|
256 |
4. **Left Menu Demo.**
|
257 |
5. **Right Menu Demo.**
|
258 |
6. **General Options.**
|