This repository has been archived by the owner on May 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
header.php
71 lines (51 loc) · 2.29 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
<?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 Cakifo
* @subpackage Template
*/
?>
<!doctype html>
<!--[if IE 7]> <html class="no-js ie7 oldie" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" <?php language_attributes(); ?>> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" <?php language_attributes(); ?>> <!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<!-- <meta name="viewport" content="width=device-width" /> -->
<title><?php hybrid_document_title(); ?></title>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php wp_head(); ?>
</head>
<body class="<?php hybrid_body_class(); ?>">
<?php do_atomic( 'open_body' ); // cakifo_open_body ?>
<?php get_template_part( 'menu', 'primary' ); // Loads the menu-primary.php template ?>
<div id="wrapper">
<?php do_atomic( 'before_header' ); // cakifo_before_header ?>
<header id="branding" role="banner" class="clearfix">
<?php do_atomic( 'open_header' ); // cakifo_open_header ?>
<hgroup>
<?php cakifo_logo(); ?>
<h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
</hgroup> <!-- #branding -->
<?php do_atomic( 'header' ); // cakifo_header ?>
</header> <!-- #branding -->
<?php do_atomic( 'after_header' ); // cakifo_after_header ?>
<?php get_template_part( 'menu', 'secondary' ); // Loads the menu-secondary.php template ?>
<?php do_atomic( 'before_content' ); // cakifo_before_content ?>
<div id="content" class="clearfix">
<?php do_atomic( 'open_content' ); // cakifo_open_content ?>
<?php
/**
* Include the slider `section-slider.php` template part file
* if it's the front/post page and the setting is activated
*
* Child Themes can replace this template part file via `section-slider.php`
*/
if ( ( is_home() || is_front_page() ) && hybrid_get_setting( 'featured_show' ) )
get_template_part( 'section', 'slider' );
?>