-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
55 lines (50 loc) · 2.38 KB
/
header.php
File metadata and controls
55 lines (50 loc) · 2.38 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
<!DOCTYPE html>
<!--[if IE 7]>
<html class="ie ie7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 7) | !(IE 8) ]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
<!-- BASE -->
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="theme-color" content="#0c3a6c"> <!-- theme-color-in-Chrome-39-for-Android -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/favicon.ico" type="image/x-icon" />
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<!-- CSS -->
<link href="<?php bloginfo('template_directory'); ?>/font-awesome-4.0.3/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<!--[if lt IE 9]>
<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js"></script>
<![endif]-->
<!-- Google fonts & custom fonts -->
<link href='//fonts.googleapis.com/css?family=Titillium+Web:400,600,700,300,200,900' rel='stylesheet' type='text/css'>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<header id="masthead" class="site-header" role="banner">
<section class="wrapper">
<a class="logo" href="<?php echo get_option('home'); ?>/"><img src="<?php bloginfo('template_directory'); ?>/images/logo.png" alt="<?php bloginfo('name'); ?>"></a>
<a class="menu-toggle" href="#site-navigation">Menu</a>
<nav class="main-navigation mobile-nav" role="navigation">
<?php if ( has_nav_menu( 'primary-menu' ) ) {
wp_nav_menu( array( 'menu_class' => 'sf-menu mobile-menu', 'theme_location' => 'primary-menu', 'container' => false ) );
} else {
// empty menu
} ?>
</nav><!-- mobile-nav -->
<nav class="main-navigation desktop-nav" role="navigation">
<?php if ( has_nav_menu( 'primary-menu' ) ) {
wp_nav_menu( array( 'menu_class' => 'sf-menu desktop-menu', 'theme_location' => 'primary-menu', 'container' => false ) );
} else {
// empty menu
} ?>
</nav><!-- desktop-nav -->
</section><!-- #wrapper -->
</header>
<!-- #masthead -->