-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
127 lines (86 loc) · 3.39 KB
/
Copy pathheader.php
File metadata and controls
127 lines (86 loc) · 3.39 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js" >
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<?php
global $pmc_data;
$favicon = '';
if(isset($pmc_data['favicon']))
$favicon = $pmc_data['favicon'];
if (empty($favicon)) { $favicon = get_template_directory_uri() .'/images/favicon.ico'; }
?>
<title>
<?php
global $page, $paged;
wp_title( '|', true, 'right' );
bloginfo( 'name' );
$site_description = get_bloginfo( 'description', 'display' );
if ( $site_description && ( is_home() || is_front_page() ) )
echo " | $site_description";
if ( $paged >= 2 || $page >= 2 )
echo ' | ' . sprintf( 'Page %s' , max( $paged, $page ) );
?>
</title>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<link rel="icon" type="image/png" href="<?php echo $pmc_data['favicon'] ?>">
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
<?php if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); ?>
<?php if(isset($pmc_data['google_analytics'])) echo stripText($pmc_data['google_analytics']); ?>
<?php global $sitepress; wp_head();?>
<link id="stylesheet" type="text/css" href="<?php echo get_template_directory_uri() ?>/css/options.css" rel="stylesheet" />
</head>
<body <?php body_class(); ?>>
<div class="sidebarwrap">
<div class="sidebarButton"></div>
<div class="sidebar">
<?php dynamic_sidebar( 'sidebar' ); ?>
</div>
</div>
<div class="iconrwrap">
<div class="iconButton"></div>
<div class="socialcategory">
<?php socialLinkTop() ?>
</div>
</div>
<div class="wrap">
<div class="bodywrapOut">
<div class="bodywrapIn">
<header>
<div id="header">
<div id="logo">
<?php $logo = $pmc_data['logo']; ?>
<a href="<?php echo home_url(); ?>"><img src="<?php if ($logo != '') {?><?php echo $logo; ?><?php } else {?><?php get_template_directory_uri(); ?>/images/logo.png<?php }?>" alt="<?php bloginfo('name'); ?> - <?php bloginfo('description') ?>" /></a>
</div>
<div class="respMenu">
<?php
if ( has_nav_menu( 'resp_menu' ) ) {
$menuParameters = array(
'theme_location' => 'resp_menu',
'walker' => new Walker_Responsive_Menu(),
'echo' => false,
'items_wrap' => '<form name="menu_selector" method="post" action="#"><select name="url_list" class="event-type-selector-dropdown" onchange="gotosite(this)"><option value="" selected="selected" disabled="disabled">Please select...</option>%3$s</select></form>',
);
echo strip_tags(wp_nav_menu( $menuParameters ), '<a>,<select>,<option>' );
}?>
</div>
<div class="pagenav">
<?php
if ( has_nav_menu( 'main-menu' ) ) {
wp_nav_menu( array(
'container' =>false,
'container_class' => 'menu-header',
'theme_location' => 'main-menu',
'echo' => true,
'fallback_cb' => 'studio_fallback_menu',
'before' => '',
'after' => '',
'link_before' => '',
'link_after' => '<span class="separatorMenu">//</span>',
'depth' => 0,
'walker' => new Walker_Main_Menu())
);
}
?>
</div>
</div>
</header>