-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
executable file
·58 lines (43 loc) · 1.71 KB
/
header.php
File metadata and controls
executable file
·58 lines (43 loc) · 1.71 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
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="<?php the_title(); ?>" />
<meta property="og:site_name" content="<?php bloginfo('name') ?>">
<?php
/* Theme color for browsers that support it
<meta name="theme-color" content="#000">
*/
?>
<link rel="profile" href="http://gmpg.org/xfn/11">
<?php if ( is_singular() && pings_open( get_queried_object() ) ) : ?>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php endif; ?>
<?php if (is_search()) { ?>
<meta name="robots" content="noindex, nofollow" />
<?php } ?>
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
<link type="text/css" rel="stylesheet" href="<?php bloginfo('template_url');?>/assets/css/ginger.min.css">
<link type="text/css" rel="stylesheet" href="<?php bloginfo('template_url');?>/assets/css/theme.css">
<script src="https://use.fontawesome.com/71eb3125bb.js"></script>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php // Header ?>
<header class="container">
<div class="row">
<div class="col-7">
<h1 class="branding"><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
</div>
<div class="col-5 social">
<a href="https://www.facebook.com/hudsonhawkpta/" style="color:#fff;">
<i class="fa fa-facebook-square" aria-hidden="true"></i></a>
<nav class="main-nav">
<?php wp_nav_menu( array('theme_location' => 'primary') ); ?>
</nav>
</div>
</div>
</header>
<?php // Main Content ?>
<main>