If you are not satisfied with the amount of menu areas or widget areas provided by your theme, you can use the code from this repository to add extra menus or widgets or both.
- Copy the lines 3-13 from functions.php of current repository and place it in your functions.php file.
- In your template file, wherever you would like your custom menu to appear add the following
<?php wp_nav_menu( array('menu' => 'Header Menu' )); ?>
. - If you want to add more than one custom menu just add new line into an array in place of comments on line 8, for example,
, 'footer-menu' => __( 'Footer Menu' )
.