140 lines
5.4 KiB
PHP
140 lines
5.4 KiB
PHP
|
<!doctype html>
|
||
|
<html <?php language_attributes(); ?>>
|
||
|
<head>
|
||
|
<title><?php bloginfo("name"); ?> - <?php wp_title(); ?></title>
|
||
|
<meta charset="<?php bloginfo("charset"); ?>">
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
|
<meta name="description" content="RavePriest1 - Blog">
|
||
|
<meta name="author" content="Nippy">
|
||
|
<meta name="keywords" content="RavePriest1, Blog,">
|
||
|
<link rel="shortcut icon" href="<?php echo get_bloginfo(
|
||
|
"template_directory"
|
||
|
); ?>/assets/img/favicons/favicon.ico">
|
||
|
<link rel="apple-touch-icon" sizes="120x120" href="<?php echo get_bloginfo(
|
||
|
"template_directory"
|
||
|
); ?>/assets/img/favicons/favicon-120.png">
|
||
|
<link rel="apple-touch-icon" sizes="152x152" href="<?php echo get_bloginfo(
|
||
|
"template_directory"
|
||
|
); ?>/assets/img/favicons/favicon-152.png">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<?php wp_head(); ?>
|
||
|
</head>
|
||
|
|
||
|
<body <?php body_class(); ?>>
|
||
|
<div id="page" class="site-wrapper">
|
||
|
|
||
|
<!-- Overlay -->
|
||
|
<div class="site-overlay"></div>
|
||
|
<!-- Overlay / End -->
|
||
|
|
||
|
|
||
|
<?php
|
||
|
$nav_position = get_theme_mod("esc_header_nav_position", "default");
|
||
|
$header_layout = get_theme_mod("esc_header_layout", "default");
|
||
|
?>
|
||
|
|
||
|
<header id="header" class="header pinning-nav pinned pinning-top header--nav-position-<?php echo esc_attr(
|
||
|
$nav_position
|
||
|
); ?> header--layout-<?php echo esc_attr($header_layout); ?>">
|
||
|
|
||
|
<!-- Logo -->
|
||
|
<div class="header__logo header__logo--img">
|
||
|
<a href="<?php echo get_home_url(); ?>">
|
||
|
<img
|
||
|
src="<?php echo get_bloginfo(
|
||
|
"template_directory"
|
||
|
); ?>/assets/img/small-logo.webp"
|
||
|
srcset="<?php echo get_bloginfo(
|
||
|
"template_directory"
|
||
|
); ?>/assets/img/small-logo.webp" alt="rplogo" title="RP Logó" width="auto" height="auto"></a>
|
||
|
</div>
|
||
|
|
||
|
<!-- Main Navigation -->
|
||
|
<nav class="main-nav">
|
||
|
<?php
|
||
|
$nav_classes = ["main-nav__list"];
|
||
|
$nav_link_active = get_theme_mod("esc_header_nav_active", "diagonal-line");
|
||
|
$nav_link_hover = get_theme_mod("esc_header_nav_hover", "diagonal-line");
|
||
|
|
||
|
if ("diagonal-line" === $nav_link_active) {
|
||
|
$nav_classes[] = "main-nav__list--active-diagonal-line";
|
||
|
}
|
||
|
|
||
|
if ("diagonal-line" === $nav_link_hover) {
|
||
|
$nav_classes[] = "main-nav__list--hover-diagonal-line";
|
||
|
}
|
||
|
$nav_classes = implode(" ", $nav_classes);
|
||
|
|
||
|
wp_nav_menu([
|
||
|
"theme_location" => "header-menu",
|
||
|
"menu_id" => "menu-menu-1",
|
||
|
"menu_class" => $nav_classes,
|
||
|
"container" => false,
|
||
|
]);
|
||
|
?>
|
||
|
</nav>
|
||
|
|
||
|
<div class="header__spacer"></div>
|
||
|
|
||
|
<!-- Secondary Navigation -->
|
||
|
<nav class="header__nav header__nav--secondary">
|
||
|
<ul class="social-links social-links--circle">
|
||
|
|
||
|
|
||
|
<li class="social-links__item">
|
||
|
<a class="social-links__link" href="https://search.rp1.hu" target="_blank" title="Keresés" alt="kereses" aria-label="Keresés"><i class="fa fa-search"></i></a>
|
||
|
</li>
|
||
|
|
||
|
<!-- -- <div id="search-overlay">
|
||
|
<div class="search-container">
|
||
|
<form role="search" method="get" id="search-form" action="<?php echo esc_url(
|
||
|
home_url("/")
|
||
|
); ?>" class="input-group">
|
||
|
<div class="input-group">
|
||
|
<div class="input-group-prepend">
|
||
|
<span class="input-group-text">
|
||
|
<i class="fas fa-search text-muted"></i>
|
||
|
</span>
|
||
|
</div>
|
||
|
<input type="search" class="form-control border-0" placeholder="Search" aria-label="search" name="s" id="search-input" value="<?php echo esc_attr(
|
||
|
get_search_query()
|
||
|
); ?>">
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
-->
|
||
|
|
||
|
|
||
|
|
||
|
<li class="social-links__item">
|
||
|
<a class="social-links__link" href="https://streamlabs.com/ravepriest1/tip" target="_blank" title="Támogatás" alt="tamogatas" aria-label="Támogatás"><i class="fa-solid fa-wallet"></i></a>
|
||
|
</li>
|
||
|
<li class="social-links__item">
|
||
|
<a class="social-links__link" href="https://git.rp1.hu/explore/repos" target="_blank" title="RP Gitea" alt="rpgitea" aria-label="RP Gitea"><i class="fab fa-git"></i></a>
|
||
|
</li>
|
||
|
<li class="social-links__item">
|
||
|
<a class="social-links__link" href="https://www.youtube.com/@RPslair" target="_blank" title="RP YouTube" alt="rpyoutube" aria-label="RP YouTube"><i class="fab fa-youtube"></i></a>
|
||
|
</li>
|
||
|
<li class="social-links__item">
|
||
|
<a class="social-links__link" href="https://www.twitch.tv/ravepriest1" target="_blank" title="RP Twitch" alt="rptwitch" aria-label="RP Twitch"><i class="fab fa-twitch"></i></a>
|
||
|
</li>
|
||
|
<li class="social-links__item">
|
||
|
<a class="social-links__link" href="https://kick.com/ravepriest1" target="_blank" title="RP Kick" alt="rpkick" aria-label="RP Kick"><i class="fab fa-kickstarter"></i></a>
|
||
|
</li>
|
||
|
<li class="social-links__item">
|
||
|
<a class="social-links__link" href="https://discord.gg/gSdVMXRFQc" target="_blank" title="RP Discord" alt="rpdiscord" aria-label="RP Discord"><i class="fab fa-discord"></i></a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</nav>
|
||
|
<!-- Secondary Navigation / End -->
|
||
|
|
||
|
<!-- Mobile Burger Menu Icon -->
|
||
|
<a id="header-mobile__toggle" class="burger-menu-icon">
|
||
|
<span class="burger-menu-icon__line"></span>
|
||
|
<span class="burger-menu-icon__line"></span>
|
||
|
<span class="burger-menu-icon__line"></span>
|
||
|
</a>
|
||
|
<!-- Mobile Burger Menu Icon / End -->
|
||
|
</header>
|