Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 75 lines (51 sloc) 2.401 kB
2aa8890 Importing the initial My Life theme files and folders.
greenshady authored
1 <?php
2 /**
3 * Header Template
4 *
5 * The header template is generally used on every page of your site. Nearly all other templates call it
6 * somewhere near the top of the file. It is used mostly as an opening wrapper, which is closed with the
7 * footer.php file. It also executes key functions needed by the theme, child themes, and plugins.
8 *
9 * @package MyLife
10 * @subpackage Template
11 * @since 0.1.0
12 * @author Justin Tadlock <justin@justintadlock.com>
877f5cf @justintadlock Update copyright and theme info.
authored
13 * @copyright Copyright (c) 2011 - 2012, Justin Tadlock
2aa8890 Importing the initial My Life theme files and folders.
greenshady authored
14 * @link http://themehybrid.com/themes/my-life
15 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
16 */
17 ?>
18 <!DOCTYPE html>
19 <html <?php language_attributes(); ?>>
20 <head>
21 <meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" />
22 <title><?php hybrid_document_title(); ?></title>
23
24 <link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" type="text/css" media="all" />
25 <link rel="profile" href="http://gmpg.org/xfn/11" />
26 <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
27
28 <?php wp_head(); // wp_head ?>
29
30 </head>
31
32 <body class="<?php hybrid_body_class(); ?>">
33
34 <?php do_atomic( 'open_body' ); // my-life_open_body ?>
35
36 <div id="container">
37
38 <?php get_template_part( 'menu', 'primary' ); // Loads the menu-primary.php template. ?>
39
40 <?php do_atomic( 'before_header' ); // my-life_before_header ?>
41
42 <div id="header">
43
44 <?php do_atomic( 'open_header' ); // my-life_open_header ?>
45
46 <div class="wrap">
47
48 <div id="branding">
49 <?php hybrid_site_title(); ?>
50 <?php hybrid_site_description(); ?>
51 </div><!-- #branding -->
52
53 <?php do_atomic( 'header' ); // my-life_header ?>
54
55 </div><!-- .wrap -->
56
57 <?php do_atomic( 'close_header' ); // my-life_close_header ?>
58
59 </div><!-- #header -->
60
61 <?php do_atomic( 'after_header' ); // my-life_after_header ?>
62
63 <?php get_template_part( 'menu', 'secondary' ); // Loads the menu-secondary.php template. ?>
64
65 <?php if ( get_header_image() ) echo '<img class="header-image" src="' . get_header_image() . '" alt="" />'; ?>
66
67 <?php do_atomic( 'before_main' ); // my-life_before_main ?>
68
69 <div id="main">
70
71 <div class="wrap">
72
73 <?php do_atomic( 'open_main' ); // my-life_open_main ?>
74
75 <?php if ( current_theme_supports( 'breadcrumb-trail' ) ) breadcrumb_trail( array( 'before' => __( 'You are here:', 'my-life' ) ) ); ?>
Something went wrong with that request. Please try again.