-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathheader.php
More file actions
60 lines (53 loc) · 2.5 KB
/
header.php
File metadata and controls
60 lines (53 loc) · 2.5 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
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>">
<?php wp_head(); ?>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<!-- iOS Specific -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<link rel="apple-touch-icon" href="<?php bloginfo('template_url') ?>/images/cr-icon.png" />
<title><?php wp_title('|', true, 'right'); ?> <?php bloginfo('name'); ?></title>
<link rel="icon" href="http://coderesponsible.com/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen">
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>">
<!--[if IE]>
<script src="<?php bloginfo('template_directory'); ?>/js/html5.js"></script>
<![endif]-->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-35062160-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<header class="row">
<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
<form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>" class="search">
<fieldset>
<label for="search">Search:</label><input type="search" name="s" id="search">
<button>Search</button>
</fieldset>
</form>
<a href="#main" class="main-content-link">Skip navigation</a>
<nav id="main-nav">
<ul>
<li><a href="<?php bloginfo('url'); ?>">Home</a></li>
<li><a href="<?php bloginfo('url'); ?>/category/development">Development</a></li>
<li><a href="<?php bloginfo('url'); ?>/category/accessibility">Accessibility</a></li>
<li><a href="<?php bloginfo('url'); ?>/category/tips">Tips</a></li>
</ul>
</nav>
<nav id="menu">
<a href="#" id="search-link"><span>search</span></a>
<a href="#" id="menu-link"><span>Menu</span></a>
</nav>
</header>
<div class="row">