-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
34 lines (31 loc) · 945 Bytes
/
header.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<title><?php wp_title( '|', true, 'right' ); ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<meta name="viewport" content="width=device-width">
<?php if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); ?>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<header class="header" id="main-header">
<?php
the_custom_logo();
?>
<span class="site-name"><?php bloginfo('name'); ?></span>
<nav class="navigation header-navigation">
<button class="nav-toggler"></button>
<?php
/**
* Displays a navigation menu
* @param array $args Arguments
*/
$args = array(
'theme_location' => 'header-menu',
);
wp_nav_menu( $args );
?>
</nav>
</header>