Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: e3fb7cf2dc
Fetching contributors…

Cannot retrieve contributors at this time

75 lines (51 sloc) 2.527 kB
<?php
/**
* Header Template
*
* The header template is generally used on every page of your site. Nearly all other templates call it
* somewhere near the top of the file. It is used mostly as an opening wrapper, which is closed with the
* footer.php file. It also executes key functions needed by the theme, child themes, and plugins.
*
* @package MyLife
* @subpackage Template
* @since 0.1.0
* @author Justin Tadlock <justin@justintadlock.com>
* @copyright Copyright (c) 2011, Justin Tadlock
* @link http://themehybrid.com/themes/my-life
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" />
<title><?php hybrid_document_title(); ?></title>
<link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" type="text/css" media="all" />
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php wp_head(); // wp_head ?>
</head>
<body class="<?php hybrid_body_class(); ?>">
<?php do_atomic( 'open_body' ); // my-life_open_body ?>
<div id="container">
<?php do_atomic( 'before_header' ); // my-life_before_header ?>
<header id="header">
<?php do_atomic( 'open_header' ); // my-life_open_header ?>
<div class="wrap">
<hgroup id="branding">
<h1 id="site-title"><a href="<?php echo home_url(); ?>" title="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
<h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
</hgroup><!-- #branding -->
<?php get_template_part( 'menu', 'primary' ); // Loads the menu-primary.php template. ?>
<?php do_atomic( 'header' ); // my-life_header ?>
</div><!-- .wrap -->
<?php do_atomic( 'close_header' ); // my-life_close_header ?>
</header><!-- #header -->
<?php do_atomic( 'after_header' ); // my-life_after_header ?>
<?php //get_search_form(); // Loads the search form. */ ?>
<?php if ( get_header_image() ) echo '<img class="header-image" src="' . get_header_image() . '" alt="" />'; ?>
<?php do_atomic( 'before_main' ); // my-life_before_main ?>
<div id="main">
<div class="wrap">
<?php do_atomic( 'open_main' ); // my-life_open_main ?>
<?php if ( current_theme_supports( 'breadcrumb-trail' ) ) breadcrumb_trail( array( 'before' => __( 'You are here:', 'my-life' ) ) ); ?>
Jump to Line
Something went wrong with that request. Please try again.