This repository was archived by the owner on Oct 20, 2023. 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
65 lines (45 loc) · 1.69 KB
/
header.php
File metadata and controls
65 lines (45 loc) · 1.69 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
<!DOCTYPE html>
<html lang="en">
<head>
<?php if (is_front_page()) { ?>
<title><?php bloginfo('name'); ?> - <?php bloginfo('description'); ?></title>
<?php } else { ?>
<title><?php wp_title(''); ?> - <?php bloginfo('name'); ?></title>
<?php } ?>
<!-- encoding -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<!-- responsive layout -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<!-- favicon -->
<link rel="shortcut icon" href="<?php bloginfo('template_url'); ?>/favicon.ico" />
<!-- seo link for rss feed -->
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<!-- icon font -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<script src="lib/js/selectivizr-min.js"></script>
<![endif]-->
<!-- wp head -->
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<header class="row header pad-v-30 border-bottom color-beta">
<div class="container grid">
<div class="col-5-12 header-nameplate">
<?php if (is_front_page()) { ?>
<h1 class="logo margin-0 normal"><span><?php bloginfo('name'); ?></h1>
<h3><?php bloginfo('description'); ?></h3>
<?php } else { ?>
<a class="logo" href="/"><?php bloginfo('name'); ?></a>
<?php } ?>
</div>
<nav class="col-7-12 header-nav">
<?php wp_nav_menu(array(
'menu' => 'Header Nav',
'fallback_cb' => false
)); ?>
</nav>
</div>
</header>