This repository was archived by the owner on Jul 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathheader.php
More file actions
executable file
·60 lines (50 loc) · 1.87 KB
/
header.php
File metadata and controls
executable file
·60 lines (50 loc) · 1.87 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
<?php
/**
*
* Displays all of the <head> section and everything through <div class="inside-wrap clearfix">
*
* @package North
* @since 1.0
*/
?>
<!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' ); ?>" />
<!-- media queries -->
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0" />
<!--[if lt IE 9]>
<link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(); ?>/includes/styles/ie.css" media="screen"/>
<![endif]-->
<script type="text/javascript">
document.documentElement.className = 'js';
</script>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div class="header-wrap clearfix">
<div class="container">
<!-- mobile nav toggle -->
<a class="nav-toggle" href="#"><i class="fa fa-bars"></i></a>
<header class="header">
<?php if ( get_theme_mod( 'north_logo_upload' ) ) { ?>
<h1 class="logo-image">
<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img class="logo" src="<?php echo get_theme_mod( 'north_logo_upload' ); ?>" alt="<?php the_title_attribute(); ?>" /></a>
</h1>
<?php } else { ?>
<hgroup>
<h1 class="logo-text"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo( 'name' ) ?></a></h1>
</hgroup>
<?php } ?>
<!-- main navigation -->
<nav role="navigation" class="header-nav">
<?php wp_nav_menu( array( 'theme_location' => 'main', 'menu_class' => 'nav' ) ); ?>
</nav>
</header>
</div><!-- container -->
</div><!-- header wrap -->
<div id="wrapper" class="clearfix">
<div class="inside-wrap clearfix">