-
Notifications
You must be signed in to change notification settings - Fork 2
/
header.php
executable file
·34 lines (28 loc) · 1.35 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
<!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="http://gmpg.org/xfn/11">
<?php wp_head(); ?>
<?php do_action('mc/scripts/head'); ?>
</head>
<body <?php body_class(); ?>>
<?php do_action('mc/scripts/body'); ?>
<?php do_action('mc/styles/icons'); ?>
<!-- skip to main content -->
<a href="#primary" class="screen-reader-text"><?php _e('Skip to Main Content', 'mc-starter'); ?></a>
<header id="masthead" class="header" role="banner">
<nav class="navbar navbar-expand-lg navbar-light">
<div class="uk-container uk-container-large">
<a class="navbar-brand" href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#primary-menu" aria-controls="primary-menu" aria-expanded="false" aria-label="<?php _e('Toggle navigation', 'mc-starter'); ?>">
<span class="navbar-toggler-icon"></span>
</button>
<?php
// Loads the menu/primary.php template.
get_template_part('menu/primary');
?>
</div>
</nav>
</header><!-- .header -->