Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 69 lines (59 sloc) 3.387 kB
2e4fc22 Initial commit. Bare bones.
Dougal Campbell authored
1 <!doctype html>
2 <!--[if lt IE 7 ]><html <?php language_attributes(); ?> class="no-js ie6"><![endif]--><!--[if IE 7 ]><html <?php language_attributes(); ?> class="no-js ie7"><![endif]--><!--[if IE 8 ]><html <?php language_attributes(); ?> class="no-js ie8"><![endif]--><!--[if IE 9 ]><html <?php language_attributes(); ?> class="no-js ie9"><![endif]--><!--[if (gt IE 9)|!(IE)]><!--><html <?php language_attributes(); ?> class="no-js"><!--<![endif]-->
3 <head>
4 <meta charset="<?php bloginfo( 'charset' ); ?>" />
5
6 <title><?php
7 /*
8 * Print the <title> tag based on what is being viewed.
9 */
10 global $page, $paged;
11
12 wp_title( '|', true, 'right' );
13
14 // Add the blog name.
15 bloginfo( 'name' );
16
17 // Add the blog description for the home/front page.
18 $site_description = get_bloginfo( 'description', 'display' );
19 if ( $site_description && ( is_home() || is_front_page() ) )
20 echo " | $site_description";
21
22 // Add a page number if necessary:
23 if ( $paged >= 2 || $page >= 2 )
58c22f5 Misc changes. Styling fixes. s/twentyten/initializr/
Dougal Campbell authored
24 echo ' | ' . sprintf( __( 'Page %s', 'initializr' ), max( $paged, $page ) );
2e4fc22 Initial commit. Bare bones.
Dougal Campbell authored
25
26 ?></title>
27 <link rel="profile" href="http://gmpg.org/xfn/11" />
28 <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
29 <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
30 <?php
31 /* We add some JavaScript to pages with the comment form
32 * to support sites with threaded comments (when in use).
33 */
34 if ( is_singular() && get_option( 'thread_comments' ) )
35 wp_enqueue_script( 'comment-reply' );
36
37 /* Always have wp_head() just before the closing </head>
38 * tag of your theme, or you will break many plugins, which
39 * generally use this hook to add elements to <head> such
40 * as styles, scripts, and meta tags.
41 */
42 wp_head();
43 ?>
44 <meta name="viewport" content="width=device-width, initial-scale=1.0">
45
46 <link rel="shortcut icon" href="<?php bloginfo( 'stylesheet_directory' ); ?>/favicon.ico">
47 <link rel="apple-touch-icon" href="<?php bloginfo( 'stylesheet_directory' ); ?>/apple-touch-icon.png">
48
49 <script src="<?php bloginfo( 'stylesheet_directory' ); ?>/js/libs/modernizr-1.7.min.js"></script>
50 </head>
51 <body <?php body_class(); ?>>
52 <div id="header-container">
53 <header class="wrapper">
7d1d547 Widget area redux.
Dougal Campbell authored
54 <?php get_sidebar('above-header'); ?>
2e4fc22 Initial commit. Bare bones.
Dougal Campbell authored
55 <div id="branding">
56 <h1 id="title"><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
57 <div id="site-description"><?php bloginfo( 'description' ); ?></div>
58 </div><!-- #branding -->
59 <nav id="access" role="navigation">
60 <?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff */ ?>
58c22f5 Misc changes. Styling fixes. s/twentyten/initializr/
Dougal Campbell authored
61 <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'initializr' ); ?>"><?php _e( 'Skip to content', 'initializr' ); ?></a></div>
2e4fc22 Initial commit. Bare bones.
Dougal Campbell authored
62 <?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. */ ?>
63 <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>
64 </nav>
65 </header>
66 </div><!-- #header-container -->
67 <div id="main" class="wrap-outer">
68 <div id="content-wrap" class="wrap-inner">
Something went wrong with that request. Please try again.