32 lines
1.1 KiB
PHP
32 lines
1.1 KiB
PHP
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<title><?php bloginfo('name'); ?> - <?php bloginfo('description'); ?></title>
|
||
|
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>">
|
||
|
<?php wp_head(); ?>
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<!-- Header -->
|
||
|
<header class="bg-light py-3">
|
||
|
<div class="container d-flex justify-content-between align-items-center">
|
||
|
<?php if (has_custom_logo()) : ?>
|
||
|
<?php the_custom_logo(); ?>
|
||
|
<?php else : ?>
|
||
|
<a href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a>
|
||
|
<?php endif; ?>
|
||
|
<nav>
|
||
|
<?php
|
||
|
wp_nav_menu(array(
|
||
|
'theme_location' => 'primary',
|
||
|
'menu_class' => 'nav',
|
||
|
'container' => false,
|
||
|
'walker' => new WP_Bootstrap_Navwalker(),
|
||
|
));
|
||
|
?>
|
||
|
</nav>
|
||
|
</div>
|
||
|
</header>
|