forked from sdg32/maupassant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
42 lines (42 loc) · 1.57 KB
/
header.php
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
<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<header id="header" class="clearfix">
<div class="container">
<div class="col-group">
<div class="site-name">
<?php if ( is_front_page() && is_home() ) : ?>
<h1>
<a id="logo" href="<?php echo esc_url( home_url( '/' ) ); ?>">
<?php bloginfo( 'name' ); ?>
</a>
</h1>
<?php else : ?>
<a id="logo" href="<?php echo esc_url( home_url( '/' ) ); ?>">
<?php bloginfo( 'name' ); ?>
</a>
<?php endif; ?>
<p class="description"><?php bloginfo( 'description' ); ?></p>
</div>
<?php if ( has_nav_menu( 'primary' ) ) : ?>
<div>
<?php wp_nav_menu( array(
'theme_location' => 'primary',
'container' => 'nav',
'container_class' => 'clearfix',
'container_id' => 'nav-menu'
) ); ?>
</div>
<?php endif; ?>
</div>
</div>
</header>
<div id="body">
<div class="container">
<div class="col-group">