-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
79 lines (62 loc) · 2.44 KB
/
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
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
66
67
68
69
70
71
72
73
74
<?php
/**
* The header template
*
*
* @package delighted_calligraphy
*/
?>
<!DOCTYPE html>
<!--[if lt IE 9]>
<html id="ie" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 6) | !(IE 7) | !(IE 8) ]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
<meta charset="<?php bloginfo( "charset" ); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- favicon & links -->
<link rel="shortcut icon" type="image/x-icon" href="<?php echo get_template_directory_uri(); ?>/favicon.png" />
<link rel="pingback" href="<?php bloginfo( "pingback_url" ); ?>" />
<!-- stylesheets are enqueued via functions.php -->
<!-- scripts -->
<script>
document.getElementsByTagName('html')[0].className += ' js';
</script>
<!--[if lt IE 9]>
<script src="<?php echo get_template_directory_uri(); ?>/assets/vendor/html5shiv.min.js" type="text/javascript"></script>
<![endif]-->
<?php // Lets other plugins and files tie into our theme's <head>:
wp_head(); ?>
<meta name="description" content="<?php bloginfo('description'); ?>" />
<meta name="author" content="Megan Hopkins" />
<meta name="contact" content="[email protected]" />
<meta name="keywords" content="delighted calligraphy, calligraphy, calligrapher, charlotte, north carolina, wedding, invitations, stationary" />
</head>
<body <?php body_class(); ?>>
<div id="page">
<header class="header" role="banner">
<div class="logo">
<a href="<?php echo esc_url( home_url( "/" ) ); ?>">
<?php get_template_part( 'assets/images/logo.svg' );
?>
</a>
</div>
<a class="screen-reader-text" href="#main">Skip to content</a>
<div class="primary-nav">
<nav class="access" role="navigation">
<?php
$args = array (
'theme_location' => 'primary',
'container' => '',
'container_class' => 'false',
'menu_class' => 'access__list'
); ?>
<?php wp_nav_menu( $args ); ?>
</nav>
</div>
<button class="access__toggle">
<span></span>
</button>
</header>