admin管理员组文章数量:1410688
I'm wanting to merge two menus (actually 6 menus) that are used throughout the site into one large menu. I don't want to do this with PHP as I want the menu to be displayed using Elementor.
So far I have not found any way to do this without manually re-created a larger menu. These menus for my client are... pretty big.
I've tried using a menu plugin, none as far as I know allows this. I tried using a shortcode in menus plugin but it did not render properly.
Any suggestions?
I'm wanting to merge two menus (actually 6 menus) that are used throughout the site into one large menu. I don't want to do this with PHP as I want the menu to be displayed using Elementor.
So far I have not found any way to do this without manually re-created a larger menu. These menus for my client are... pretty big.
I've tried using a menu plugin, none as far as I know allows this. I tried using a shortcode in menus plugin but it did not render properly.
Any suggestions?
Share Improve this question asked Nov 15, 2019 at 19:30 Harrison MiracleHarrison Miracle 233 bronze badges1 Answer
Reset to default 0<div class="menu-wrapper">
<div class="menu1">
<?php
wp_nav_menu( array(
'theme_location' => 'menu-1',
'menu_id' => 'top-menu',
) );
?>
</div>
<div class="menu2">
<?php
wp_nav_menu( array(
'theme_location' => 'menu-2',
'menu_id' => 'main-menu',
) );
?>
</div>
</div>
本文标签: pluginsMerging Two menus in the backend into one menu
版权声明:本文标题:plugins - Merging Two menus in the backend into one menu 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744816865a2626749.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论