rechecking
This commit is contained in:
parent
cc695d5867
commit
71fa07a2d3
17
header.php
17
header.php
|
@ -17,8 +17,7 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta name="mobile-web-app-capable" content="yes">
|
<meta name="mobile-web-app-capable" content="yes">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<meta name="apple-mobile-web-app-title"
|
<meta name="apple-mobile-web-app-title" content="<?php bloginfo( 'name' ); ?> - <?php bloginfo( 'description' ); ?>">
|
||||||
content="<?php bloginfo( 'name' ); ?> - <?php bloginfo( 'description' ); ?>">
|
|
||||||
<link rel="profile" href="http://gmpg.org/xfn/11">
|
<link rel="profile" href="http://gmpg.org/xfn/11">
|
||||||
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
|
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
|
||||||
<?php wp_head(); ?>
|
<?php wp_head(); ?>
|
||||||
|
@ -34,14 +33,11 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
<a class="skip-link screen-reader-text sr-only" href="#content"><?php _e( 'Skip to content',
|
<a class="skip-link screen-reader-text sr-only" href="#content"><?php _e( 'Skip to content',
|
||||||
'understrap' ); ?></a>
|
'understrap' ); ?></a>
|
||||||
|
|
||||||
<nav class="navbar navbar-toggleable-md navbar-inverse bg-inverse site-navigation" itemscope="itemscope"
|
<nav class="navbar navbar-toggleable-md navbar-light bg-faded">
|
||||||
itemtype="http://schema.org/SiteNavigationElement">
|
|
||||||
|
|
||||||
<div class="<?php echo esc_html( $container ); ?>" >
|
<div class="<?php echo esc_html( $container ); ?>" >
|
||||||
|
|
||||||
|
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
<!-- .navbar-toggle is used as the toggle for collapsed navbar content -->
|
|
||||||
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
<span class="navbar-toggler-icon"></span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
@ -51,9 +47,10 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>">
|
title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>">
|
||||||
<?php bloginfo( 'name' ); ?>
|
<?php bloginfo( 'name' ); ?>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<?php } else {
|
<?php } else {
|
||||||
the_custom_logo();
|
the_custom_logo();
|
||||||
} ?><!-- end custom logo -->
|
} ?><!-- end custom logo -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -62,8 +59,8 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
array(
|
array(
|
||||||
'theme_location' => 'primary',
|
'theme_location' => 'primary',
|
||||||
'container_class' => 'collapse navbar-collapse',
|
'container_class' => 'collapse navbar-collapse',
|
||||||
'container_id' => 'navbarNav',
|
'container_id' => 'navbarNavDropdown',
|
||||||
'menu_class' => 'nav navbar-nav',
|
'menu_class' => 'navbar-nav',
|
||||||
'fallback_cb' => '',
|
'fallback_cb' => '',
|
||||||
'menu_id' => 'main-menu',
|
'menu_id' => 'main-menu',
|
||||||
'walker' => new WP_Bootstrap_Navwalker(),
|
'walker' => new WP_Bootstrap_Navwalker(),
|
||||||
|
|
Reference in New Issue