-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
68 lines (51 loc) · 2.12 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
66
67
68
<?php global $is_anthem; ?><!DOCTYPE html>
<!--[if IE 7]><html class="ie ie7" <?php language_attributes(); ?>><![endif]-->
<!--[if IE 8]><html class="ie ie8" <?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' ); ?> Northwest Credit Union Association</title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<!--[if lt IE 9]>
<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
<![endif]-->
<?php wp_head(); ?>
<link href="<?php bloginfo( "template_url" ) ?>/css/main.css?v=41" rel="stylesheet" type="text/css">
</head>
<body <?php body_class(); ?>>
<?php the_notice_bar(); ?>
<header>
<div class="wrap">
<?php if ( $is_anthem ) { ?>
<div class="logo anthem">
<a href="/" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
<img src="<?php bloginfo( "template_url" ) ?>/img/logo-anthem.png" alt="<?php bloginfo( 'name' ); ?>">
</a>
</div>
<div class="slogan">
News & Info for Northwest Credit Unions
<span>From <a href="/">Northwest Credit Union Association</a></span>
</div>
<?php } else { ?>
<div class="logo">
<a href="/" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
<img src="<?php bloginfo( "template_url" ) ?>/img/logo.png" alt="<?php bloginfo( 'name' ); ?>">
</a>
</div>
<?php } ?>
<div class="search">
<?php get_search_form(); ?>
</div>
<div class='tools'>
<?php account_button(); ?>
<a href="https://app.nwcua.org/cart" class="button cart">Shopping Cart</a>
</div>
</div>
<nav role="navigation">
<button class="menu-toggle" alt="Expand/Contract The Menu"><i class="fa fa-bars"></i></button>
<?php wp_nav_menu( array( 'theme_location' => 'main-menu', 'menu_class' => 'nav-menu' ) ); ?>
</nav>
</header>
<section class="content">