-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathheader.php
executable file
·56 lines (44 loc) · 1.39 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
<?php
/**
* Header template used by Eclipse.
*
* Authors: Tyler Cunningham, Trent Lapinski
* Copyright: © 2012
* {@link http://cyberchimps.com/ CyberChimps LLC}
*
* Released under the terms of the GNU General Public License.
* You should have received a copy of the GNU General Public License,
* along with this software. In the main directory, see: /licensing/
* If not, see: {@link http://www.gnu.org/licenses/}.
*
* @package Eclipse.
* @since 1.0
*/
/* Call globals. */
global $themename, $themeslug, $options;
/* End globals. */
?>
<?php response_head_tag(); ?>
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?> <!-- wp_enqueue_script( 'comment-reply' );-->
<?php wp_head(); ?> <!-- wp_head();-->
</head><!-- closing head tag-->
<!-- Begin @response after_head_tag hook content-->
<?php response_after_head_tag(); ?>
<!-- End @response after_head_tag hook content-->
<!-- Begin @response before_header hook content-->
<?php response_before_header(); ?>
<!-- End @response before_header hook content -->
<!-- Adding wrapper class for sticky footer -->
<div class="wrapper">
<header>
<?php
foreach(explode(",", $options->get('header_section_order')) as $fn) {
if(function_exists($fn)) {
call_user_func_array($fn, array());
}
}
?>
</header>
<!-- Begin @response after_header hook -->
<?php response_after_header(); ?>
<!-- End @response after_header hook -->