slight change to registering the nav menus
This commit is contained in:
@@ -82,12 +82,10 @@ add_theme_support('post-thumbnails');
|
|||||||
// add_theme_support('post-formats', array('aside', 'gallery', 'link', 'image', 'quote', 'status', 'video', 'audio', 'chat'));
|
// add_theme_support('post-formats', array('aside', 'gallery', 'link', 'image', 'quote', 'status', 'video', 'audio', 'chat'));
|
||||||
|
|
||||||
add_theme_support('menus');
|
add_theme_support('menus');
|
||||||
register_nav_menus(
|
register_nav_menus(array(
|
||||||
array(
|
'primary_navigation' => __('Primary Navigation', 'roots'),
|
||||||
'primary_navigation' => 'Primary Navigation',
|
'utility_navigation' => __('Utility Navigation', 'roots')
|
||||||
'utility_navigation' => 'Utility Navigation'
|
));
|
||||||
)
|
|
||||||
);
|
|
||||||
|
|
||||||
// create widget areas: sidebar, footer
|
// create widget areas: sidebar, footer
|
||||||
$sidebars = array('Sidebar', 'Footer');
|
$sidebars = array('Sidebar', 'Footer');
|
||||||
|
|||||||
Reference in New Issue
Block a user