/
header.php
executable file
·45 lines (38 loc) · 1.44 KB
/
header.php
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
<?php
/**
* The Header for our theme
*
* Displays all of the <head> section and everything up till <div id="main">
*
* @package WordPress
* @subpackage Skillcrush_Starter
* @since Skillcrush Starter 1.0
*/
?>
<!DOCTYPE html>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width">
<title><?php wp_title('|', true, 'right'); ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
<link href='http://fonts.googleapis.com/css?family=Codystar' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300,700,400' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_url'); ?>" />
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="page" class="hfeed site">
<header class="page-header container">
<span class="logo">
<img src="http://localhost:8888/wordpress/wp-content/uploads/2016/03/cropped-cool-panda-4.png" alt="logo" height="65">
</span>
<a href="<?php echo site_url(); ?>" class="top-logo">
<span class="title"><?php bloginfo('name'); ?></span>
<span class="sub-title"><?php bloginfo('description'); ?></span>
</a>
<nav class="top-nav">
<?php wp_nav_menu(array('theme_location' => 'primary-menu')); ?>
</nav>
</header>
<div id="main" class="site-main">