Custom Menus in WordPress

To be able to add a menu structure to the website theme I have to create the menu and navigation area.  Currently there is not an option for menus on the WordPress dashboard.

Before the code is added the menus option does not appear in the WordPress menu option under Appearance

For a ‘Menu’ option to appear in the ‘Appearance’ menu I need to add the following code to the theme theme functions.php file.

 

 

 

 

 

 

 

 

After the code is added it is then possible to select and edit custom menus from within WordPress in the ‘Appearance’ menu below as ‘Menus’ is now an option.

 

Advertisements