-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
69 lines (51 loc) · 2.75 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
69
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php bloginfo('language'); ?>">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php wp_title(' '); ?> <?php if(wp_title(' ', false)) { echo ' : '; } ?><?php bloginfo('name'); ?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/style-font.css" type="text/css" media="screen" />
<?php if ( get_option('solostream_responsive_off') != 'Yes' ) { ?>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/style-responsive.css" type="text/css" media="screen" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<?php } ?>
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_head(); ?>
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
</head>
<body <?php body_class(); ?>>
<div id="outer-wrap">
<?php if ( get_option('solostream_show_topnav') != 'no' ) { ?>
<?php solostream_before_wrap(); /* For topnav, header and subheader code, see functions near the bottom of functions.php */ ?>
<?php } ?>
<div id="wrap">
<div id="header">
<div id="head-content" class="clearfix">
<?php if ( get_option('solostream_site_title_option') == 'Image/Logo-Type Title' && get_option('solostream_site_logo_url') ) { ?>
<div id="logo">
<a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><img src="<?php echo get_option('solostream_site_logo_url'); ?>" alt="<?php bloginfo('name'); ?>" /></a>
</div>
<?php } else { ?>
<div id="sitetitle">
<div class="title"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></div>
<div class="description"><?php bloginfo('description'); ?></div>
</div>
<?php } ?>
<?php get_template_part( 'banner468head' ); ?>
</div>
</div>
<div id="catnav">
<?php if (has_nav_menu('catnav')) { ?>
<ul class="catnav clearfix">
<?php wp_nav_menu(array('container'=>false,'theme_location'=>'catnav','fallback_cb'=>'nav_fallback','items_wrap'=>'%3$s')); ?>
</ul>
<?php } else { ?>
<ul class="catnav clearfix">
<li id="home"<?php if (is_front_page()) { echo " class=\"current_page_item\""; } ?>><a href="<?php bloginfo('url'); ?>"><?php _e("Home", "solostream"); ?></a></li>
<?php wp_list_pages('title_li='); ?>
</ul>
<?php } ?>
<?php get_search_form(); ?>
</div>
<?php get_template_part( 'banner728' ); ?>