I’m creating a custom wordpress design with the help of an instruction book and got stuck with the menu creation.
I should input the following code in functions.php
register_nav_menus( array(
'fomenu' => __( 'Fomenu', 'smaragdkerteszet' ),
'kismenu' => __( 'Kismenu', 'smaragdkerteszet' ),
) );
After that I should be able to go to Appearance/menus in the admin panel and choose between the 2 menus in a drop-down list but this list does not appear.
What do I need to fix?
Just follow this code:
And add “show_top_menu” in the place that you want to display nav menu.
Maybe an
add_action
can help: