File: /var/www/healthnettoday.com/wp-content/themes/healthnettoday/header.php
<!DOCTYPE html>
<html lang="<?php language_attributes() ?>">
<head>
<meta charset="<?php echo bloginfo('charset'); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="keywords" content=" ">
<meta name="author" content="elemis">
<title><?php wp_title('|', true, 'right'); bloginfo('name') ?></title>
<link rel="stylesheet" href="<?php echo bloginfo('template_directory'); ?>/css/bootstrap.min.css">
<link rel="stylesheet" href="<?php echo bloginfo('template_directory'); ?>/css/slick.min.css">
<link rel="stylesheet" href="<?php echo bloginfo('template_directory'); ?>/css/slick-theme.min.css">
<link rel="stylesheet" href="<?php echo bloginfo('template_directory'); ?>/css/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.0/css/all.min.css">
<link rel="shortcut icon" href="<?php echo bloginfo('template_directory'); ?>/favicon_io (1)/favicon.ico">
<style>
#contactLink {
display: inline-block;
padding: 0 15px;
font-size: 16px;
margin-top: -20px;
color: #fff;
text-decoration: none;
}
#contactPopup {
display: none;
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 60%;
background-color: white;
padding: 20px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
z-index: 1000;
border-radius: 10px;
max-height: 80vh;
overflow-y: auto;
}
h3 {
font-size: 20px;
line-height: 1.3;
color: var(--color-text-primary);
font-family: "Poppins", sans-serif;
font-weight: 600;
}
input {
width: 100%;
padding: 6px 0px;
margin-bottom: 10px;
padding-left: 25px;
border-radius: 5px;
border: 1px solid var(--color-text-secondary);
}
textarea {
width: 100%;
padding-left: 25px;
margin-bottom: 10px;
border-radius: 5px;
border: 1px solid var(--color-text-secondary);
}
form button {
background-color: #007BFF;
color: white;
padding: 10px;
border: none;
cursor: pointer;
border-radius: 5px;
}
form input, form textarea {
margin: 10px 0;
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 5px;
}
.close-btn {
position: absolute;
top: 10px;
right: 10px;
font-size: 20px;
background-color: transparent;
border: none;
color: #333;
cursor: pointer;
}
#map {
height: 300px;
width: 100%;
margin-top: 20px;
}
.gm-err-container {
height: 100%;
width: 100%;
display: table;
background-color: #e8eaed;
position: relative;
left: 0;
top: 0;
}
.gm-err-content
{
border-radius: 1px;
padding-top: 0;
padding-left: 10%;
padding-right: 10%;
position: static;
vertical-align: middle;
display: table-cell;
}
</style>
<!-- CSS ========================= -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css">
<!-- Fancybox v5 CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui@5/dist/fancybox/fancybox.css">
<?php wp_head();?>
</head>
<body>
<!-- header area start here -->
<nav class="navbar">
<div class="logo">
<a href="<?php echo home_url(); ?>" >
<img src="<?php echo get_field('header_logo','option'); ?>" alt="">
</a>
</div>
<div class="toggle-btn" onclick="toggleMenu()">☰</div>
<div class="mobile-menu-wrap" id="mobileMenu">
<?php
$defaults = array(
'theme_location' => 'header-menu',
'container' => false,
'menu_class' => 'menu',
'before' => '',
'after' => '',
'link_before' => '',
'link_after' => '',
);
wp_nav_menu($defaults);
?>
</div>
<div class="lang-tran-div">
<?php echo do_shortcode('[gtranslate]'); ?>
</div>
<a href="javascript:void(0);" class="header-advertise-link contact-popup-link">Contact</a>
</nav>
<!-- /header -->