This repository has been archived by the owner on Oct 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
header.php
58 lines (51 loc) · 2.36 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
<!DOCTYPE html>
<!--[if IE 7 | IE 8]>
<html class="ie" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 7) | !(IE 8) ]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title><?php wp_title( '|', true, 'right' ); ?></title>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<!--[if lt IE 9]>
<script src="<?php echo get_template_directory_uri(); ?>/seed-core/js/vendor/html5shiv.js" type="text/javascript"></script>
<![endif]-->
<?php wp_enqueue_script("jquery"); ?>
<?php wp_head(); ?>
<?php blogberry_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="page" class="group">
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'blogberry' ); ?></a>
<header id="head" class="group">
<div id="brand">
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
<div class="logo fadeInUp <?php blogberry_logo_border_style(); ?>">
<img src="<?php header_image(); ?>" height="<?php echo get_custom_header()->height; ?>" width="<?php echo get_custom_header()->width; ?>" alt="" />
</div>
<div class="name">
<h2 class="title fadeIn"><?php bloginfo( 'name' ); ?></h2>
<h3 class="desc"><span class="fadeIn"><?php bloginfo( 'description' ); ?></span></h3>
</div><!--name-->
</a>
</div>
<nav id="nav" role="navigation">
<button class="menu-toggle"><i class="icon-menu"></i> <?php _e( 'Menu', 'blogberry' ); ?></button>
<div id="mainnav">
<?php wp_nav_menu( array( 'theme_location' => 'main', 'menu_class' => 'main' ) ); ?>
<div id="search" class="form-search">
<form role="search" method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
<label class="screen-reader-text" for="s"><?php printf( __('Search for:','blogberry')); ?> ?></label>
<input type="text" name="s" id="s" class="search-query" placeholder="Search"/>
<button type="submit" id="searchsubmit" class="btn"><i class="fa fa-search"></i></button>
</form>
</div><!--search-->
</div><!--mainnav-->
</nav>
<?php get_sidebar(); ?>
</header>
<div id="main" class="group">
<div id="content" class="group" role="main">