-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
24 lines (23 loc) · 766 Bytes
/
header.php
File metadata and controls
24 lines (23 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="profile" href="http://gmpg.org/xfn/11">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<header id="masthead" class="site-header">
<div class="site-header__container">
<?php if ( function_exists( 'the_custom_logo' ) ) {
the_custom_logo();
} ?>
<?php
/**
* Usage: bem_menu('menu_location', 'my-menu', array('my-menu--my-modifier','my-menu--my-other-modifier'))
* @link https://github.com/roikles/Wordpress-Bem-Menu
*/
bem_menu('main', 'nav-links', 'nav-links--main');
?>
</div>
</header><!-- #masthead -->