Viewing 26 posts - 1 through 26 (of 26 total)
  • Author
    Posts
  • #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?

    #824956

    Hey Cordell,

    Could you post a link to the site in question so that we can take a closer look please?

    Best regards,
    Rikard

    #825056
    This reply has been marked as private.
    #829800

    Hi,

    If that plugin is disabled, does eveyrthing work properly?

    Best regards,
    Basilis

    #830121

    Yes! 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.

    #831903

    Hi,

    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,
    Basilis

    #835959

    Having 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.

    #837931

    Hi 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,
    Victoria

    #838764
    This reply has been marked as private.
    #838827

    Hi 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,
    Victoria

    #838836

    Wordpress 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.

    #839128

    This 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?

    #839371

    Hi all,

    I have reported this issue to our developers. They will be looking into this.

    Thank you for your patience.
    Best regards,
    Victoria

    #841258

    Hi 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

    #841320

    Hi,
    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,
    Mike

    #842098

    Thanks 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.
    #843382

    Hi,

    Please update file enfold\functions-enfold.php. Please replace the complete content of this file with the RAW paste content of

    https://pastebin.com/wD44ahLU

    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ünter

    #843642

    Worked 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,
    M

    #844446

    Günter!

    Thank you very very much finaly I’ve me Second hamburger on smartphones.

    Again thank you guys.

    Sheers Olivier

    #845160

    Hi,

    Yes, it’s going to be included in the next patch. Thank you for the update.

    Best regards,
    Ismael

    #846908

    Hi 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

    #847289

    Hi,
    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,
    Mike

    #847359

    Hello Mike!
    Thank you for your reply. I’m connected but the Pastebin link is no longer valid (This page has been removed!).

    David

    #847393

    Hi,
    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,
    Mike

    #847400

    Mike,

    I downloaded the file, I will try it tonight and I come back to you if necessary.

    Thanks again for your help!

    David

    #847402

    Hi,
    Glad to hear, we will close this now. If you are still have trouble, please open a new support ticket. This one is getting out of hand :)
    Thank you for using Enfold.

    Best regards,
    Mike

Viewing 26 posts - 1 through 26 (of 26 total)
  • The topic ‘Zen Menu Logic not working with New Enfold Mobile Menu’ is closed to new replies.