Registering Menu Locations in WordPress

Posted in Tutorials

Tweet This Share on Facebook Bookmark on Delicious Digg this Submit to Reddit

In order to have menus in a WordPress theme, it needs to put the menu into a “Menu Location”. ┬áThe Twenty Fifteen theme comes with two menu locations as seen in “Appearance -> Menus” …

menu locations

These two menu locations are set up in theme’s function.php file using register_nav_menus …

register menu locations