-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
executable file
·65 lines (63 loc) · 2.18 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <div id="main">
*
* @package wimp
*/
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<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 rel="shortcut icon" href="<?php echo esc_url( get_stylesheet_directory_uri() . '/favicon.png' ); ?>" />
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<!--[if lt IE 8]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser and is not supported. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<section class="top-header-wrapper">
<div class="container">
<div class="row">
<aside class="slogan hidden-sm hidden-xs">
<p><?php echo bloginfo( 'description' ); ?></p>
</aside>
<?php echo wimp_login_form(); ?>
</div>
</div>
</section>
<section class="header-wrapper container">
<div class="row">
<header role="banner" class="main-header">
<div class="logo">
<a href="<?php echo esc_url( home_url() ); ?>">WIMP | Web and Interactive Media Professionals</a>
</div>
<nav class="navbar navbar-default" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#wimp-nav">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="collapse navbar-collapse" id="wimp-nav">
<?php wp_nav_menu( array(
'theme_location' => 'primary',
'container' => '',
'menu_class' => 'nav navbar-nav',
'walker' => new Bootstrap_Walker_Nav_Menu(),
) ); ?>
</div>
</nav>
</header>
</div>
</section>
<section class="main container">
<section class="row main-wrapper">