This repository was archived by the owner on Aug 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathheader.php
More file actions
71 lines (54 loc) · 3.24 KB
/
Copy pathheader.php
File metadata and controls
71 lines (54 loc) · 3.24 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html <?php language_attributes(); ?> xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<!-- calling monthly archives -->
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php global $settings; ?>
<!-- done calling monthly archives -->
<title>
<?php if ( is_page() ) { ?><?php bloginfo('name'); ?><?php wp_title('|'); ?><?php } ?>
<?php if ( is_home() ) { ?><?php bloginfo('name'); ?> | <?php bloginfo('description'); ?><?php } ?>
<?php if ( is_single() ) { ?><?php wp_title(''); ?> | <?php bloginfo('name'); ?><?php } ?>
<?php if ( is_category() ) { ?><?php bloginfo('name'); ?> | <?php single_cat_title(); ?><?php } ?>
<?php if ( is_year() ) { ?><?php bloginfo('name'); ?> | <?php the_time('Y'); ?><?php } ?>
<?php if ( is_tax() ) { ?><?php bloginfo('name'); ?> | Media: <?php $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); echo $term->name; ?><?php } ?>
<?php if ( is_tag() ) { if ( is_tag() ) { ?><?php bloginfo('name'); ?> | <?php single_tag_title("Tag Archive:", true); } } ?>
</title>
<!-- Superfish Support -->
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/superfish.css" type="text/css" media="screen"/>
<!--
Add if you want to enable the SuperFish Navbar. It will need styling!
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/superfish-navbar.css" type="text/css" media="screen"/> -->
<!-- end superfish -->
<!--[if IE]>
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/ie-sucks.css" type="text/css" media="screen" />
<![endif]-->
<?php if (is_page(array('RESUME','Resume','resume','CV','cv'))) { ?>
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/resume.css" type="text/css" media="screen" />
<?php } else if (is_page("")) { } ?>
<link href="<?php echo home_url();?>/?wp_folio_css=css" rel="stylesheet" type="text/css" />
<link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" type="text/css" />
<!-- calling wp_head -->
<?php wp_head(); ?> <!-- done calling wp_head -->
</head>
<body <?php body_class(); ?>>
<div class="container">
<div id="header">
<div class="headertext">
<h1><a href="<?php echo home_url( '/' ); ?>"><?php bloginfo('name'); ?></a></h1>
<h4><?php bloginfo('description'); ?></h4>
</div><!-- .headertext -->
</div><!-- #header -->
<!-- MENU -->
<div class="nav">
<?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ ?>
<?php if ( has_nav_menu( 'navbar' ) ) { ?>
<?php wp_nav_menu( array( 'container_class' => 'menu-header', 'menu_class' => 'sf-menu sf-navbar', 'theme_location' => 'navbar' ) );
} else { ?>
<ul class="sf-menu">
<?php wp_list_pages('exclude=&title_li=' );?>
</ul> <?php
} ?>
</div><!-- .nav -->
<!-- END MENU -->