-
Notifications
You must be signed in to change notification settings - Fork 45
/
header.php
74 lines (62 loc) · 2.28 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
67
68
69
70
71
72
73
<?php
/**
* HEADER
*
* This file controls the HTML <head> and top graphical markup (including
* Navigation) for each page in your theme. You can control what shows up where
* using WordPress and PageLines PHP conditionals.
*
* @package PageLines Framework
* @since 1.0
*
* @link http://www.pagelines.com/
* @link http://www.pagelines.com/tour
*
* @author PageLines http://www.pagelines.com/
* @copyright Copyright (c) 2008-2012, PageLines [email protected]
*
* @internal last revised January 23, 2012
* @version ...
*
* @todo Define version
*/
pagelines_register_hook('pagelines_before_html'); // Hook
?><!DOCTYPE html>
<html <?php language_attributes(); do_action('the_html_tag'); ?>>
<head>
<?php
pagelines_register_hook('pagelines_head'); // Hook
wp_head(); // Hook (WordPress)
pagelines_register_hook('pagelines_head_last'); // Hook ?>
</head>
<?php
echo pl_source_comment('Start >> HTML Body', 1); ?>
<body <?php body_class( pagelines_body_classes() ); ?>>
<?php
pagelines_register_hook('pagelines_before_site'); // Hook
if(has_action('override_pagelines_body_output')):
do_action('override_pagelines_body_output');
else: ?>
<div id="site" class="site-wrap <?php echo pagelines_layout_mode();?>">
<?php pagelines_register_hook('pagelines_before_page'); // Hook ?>
<div class="boxed-wrap site-translate">
<div id="fixed-top" class="pl-fixed-top" data-region="fixed-top">
<?php pagelines_template_area('pagelines_fixed_top', 'fixed_top'); // Hook ?>
</div>
<div class="fixed-top-pusher"></div>
<div class="pl-region-wrap">
<div id="page" class="thepage page-wrap">
<?php pagelines_register_hook('pagelines_page'); // Hook ?>
<div class="page-canvas">
<?php pagelines_register_hook('pagelines_before_header');?>
<header id="header" class="header pl-region" data-region="header">
<div class="outline pl-area-container">
<?php pagelines_template_area('pagelines_header', 'header'); // Hook ?>
</div>
</header>
<?php pagelines_register_hook('pagelines_before_main'); // Hook ?>
<div id="page-main" class="pl-region" data-region="template">
<div id="dynamic-content" class="outline template-region-wrap pl-area-container">
<?php
pagelines_special_content_wrap_top();
endif;