-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
39 lines (31 loc) · 1.25 KB
/
Copy pathheader.php
File metadata and controls
39 lines (31 loc) · 1.25 KB
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
<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<?php if (is_singular() && pings_open()) { ?>
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
<?php }
wp_head(); ?>
<?php require_once get_template_directory() . '/customizer-options/css-variables.php'; ?>
</head>
<body <?php
body_class(); ?>>
<?php
wp_body_open();
?>
<header id="blogtube_header">
<a href="#blogtube_main_content" class="blogtube_skip_link"><?php echo esc_html__('Skip to main content', 'blogtube') ?></a>
<div id="blogtube_sidemenu_toggle" tabindex="1">
<i class="fa-solid fa-bars"></i>
</div>
<?php
$favicon_url = get_site_icon_url();
$home_url = esc_url(home_url('/'));
if (!empty($favicon_url)) {
echo '<a class="blogtube_header_logo" href="' . $home_url . '"><img src="' . esc_url($favicon_url) . '" alt="Favicon" /></a>';
}
?>
<a class="blogtube_name" href="<?php echo $home_url ?>"><?php echo get_bloginfo( 'name' );?></a>
<?php get_search_form() ?>
</header>