Project

General

Profile

Feature #4390 » header.php

Jennifer Furlong, 2015-08-31 03:03 PM

 
1
<!doctype html>
2

    
3

    
4
<html <?php language_attributes(); ?>>
5

    
6
<head>
7

    
8
<?php
9

    
10
/** Themify Default Variables
11

    
12
 *  @var object */
13

    
14
	global $themify; ?>
15

    
16
<meta charset="<?php bloginfo( 'charset' ); ?>">
17

    
18

    
19

    
20
<title><?php if (is_home() || is_front_page()) { echo bloginfo('name'); } else { echo wp_title(''); } ?></title>
21

    
22

    
23

    
24
<?php
25

    
26
/**
27

    
28
 *  Stylesheets and Javascript files are enqueued in theme-functions.php
29

    
30
 */
31

    
32
?>
33

    
34

    
35

    
36
<!-- wp_header -->
37

    
38
<?php wp_head(); ?>
39

    
40

    
41

    
42
</head>
43

    
44

    
45

    
46
<body <?php body_class(); ?>>
47

    
48
<?php themify_body_start(); // hook ?>
49

    
50
<div id="pagewrap">
51

    
52

    
53

    
54
	<div id="headerwrap">
55

    
56
    
57

    
58
		<?php themify_header_before(); // hook ?>
59

    
60
		<header id="header" class="pagewidth">
61

    
62
        <?php themify_header_start(); // hook ?>
63

    
64
			<hgroup>
65

    
66
				<!-- <?php echo themify_logo_image('site_logo'); ?> -->
67
				
68
<div class="banner">
69
<div class="gc-logo">
70
<a href="http://www.gc.cuny.edu"><img src="http://library.gc.cuny.edu/images/new/gc-library-logo-oct8-2014_01.png" width="87" height="153" class="logo" alt="The Graduate Center" text="The Graduate Center"  /></a>
71
</div>
72
<div class="library-logo">
73
<a href="http://careerplan.commons.gc.cuny.edu"><img src="https://careerplan.commons.gc.cuny.edu/wp-content/blogs.dir/1372/files/2015/08/careerplanheader.jpg" width="967" height="153" class="logo" alt="The Graduate Center Office of Career Planning and Professional Development" text="The Graduate Center Office of Career Planning and Professional Development" /></a> 
74
</div>
75
<div style="clear:both;"></div>
76
</div>
77

    
78

    
79

    
80

    
81

    
82
				<h2 id="site-description"><?php bloginfo('description'); ?></h2>
83

    
84
<div class="header-widget">
85

    
86
	    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('header-widget') ) ?>
87

    
88
    </div>
89

    
90
    <!--/header widget -->
91

    
92
			</hgroup>
93

    
94
	
95

    
96
			<nav>
97

    
98
				<div id="menu-icon" class="mobile-button"></div>
99

    
100
				<?php if (function_exists('wp_nav_menu')) {
101

    
102
					wp_nav_menu(array('theme_location' => 'main-nav' , 'fallback_cb' => 'themify_default_main_nav' , 'container'  => '' , 'menu_id' => 'main-nav' , 'menu_class' => 'main-nav'));
103

    
104
				} else {
105

    
106
					themify_default_main_nav();
107

    
108
				} ?>
109

    
110
				<!-- /#main-nav --> 
111

    
112
			</nav>
113

    
114
	
115

    
116
			<?php if(!themify_check('setting-exclude_search_form')): ?>
117

    
118
				<?php get_search_form(); ?>
119

    
120
			<?php endif ?>
121

    
122
	
123

    
124
			<div class="social-widget">
125

    
126
				<?php dynamic_sidebar('social-widget'); ?>
127

    
128
	
129

    
130
				<?php if(!themify_check('setting-exclude_rss')): ?>
131

    
132
					<div class="rss"><a href="<?php if(themify_get('setting-custom_feed_url') != ""){ echo themify_get('setting-custom_feed_url'); } else { echo bloginfo('rss2_url'); } ?>">RSS</a></div>
133

    
134
				<?php endif ?>
135

    
136
			</div>
137

    
138
			<!-- /.social-widget -->
139

    
140
		<?php themify_header_end(); // hook ?>
141

    
142
		</header>
143

    
144
		<!-- /#header -->
145

    
146
        <?php themify_header_after(); // hook ?>
147

    
148
				
149

    
150
	</div>
151

    
152
	<!-- /#headerwrap -->
153

    
154
	
155

    
156
	<div id="body" class="clearfix">
157

    
158
    <?php themify_layout_before(); //hook ?>
(2-2/3)