Offer just one header, the BS top navbar
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
add_theme_support('soil-clean-up'); // Enable clean up from Soil
|
||||
add_theme_support('soil-relative-urls'); // Enable relative URLs from Soil
|
||||
add_theme_support('soil-nice-search'); // Enable /?s= to /search/ redirect from Soil
|
||||
add_theme_support('bootstrap-top-navbar'); // Enable Bootstrap's top navbar
|
||||
add_theme_support('bootstrap-gallery'); // Enable Bootstrap's thumbnails component on [gallery]
|
||||
add_theme_support('jquery-cdn'); // Enable to load jQuery from the Google CDN
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ function roots_nav_menu_args($args = '') {
|
||||
$roots_nav_menu_args['items_wrap'] = '<ul class="%2$s">%3$s</ul>';
|
||||
}
|
||||
|
||||
if (current_theme_supports('bootstrap-top-navbar') && !$args['depth']) {
|
||||
if (!$args['depth']) {
|
||||
$roots_nav_menu_args['depth'] = 2;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user