forked from AmitT/podium
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
99 lines (83 loc) · 4.21 KB
/
Copy pathheader.php
File metadata and controls
99 lines (83 loc) · 4.21 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<?php
/**
* The header for our theme.
*
* Displays all of the <head> section and everything up till <div id="content">
*
* @package podium
*/
use Podium\Config\Settings as settings;
$settings = new settings();
?>
<!DOCTYPE html>
<html <?php language_attributes();?>>
<head>
<meta charset="<?php bloginfo('charset');?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="//gmpg.org/xfn/11">
<?php wp_head();
$imagesFolder = get_template_directory_uri() . '/dist/images/';
// Please create favicon files with http://iconogen.com/
// and put them in assets/images/favicon directory
?>
<link rel="shortcut icon" href="<?php echo $imagesFolder; ?>favicon/favicon.ico" type="image/x-icon" />
<link rel="apple-touch-icon" sizes="57x57" href="<?php echo $imagesFolder; ?>favicon/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="<?php echo $imagesFolder; ?>favicon/apple-touch-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="<?php echo $imagesFolder; ?>favicon/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="<?php echo $imagesFolder; ?>favicon/apple-touch-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="<?php echo $imagesFolder; ?>favicon/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="<?php echo $imagesFolder; ?>favicon/apple-touch-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="<?php echo $imagesFolder; ?>favicon/apple-touch-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="<?php echo $imagesFolder; ?>favicon/apple-touch-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="<?php echo $imagesFolder; ?>favicon/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" href="<?php echo $imagesFolder; ?>favicon/favicon-16x16.png" sizes="16x16">
<link rel="icon" type="image/png" href="<?php echo $imagesFolder; ?>favicon/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="<?php echo $imagesFolder; ?>favicon/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="<?php echo $imagesFolder; ?>favicon/android-chrome-192x192.png" sizes="192x192">
<meta name="msapplication-square70x70logo" content="<?php echo $imagesFolder; ?>favicon/smalltile.png" />
<meta name="msapplication-square150x150logo" content="<?php echo $imagesFolder; ?>favicon/mediumtile.png" />
<meta name="msapplication-wide310x150logo" content="<?php echo $imagesFolder; ?>favicon/widetile.png" />
<meta name="msapplication-square310x310logo" content="<?php echo $imagesFolder; ?>favicon/largetile.png" />
</head>
<body <?php body_class();?>>
<div id="page" class="hfeed site">
<a class="skip-link show-for-sr" href="#content">
<?php esc_html_e('Skip to content', 'podium');?>
</a>
<header id="masthead" class="site-header" role="banner" data-sticky-container>
<div class="show-for-medium top-bar" data-sticky data-margin-top="0">
<div class="row">
<div class="small-12 columns">
<div class="top-bar-left">
<?php $settings->getMenu(new Top_Bar_Walker(), 'onCanvass'); // print menu (source config.php) ?>
</div>
<div class="top-bar-right">
<a href="<?php echo get_home_url(); ?>">
<span class="title-bar-title"><?php echo get_bloginfo('name'); ?></span>
</a>
</div>
</div>
</div>
</div>
<div class="hide-for-medium">
<div class="title-bar">
<div class="title-bar-left">
<button class="menu-icon" type="button" data-open="offCanvas"></button>
</div>
<div class="title-bar-right">
<a href="<?php echo get_home_url(); ?>">
<span class="title-bar-title"><?php echo get_bloginfo('name'); ?></span>
</a>
</div>
</div>
</div>
</header><!-- #masthead -->
<div class="off-canvas position-left" id="offCanvas" data-off-canvas>
<!-- Close button -->
<button class="close-button" aria-label="Close menu" type="button" data-close>
<span aria-hidden="true">×</span>
</button>
<!-- Menu -->
<?php $settings->getMenu(new Top_Bar_Walker(), 'offCanvas'); // print menu (source config.php) ?>
</div>
<div class="off-canvas-content" data-off-canvas-content>