We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to create sub menu in sub menu. Pm help me.
The text was updated successfully, but these errors were encountered:
You can call add() method on each item:
add()
<?php Menu::make('mainNav', function($menu) { $about = $menu->add('About', 'about'); $level1 = $about->add('Level1', 'level-2-url'); $level2 = $level1->add('Level2', 'level-2-url'); $level3 = $level2->add('Level3', 'level-3-url'); }); ?>
You can also chain add() methods and go as deep as you need:
<?php Menu::make('mainNav', function($menu){ $menu->add('About', 'about') ->add('level1', 'level-1-url') ->add('level2', 'level-2-url') ->add('level3', 'level-3-url'); }); ?>
Hope this helps.
Sorry, something went wrong.
No branches or pull requests
I want to create sub menu in sub menu.
Pm help me.
The text was updated successfully, but these errors were encountered: