Find out how to suppress the secondary navigation menu in any Genesis Framework child theme using one line of code.
If you are not going to use the secondary navigation menu in your project, you only need one line of code to remove it.
Let’s get down to business. 😉
Snippet to remove the child navigation menu
Add this fragment to the end of the functions.php file:
To see this and another 1097 code snippets of this website, login or subscribe here.
With this simple line of code you make the secondary navigation menu disappear, both in the settings and in the WordPress customizer.
If you wish, you can also change the position of the sub navigation menus.
Conclusions
Now you know how to prevent secondary navigation menus from being displayed in any Genesis child theme.
Any questions? I read you in the comments.
And if you want to give me any suggestion for future tutorials, leave it in the contact form. Advantages of being a subscriber. 😉