-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
executable file
·42 lines (34 loc) · 1.26 KB
/
header.php
File metadata and controls
executable file
·42 lines (34 loc) · 1.26 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
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<?php // Load Meta ?>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?php wp_title('|', true, 'right'); ?></title>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<!-- google fonts -->
<link href='http://fonts.googleapis.com/css?family=Lato:400,700,300,100,400italic' rel='stylesheet' type='text/css'>
<!-- font-awesome -->
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<?php // Load our CSS ?>
<link rel="stylesheet" type="text/css" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
<?php wp_head(); ?>
</head>
<body <?php body_class();
?>>
<header class="main-nav">
<div class="nav-wrapper">
<h1>
<a href="<?php echo home_url( '/' ); ?>" title="<?php bloginfo( 'name', 'display' ); ?>" rel="home">
<!-- if user uploaded an image -->
<img src="http://localhost:8888/bootcamp-projects/week-7-project/wp-content/uploads/2015/08/logo.png" alt="">
</a>
</h1>
<nav>
<?php wp_nav_menu( array(
'container' => false,
'theme_locations' => 'primary'
)); ?>
</nav>
</div> <!-- /.container -->
</header><!--/.main-nav-->