Created
October 9, 2014 00:44
-
-
Save raphaelkross/5c70f16df0b21f414b64 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* The Header for our theme. | |
* | |
* Displays all of the <head> section and everything up till <div id="content"> | |
* | |
* @package ivan_framework | |
*/ | |
?><!DOCTYPE html> | |
<html <?php language_attributes(); ?>> | |
<head> | |
<meta charset="<?php bloginfo( 'charset' ); ?>"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title><?php wp_title( '-', true, 'right' ); ?></title> | |
<link rel="profile" href="http://gmpg.org/xfn/11"> | |
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"> | |
<?php wp_head(); ?> | |
</head> | |
<body <?php body_class(); ?>> | |
<?php get_template_part('part', 'loader'); ?> | |
<?php flush(); ?> | |
<div id="all-site-wrapper" class="hfeed site"> | |
<a href="#" id="back-top"> | |
<i class="fa fa-angle-up " style=""></i> | |
</a> | |
<?php | |
/* @todo: adds who is being hooked */ | |
do_action( 'ivan_before' ); | |
?> | |
<?php | |
/* @todo: adds who is being hooked */ | |
do_action( 'ivan_header_section' ); | |
?> | |
<?php | |
// Dynamic Area displayed here... | |
if( true == ivan_get_option('header-da-after-enable') ) : ?> | |
<div class="<?php echo apply_filters('iv_dynamic_header_classes', 'iv-layout dynamic-header dynamic-header-after'); ?>"> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-xs-12 col-sm-12 col-md-12"> | |
<?php | |
$_id = ivan_get_option('header-da-after'); | |
ivan_display_dynamic_area( $_id, true ); | |
?> | |
</div> | |
</div> | |
</div> | |
</div> | |
<?php endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment