-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathheader.php
66 lines (64 loc) · 2.12 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
65
66
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
<link rel="stylesheet" href="https://unpkg.com/@creativecommons/fonts@2020.9.3/css/fonts.css">
<link rel="stylesheet" href="https://unpkg.com/@creativecommons/vocabulary@2020.11.3/css/vocabulary.css">
<title><?php wp_title('|'); ?></title>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php include 'explore-cc.php'; ?>
<?php do_action('cc_theme_before_header'); ?>
<!--BEGIN HEADER-->
<header class="main-header">
<?php do_action('cc_theme_before_header_content'); ?>
<div class="container">
<nav class="navbar">
<div class="navbar-brand">
<a href="<?php bloginfo('url'); ?>" class="has-text-black">
<?php echo CC_Site::get_current_website_logo(); ?>
</a>
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<?php
wp_nav_menu(
array(
'theme_location' => 'main-navigation',
'depth' => 2,
'container' => 'div',
'container_class' => 'navbar-menu',
'items_wrap' => '<div id="%1$s" class="navbar-end">%3$s</div>',
'menu_class' => 'navbar-menu',
'menu_id' => 'primary-menu',
'after' => '</div>',
'walker' => new Navwalker(),
)
);
?>
</nav>
</div>
<?php
if (function_exists('yoast_breadcrumb')) {
yoast_breadcrumb('<p id="breadcrumbs">', '</p>');
}
?>
<?php if (is_active_sidebar('after-navigation')) : ?>
<div class="container notification-container push-up">
<div class="columns is-centered is-gapless">
<div class="column is-10">
<?php dynamic_sidebar('after-navigation'); ?>
</div>
</div>
</div>
<?php endif; ?>
<?php do_action('cc_theme_after_header_content'); ?>
</header>
<!--END HEADER-->
<?php do_action('cc_theme_after_header'); ?>