-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
executable file
·65 lines (61 loc) · 1.89 KB
/
header.php
File metadata and controls
executable file
·65 lines (61 loc) · 1.89 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
/**
* Primary HTML header
*
* The main file use to create the HTML chrome of the page.
*
* @package NycTech
* @subpackage HTML
* @since 5.6.24
*/
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description" content="<?php bloginfo('description'); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="HandheldFriendly" content="true">
<meta name="MobileOptimized" content="320">
<meta name="theme-color" content="#093C6E" />
<?php
if (! function_exists('_wp_render_title_tag')
|| ( function_exists('_wp_render_title_tag')
&& ! current_theme_supports('title-tag') )
) :
?>
<title><?php wp_title(' | ', true, 'right'); ?></title>
<?php
endif;
?>
<?php wp_head(); ?>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen"
charset="utf-8"/>
</head>
<body <?php body_class(); ?>>
<div class="skip">
<a href="#main">Skip to Main Content</a>
</div>
<div id="page">
<div class="page-content">
<header id="masthead">
<div class="masthead-content">
<a id="brand" class="" href="<?php echo esc_url(site_url()); ?>"><img
src="<?php echo esc_url(get_template_directory_uri()); ?>/img/logo-ring.png"
alt="Andrew Woods Seattle WordPress Developer"/></a>
<?php
$main_menu_defaults = [
'container' => 'nav',
'container_id' => 'nav',
'container_class' => 'main-nav',
'echo' => true,
'menu' => '<ul>',
'menu_class' => 'menu',
'theme_location' => 'main_menu',
];
wp_nav_menu($main_menu_defaults);
?>
</div>
</header>
<!-- [/HEADER] -->