-
AuthorPosts
-
July 20, 2017 at 1:43 pm #824588
I’m using the Zen Menu Logic plugin to display a different custom menu on certain pages.
On Mobile devices the custom menu is hidden (not visible) – so mobile menu only shows for pages with the main menu and those with custom menu selected have no mobile menu.Any advice?
July 21, 2017 at 5:09 am #824956Hey Cordell,
Could you post a link to the site in question so that we can take a closer look please?
Best regards,
RikardJuly 21, 2017 at 10:18 am #825056This reply has been marked as private.July 25, 2017 at 9:14 pm #829800Hi,
If that plugin is disabled, does eveyrthing work properly?
Best regards,
BasilisJuly 26, 2017 at 12:01 pm #830121Yes! But then it does not show the menu I want on the “portrait photography” pages, which is why Zen Menu is being used. If Zen is disabled, the menu selected for main menu shows on all pages for the mobile menu.
I need to show a different menu on some pages, Zen Menu Logic is the plugin reccomended for that in your forums, and this has worked before on other sites I have made on earlier versions of Enfold. Just not working this time, mobile menu does not show on the pages when Zen is used to display the other menu.July 30, 2017 at 9:12 pm #831903Hi,
Then the issue us related with the plugin and there are not a lot of what we can do for you.
Please do consider to contact the plugin provider, who will be able to help you with it.Thank you
Best regards,
BasilisAugust 8, 2017 at 6:07 pm #835959Having the same issue. I tried another plugin as well- Conditional Menus – and in both cases the secondary menu vanishes on the mobile side. Both plugins work perfectly on the desktop.
August 12, 2017 at 3:57 pm #837931Hi mmaack,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaAugust 14, 2017 at 4:45 pm #838764This reply has been marked as private.August 14, 2017 at 5:46 pm #838827Hi mmaack,
The hamburger icon menu item is not appended to the menu.
A plugin conflict may be one of the reason for this issue.
To find which plugin is causing the conflict please follow these steps:1. Go to your plugins page > Deactivate all active Plugins
2. Update WordPress and Enfold to latest version if you have not.
3. Make sure all the plugins are updated.
4. If the problem does not persist when plugins are turned off, activate one plugin at a time and refresh until you find the plugin in conflict.We await the results of your plugin compatibility test.
Thanks for your cooperation :)
Best regards,
VictoriaAugust 14, 2017 at 5:56 pm #838836Wordpress and Enfold are, and have been, up to date.
All Plugins de=activated. Only the main menu shows up in mobile view. I need custom menus for location specific pages.
Re-activated Conditional Menus, it works in desktop view, it disappears in mobile view.
De-activated Conditional Menus, cleared cache, enabled Zen Menu Logic, it works in desktop view, custom menus vanish in mobile view.These are the only plugins related to the menu, neither of which are active at the same time.
These plugins worked before the latest Enfold update and work fine on test sites not using the Enfold theme.
August 15, 2017 at 9:28 am #839128This is exactly the same problem I have been having. It all worked perfectly on the previous version of Enfold. It also works fine on the default WordPress theme. Zen Menu logic is the solution previously suggested on Enfold forums for creating custom menus on specific pages. Do you think we will get a work around or permanent solution?
August 15, 2017 at 3:59 pm #839371Hi all,
I have reported this issue to our developers. They will be looking into this.
Thank you for your patience.
Best regards,
VictoriaAugust 19, 2017 at 12:11 pm #841258Hi Victoria,
I’m having the same problem (with Zen menu logic plugin) and looking for solutions.
I’ll follow this thread to be up to date when developers will find a solution.Thanks!
Theau
August 19, 2017 at 5:25 pm #841320Hi,
There are two new fixes for the Zen menu logic plugin.
1) in enfold/functions-enfold.php on line 163 find:if( class_exists( 'ZenOfWPMenuLogic' ) )
change to
if( class_exists( 'ZenOfWPMenuLogic' ) || class_exists( 'Themify_Conditional_Menus' ) )
2) For Zen Menu Logic breaks burger menu icon, in /enfold/functions-enfold.php on line 131 just above:
/* Append the burger menu */
add
/* Fix for Zen Menu Logic plugin - removes theme location from menu array to exchange the menus */ if( ! function_exists( 'avia_save_menu_location' ) ) { add_filter('wp_nav_menu_args', 'avia_save_menu_location', 1, 1 ); function avia_save_menu_location( $args ) { global $avia_config; $avia_config['current_menu_location_output'] = isset( $args['theme_location'] ) ? $args['theme_location'] : ''; return $args; } }
also on line 141 change:
if ((is_object($args) && $args->theme_location == 'avia') || (is_string($args) && $args = "fallback_menu"))
to
global $avia_config; $location = ( is_object( $args ) && isset( $args->theme_location ) ) ? $args->theme_location : ''; /* Bugfix for for Zen Menu Logic plugin - removed theme location from menu array to exchange the menus */ if( class_exists( 'ZenOfWPMenuLogic' ) ) { $location = isset( $avia_config['current_menu_location_output'] ) ? $avia_config['current_menu_location_output'] : ''; } if ((is_object($args) && $location == 'avia') || (is_string($args) && $args = "fallback_menu"))
If you feel un-comfortable with these changes, you can wait for the next update to include them.
Please backup files before making changes.Best regards,
MikeAugust 21, 2017 at 5:06 pm #842098Thanks for the reply! Unfortunately I don’t have the if( class_exists( ‘ZenOfWPMenuLogic’ ) ) line in my functions-enfold.php file so I’m not exactly sure where to add these functions. I guess I’ll make a backup and do some testing.
Do you have the entire block of code for the menu section? It appears the Zen Menu section was an addition as well. None of my sites that I have registered with Enfold reference the Zen Menu Login plugin in the functions-enfold.php.
Cheers,
M- This reply was modified 7 years, 2 months ago by mmaack.
August 24, 2017 at 10:45 am #843382Hi,
Please update file enfold\functions-enfold.php. Please replace the complete content of this file with the RAW paste content of
This link is valid for one week. Make sure to make a copy of the original file to have a fallback and that you are using Enfold 4.1.2.
Please clear your browser cache, Server cache and reload the page (sometimes you need to close the browser and reopen a new browser window and reload the page several times).
If you have problem we can do the update for you, please give us FTP access to your server.
Best regards,
GünterAugust 24, 2017 at 6:17 pm #843642Worked like a champ! Thanks a bunch!!!
Is this going to be included in the next Enfold update or should I hang on to this file?
Cheers,
MAugust 26, 2017 at 10:00 pm #844446Günter!
Thank you very very much finaly I’ve me Second hamburger on smartphones.
Again thank you guys.
Sheers Olivier
August 29, 2017 at 4:41 am #845160Hi,
Yes, it’s going to be included in the next patch. Thank you for the update.
Best regards,
IsmaelSeptember 1, 2017 at 4:38 pm #846908Hi Günter!
Can you make the contents of the file enfold \ functions-enfold.php accessible again.
I arrived too late to copy it ;)
Thanks in advance.
David
- This reply was modified 7 years, 2 months ago by davidstultiens.
September 3, 2017 at 5:43 am #847289Hi,
Please see Private Content area for link,
Make sure to save a copy of the original file to have a fallback and that you are using Enfold 4.1.2.
Please clear your browser cache, Server cache and reload the page (sometimes you need to close the browser and reopen a new browser window and reload the page several times).Best regards,
MikeSeptember 3, 2017 at 11:04 am #847359Hello Mike!
Thank you for your reply. I’m connected but the Pastebin link is no longer valid (This page has been removed!).David
September 3, 2017 at 3:25 pm #847393Hi,
The link is in the Private Content area
Let us know we you have it, so I can close this thread.
This is a part of the coming update.
Make sure to save a copy of the original file to have a fallback and that you are using Enfold 4.1.2.
Please clear your browser cache, Server cache and reload the page (sometimes you need to close the browser and reopen a new browser window and reload the page several times).Best regards,
MikeSeptember 3, 2017 at 4:12 pm #847400Mike,
I downloaded the file, I will try it tonight and I come back to you if necessary.
Thanks again for your help!
David
September 3, 2017 at 4:24 pm #847402 -
AuthorPosts
- The topic ‘Zen Menu Logic not working with New Enfold Mobile Menu’ is closed to new replies.