/
header.php
66 lines (44 loc) · 1.9 KB
/
header.php
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
<?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 Retro-fitted
* @subpackage Template
*/
?>
<!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' ); // retro-fitted_open_body ?>
<div id="container">
<?php do_atomic( 'before_header' ); // retro-fitted_before_header ?>
<div id="header">
<?php do_atomic( 'open_header' ); // retro-fitted_open_header ?>
<div class="wrap">
<div id="branding">
<?php hybrid_site_title(); ?>
<?php hybrid_site_description(); ?>
</div><!-- #branding -->
<?php do_atomic( 'header' ); // retro-fitted_header ?>
</div><!-- .wrap -->
<?php do_atomic( 'close_header' ); // retro-fitted_close_header ?>
</div><!-- #header -->
<?php do_atomic( 'after_header' ); // retro-fitted_after_header ?>
<?php get_template_part( 'menu', 'primary' ); // Loads the menu-primary.php template. ?>
<?php do_atomic( 'before_main' ); // retro-fitted_before_main ?>
<div id="main">
<div class="wrap">
<?php do_atomic( 'open_main' ); // retro-fitted_open_main ?>
<?php if ( current_theme_supports( 'breadcrumb-trail' ) ) breadcrumb_trail(); ?>