2014-08-17 16:55:38 +01:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The header for our theme.
|
|
|
|
*
|
|
|
|
* Displays all of the <head> section and everything up till <div id="content">
|
|
|
|
*
|
|
|
|
* @package storefront
|
|
|
|
*/
|
|
|
|
?><!DOCTYPE html>
|
|
|
|
<html <?php language_attributes(); ?> <?php storefront_html_tag_schema(); ?>>
|
|
|
|
<head>
|
|
|
|
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<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(); ?>>
|
|
|
|
<div id="page" class="hfeed site">
|
|
|
|
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'storefront' ); ?></a>
|
|
|
|
|
|
|
|
<?php
|
|
|
|
do_action( 'storefront_before_header' ); ?>
|
|
|
|
|
2015-01-18 17:15:02 +07:00
|
|
|
<header id="masthead" class="site-header" role="banner" <?php if ( get_header_image() != '' ) { echo 'style="background-image: url(' . esc_url( get_header_image() ) . ');"'; } ?>>
|
2014-08-17 16:55:38 +01:00
|
|
|
<div class="col-full">
|
|
|
|
|
|
|
|
<?php
|
|
|
|
/**
|
2014-08-18 18:29:26 +01:00
|
|
|
* @hooked storefront_social_icons - 10
|
|
|
|
* @hooked storefront_site_branding - 20
|
|
|
|
* @hooked storefront_secondary_navigation - 30
|
|
|
|
* @hooked storefront_product_search - 40
|
|
|
|
* @hooked storefront_primary_navigation - 50
|
|
|
|
* @hooked storefront_header_cart - 60
|
2014-08-17 16:55:38 +01:00
|
|
|
*/
|
|
|
|
do_action( 'storefront_header' ); ?>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</header><!-- #masthead -->
|
|
|
|
|
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* @hooked storefront_header_widget_region - 10
|
|
|
|
*/
|
|
|
|
do_action( 'storefront_before_content' ); ?>
|
|
|
|
|
|
|
|
<div id="content" class="site-content">
|
2014-08-29 15:43:48 +01:00
|
|
|
<div class="col-full">
|
2014-08-17 16:55:38 +01:00
|
|
|
|
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* @hooked woocommerce_breadcrumb - 10
|
|
|
|
*/
|
2014-09-11 14:31:45 +01:00
|
|
|
do_action( 'storefront_content_top' ); ?>
|