/
header.php
55 lines (52 loc) · 2.35 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
<?php
/**
* Header
*
* @package logicalboneshug
* @since logicalboneshug 1.0
*/
?>
<!DOCTYPE html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--> <html <?php language_attributes(); ?> class="no-js" lang="en"><!--<![endif]-->
<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' ); ?>">
<?php do_action( 'bp_head' ); ?>
<?php wp_head(); ?>
</head>
<body <?php body_class() ?> id="logicalbones_hug">
<div id="site-wrapper">
<?php do_action( 'bp_before_header' ); ?>
<header id="branding" role="banner" class="wrapper">
<a href="<?php echo site_url(); ?>"><h1><!-- name of site --></h1></a>
<nav id="top-nav" role="navigation">
<h3 class="assistive-text"><?php _e( 'Menu', 'logicalboneshug' ); ?></h3>
<div class="skip-link assistive-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'logicalboneshug' ); ?>"><?php _e( 'Skip to content', 'logicalboneshug' ); ?></a></div>
<?php wp_nav_menu( array(
'theme_location' => 'top',
'menu_class' => 'top_menu',
'container' => ''
)); ?>
</nav>
</div>
<div id="search-bar">
<form action="<?php echo bp_search_form_action(); ?>" method="post" id="search-form">
<label for="search-terms" class="accessibly-hidden"><?php _e( 'Search for:', 'logicalboneshug' ); ?></label>
<input type="text" id="search-terms" name="search-terms" value="<?php echo isset( $_REQUEST['s'] ) ? esc_attr( $_REQUEST['s'] ) : ''; ?>" />
<?php echo bp_search_form_type_select(); ?>
<input type="submit" name="search-submit" id="search-submit" value="<?php _e( 'Search', 'logicalboneshug' ); ?>" />
<?php wp_nonce_field( 'bp_search_form' ); ?>
</form><!-- #search-form -->
<?php do_action( 'bp_search_login_bar' ); ?>
</div>
<?php do_action( 'bp_header' ); ?>
</header>
<?php do_action( 'bp_after_header' ); ?>
<?php do_action( 'bp_before_container' ); ?>
<div id="main-wrapper" class="inner-wrapper">