-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
75 lines (63 loc) · 2.67 KB
/
header.php
File metadata and controls
75 lines (63 loc) · 2.67 KB
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
74
75
<?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(); ?>>
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
<?php wp_head(); ?>
<meta name="theme-color" content="#668e32" />
<meta name="msapplication-navbutton-color" content="#668e32">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#668e32">
</head>
<body <?php body_class(); ?>>
<?php do_action('storefront_before_site'); ?>
<div id="page" class="hfeed site">
<?php do_action('storefront_before_header'); ?>
<header id="masthead" class="site-header" role="banner" style="<?php storefront_header_styles(); ?>">
<?php
/**
* Functions hooked into storefront_header action
*
* @hooked storefront_header_container - 0
* @hooked storefront_skip_links - 5
* @hooked storefront_social_icons - 10
* @hooked storefront_site_branding - 20
* @hooked storefront_secondary_navigation - 30
* @hooked storefront_product_search - 40
* @hooked storefront_header_container_close - 41
* @hooked storefront_primary_navigation_wrapper - 42
* @hooked storefront_primary_navigation - 50
* @hooked storefront_header_cart - 60
* @hooked storefront_primary_navigation_wrapper_close - 68
*/
remove_action('storefront_header', 'storefront_site_branding', 20);
//remove_action( 'storefront_header', 'storefront_secondary_navigation', 30 );
remove_action('storefront_header', 'storefront_product_search', 40);
//remove_action( 'storefront_header', 'storefront_secondary_navigation', 30 );
//remove_action( 'storefront_header', 'storefront_primary_navigation', 50 );
do_action('storefront_header'); ?>
</header><!-- #masthead -->
<?php
/**
* Functions hooked in to storefront_before_content
*
* @hooked storefront_header_widget_region - 10
* @hooked woocommerce_breadcrumb - 10
*/
remove_action('storefront_header', 'woocommerce_breadcrumb', 10);
do_action('storefront_before_content'); ?>
<div id="content" class="site-content" tabindex="-1">
<div class="col-full">
<?php
do_action('storefront_content_top');