-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathheader.php
64 lines (34 loc) · 1.71 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php require_once ( 'head.php' ) ?>
<div class = "wrapper">
<!-- PAGE HEADER -->
<header class = "row">
<!-- Logo -->
<div class = "logo small-column-70 laptop-column-20 large-column-25">
<?php echo is_front_page() ? '<h1>' : '' ?>
<a href = "<?php bloginfo ( 'url' ) ?>" title = "<?php echo bloginfo ( 'name' ); ?> - <?php _e( 'Home page', 'wpgc' ); ?>">
<img src = "<?php bloginfo ( 'template_url' ) ?>/img/logo.png" alt = "<?php bloginfo ( 'name' ) ?>" />
</a>
<?php echo is_front_page() ? '</h1>' : '' ?>
</div>
<!-- Search form -->
<div class = "column-25 small-hidden laptop-right">
<?php get_template_part( 'inc/social', 'media' ); ?>
</div>
<!-- Main navigation -->
<div class="small-right laptop-column-55 large-column-50">
<nav class="navigation responsiville-mobimenu">
<?php
wp_nav_menu( array(
'menu' => 'Main navigation',
'theme_location' => 'main-navigation',
'container' => '',
'menu_class' => 'main-navigation',
'menu_id' => 'main-navigation',
'responsiville_megamenu' => true,
));
?>
</nav>
</div>
</header>
<!-- MAIN PAGE ELEMENT -->
<main class = "clear">