wordpress-zerro/header.php

38 lines
1.4 KiB
PHP
Raw Normal View History

2023-12-09 16:39:41 +08:00
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon.png" />
<? wp_head(); ?>
</head>
2020-03-07 15:49:14 +08:00
<body <?php body_class(); ?>>
2023-12-09 16:39:41 +08:00
<nav class="navbar navbar-expand-lg navbar-light bg-light shadow fixed-top">
<div class="container">
<a class="navbar-brand" href="#"><?php bloginfo( 'name' ); ?></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ms-auto">
<li class="nav-item active">
<a class="nav-link" href="/">Главная</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/archive">Блог</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/hardware">Железо</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/services">Услуги</a>
</li>
</ul>
</div>
</div>
</nav>
<main class='container'>