-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
104 lines (63 loc) · 2.71 KB
/
Copy pathheader.php
File metadata and controls
104 lines (63 loc) · 2.71 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
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head>
<title><?php
/*
* Internet Society WordPress Template
*
* The template for the header of all pages.
*
*/
/*
* Print the <title> tag based on what is being viewed.
*/
global $page, $paged;
wp_title( '|', true, 'right' );
// Add the blog name.
bloginfo( 'name' );
// Add the blog description for the home/front page.
$site_description = get_bloginfo( 'description', 'display' );
if ( $site_description && ( is_home() || is_front_page() ) )
echo " | $site_description";
// Add a page number if necessary:
if ( $paged >= 2 || $page >= 2 )
echo ' | ' . sprintf( __( 'Page %s', 'isoc-wp' ), max( $paged, $page ) );
?></title>
<!-- HTML5 form of the declaration of the character set encoding -->
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/css/html-reset.css" />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/handheld.css" media="handheld"/>
<!--[if IE]>
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/ie.css" media="screen"/>
<![endif]-->
<?php
// Add JavaScript for threaded replies to single pages
if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="headerutility"><?php wp_nav_menu( array( 'container_class' => 'utility', 'theme_location' => 'secondary' ) ); ?><div class="clear"></div></div> <!-- header utility -->
<header id="header">
<?php get_search_form(); ?>
<h1><a href="<?php echo get_option("tl_logo_url"); ?>" title=""><?php theme_logo(); ?></a></h1>
<div class="clear"></div>
</header> <!-- #header -->
<nav id="nav">
<?php
// Uncomment this to use the "Menu" feature under Apperance instead of Page Orders
wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) );
// Uncomment this to use the Page menu instead of the custom Menu under appearance.
//print '<div class="menu">';
//wp_list_pages('title_li=');
//print '</div>';
?>
<div class="clear"></div>
</nav><!-- #nav -->
<div id="columns">
<?php if (!is_front_page()):?><?php get_sidebar(); ?><section id="copy"><?php endif; ?>
<?php
// "Highlighted" Widget Area
if ( is_active_sidebar( 'highlighted-widget-area' ) ) : ?>
<?php dynamic_sidebar( 'highlighted-widget-area' ); ?>
<?php endif; ?>