Menus

The next step is to get our menus working correctly. Since Version 3.0, WordPress provides a great interface for creating and configuring menus using the Menus admin screen, which means, once you've added some PHP to set this up in your theme, you don't need to touch your code if you need to edit the navigation menu.

Registering navigation menus

In order for any menus added in the WordPress admin to show up on your site, you'll need to create those menus by registering them. This refers to the code you add to your functions file to create the menu. You'll then add some code to header.php to display the menu in the correct place.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset