Hey Folks!
I am looking for the best WP practises to handle mega large menu. My navigation menu has about 400 links, so if I create just a single menu, then it looks so ugly... I could divide it into many sub menus but don't know how to do it in right way.
Thinking of creating the main menus and say 10 sub menus. That will look much better, but then how my php script should look like? Now I have this script :
<div class="col-md-12">
<?php
wp_nav_menu( array(
'theme_location' => 'primary',
'container' => 'div',
'container_class' => 'navbar-collapse navbar-main-collapse',
'menu_class' => 'nav navbar-nav',
'fallback_cb' => 'wp_bootstrap_navwalker::fallback',
'walker' => new wp_bootstrap_navwalker())
);
?>
</div>
Thanks in advance.
PS. My menu sort of this:
main menu -
1. item-1
- sub-1
- subsub-1
* subsubsub-1....10
- subsub-2 ....
* subsubsub-1....10
- subsub-20
* subsubsub-1....10
- sub-2 ....
- subsub-1
* subsubsub-1....10
- subsub-2 ....
* subsubsub-1....10
- subsub-20 .....
* subsubsub-1....10
- sub-10
- subsub-1
* subsubsub-1....10
- subsub-2 ....
* subsubsub-1....10
- subsub-20
* subsubsub-1....10
2. item-2
- sub-1
- subsub-1
* subsubsub-1....10
- subsub-2 ....
* subsubsub-1....10
- subsub-20
* subsubsub-1....10
- sub-2 ....
3. item-3
- sub-1
- subsub-1
* subsubsub-1....10
- subsub-2 ....
* subsubsub-1....10
- subsub-20
* subsubsub-1....10
- sub-2 ....