Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 68 lines (44 sloc) 2.102 kb
217f7fd Importing the News 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
6 * templates call it somewhere near the top of the file. It is used mostly as an opening
7 * wrapper, which is closed with the footer.php file. It also executes key functions needed
8 * by the theme, child themes, and plugins.
9 *
10 * @package News
11 * @subpackage Template
12 */
13 ?>
14 <!DOCTYPE html>
15 <html <?php language_attributes(); ?>>
16 <head>
17 <meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" />
18 <title><?php hybrid_document_title(); ?></title>
19
20 <link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" type="text/css" media="all" />
21 <link rel="profile" href="http://gmpg.org/xfn/11" />
22 <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
23
24 <?php wp_head(); // WP head hook ?>
25
26 </head>
27
28 <body class="<?php hybrid_body_class(); ?>">
29
30 <?php do_atomic( 'before_html' ); // Before HTML hook ?>
31
32 <div id="body-container">
33
34 <?php get_template_part( 'menu', 'secondary' ); // Loads the menu-secondary.php file ?>
35
36 <?php do_atomic( 'before_header' ); // Before header hook ?>
37
38 <div id="header">
39
40 <?php do_atomic( 'open_header' ); // Open header hook ?>
41
42 <div class="wrap">
43
44 <?php hybrid_site_title(); // Displays the site title ?>
45
46 <?php get_sidebar( 'header' ); // Loads the sidebar-header.php file ?>
47
48 <?php do_atomic( 'header' ); // Header hook ?>
49
50 </div><!-- .wrap -->
51
52 <?php do_atomic( 'close_header' ); // Close header hook ?>
53
54 </div><!-- #header -->
55
56 <?php do_atomic( 'after_header' ); // After header hook ?>
57
58 <?php get_template_part( 'menu', 'primary' ); // Loads the menu-primary.php file ?>
59
60 <?php do_atomic( 'before_container' ); // Before container hook ?>
61
62 <div id="container">
63
64 <div class="wrap">
65
66 <?php do_atomic( 'open_container' ); // Open container hook ?>
67
68 <?php if ( current_theme_supports( 'breadcrumb-trail' ) ) breadcrumb_trail( array( 'before' => __( 'Browsing:', hybrid_get_textdomain() ) . ' <span class="sep">/</span>' ) ); ?>
Something went wrong with that request. Please try again.