• Resolved AJD

    (@ajd)


    When I updated to 1.8.3 my menu was duplicated so now there are two menus where there should be one.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author quadlayers

    (@quadlayers)

    hello

    what is your current theme?

    I’m having this same issue, using the Hello Elementor theme (v2.2.1). This is the latest theme in the WordPress repo, not the older GitHub version.

    Plugin Author quadlayers

    (@quadlayers)

    hello @webmagi

    this issue is usually related to the theme

    probably your theme is including the wp_nav_menu function twice for the same location

    Hi @quadlayers

    The only place in the Hello Elementor theme where the “wp_nav_menu” function is used is here:

    <?php if ( has_nav_menu( 'menu-1' ) ) : ?>
    	<nav class="site-navigation" role="navigation">
    		<?php wp_nav_menu( array( 'theme_location' => 'menu-1' ) ); ?>
    	</nav>
    	<?php endif; ?>

    And it’s only used once.

    It should be noted also that if I create an Elementor template that only uses Elementor’s default Nav Menu (and not a QuadMenu), there is no duplication of the menus. The duplication only occurs with QuadMenus.

    • This reply was modified 5 years, 2 months ago by WebMagi.
    Plugin Author quadlayers

    (@quadlayers)

    probably the theme is including the menu twice, one for desktop and other for mobile

    this is very common and poor practice

    there is nothing we can do from our side, I’m afraid you’ll have to contact your theme developer

    maybe you can hide the secondary menu with some CSS rules

    I’ve built more than a dozen websites with Elementor (using their Hello theme), and until I installed your plugin, I never once experienced a double nav menu problem.

    As I previously stated, the menu only shows up twice when your QuadMenu is used in the header instead of Elementor’s default nav menu. If I delete your menu, and add Elementor’s own menu back to the header template, the double menu issue goes away. Based on this finding, seems to me it’s the QuadMenu module for Elementor that is broken somehow, and does not play well with Elementor’s own Hello theme.

    Perhaps the Elementor team corrected the issue you describe here: https://quadmenu.com/documentation/integration/elementor/, so that now your module is actually adding a second instance of the menu?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Updating to 1.8.3 causes my menus to be duplicated’ is closed to new replies.