|
Server IP : 89.26.249.46 / Your IP : 216.73.216.42 Web Server : Apache System : Linux a.cp.cloudlink.pt 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64 User : eticalga ( 1129) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/eticalga/www/files/themes/kobuxeticalgarve/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
/**
* The header for our theme.
*
* Displays all of the <head> section and everything up till <div id="content">
*
* @package kobuxeticalgarve
*/
?>
<!--
(((
((((
(( ((( (((
(( (( (( ((
( (((( ((
( ((((( ((
((( ((((((
((( (( ((
((( (( ((
(( (( ((
(( (( ((
(( (( ((
( (((((((((((. ( (
(( ((((((((( (((((( (( ((
((((((( (( (( ((
(( (( ((
(( (( ((
(((((((((((((((( ((( ((
(( ((
(( ((
( (
(( ((
(( ((
(( (( (( (
(( ((( ((( ((
(( (((( (((( (
(( (( ( (( (( ((
( ( ( ( (( ((
( (( (( ( (( (
(((( (( (( (((((
(( ((
( ((( ((
( (( (( ((
( ( (( (
(( (( ( (
(( (( (( (
(( ( (( ((
(( (( ( ((
(( (( (( ((
(( ( (( ((
(( (( ( (
( ( (( (
(( (( (( ((
This website was made by KOBU Agency for ETIC Algarve. Year: 2025. Visit us at https://kobu.agency.
-->
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
<link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/favicon.svg" />
<link rel="apple-touch-icon" sizes="180x180" href="<?php echo get_template_directory_uri(); ?>/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="<?php echo get_template_directory_uri(); ?>/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="<?php echo get_template_directory_uri(); ?>/favicon-16x16.png">
<link rel="manifest" href="<?php echo get_template_directory_uri(); ?>/site.webmanifest">
<link rel="mask-icon" href="<?php echo get_template_directory_uri(); ?>/safari-pinned-tab.svg" color="#3a3c4b">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="theme-color" content="#ffffff">
<script>
// Default all consent options to denied
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("consent", "default", {
ad_storage: "denied",
ad_user_data: "denied",
ad_personalization: "denied",
analytics_storage: "denied",
functionality_storage: "denied",
personalization_storage: "denied",
security_storage: "granted",
wait_for_update: 2000,
});
gtag("set", "ads_data_redaction", true);
gtag("set", "url_passthrough", true);
</script>
<?php wp_head(); ?>
<?php echo kobuxeticalgarve_header_scripts(); ?>
<?php echo wp_kses_post(get_field('google_tag', 'options')); ?>
</head>
<?php $bodyclasses = '';
if (wp_is_mobile()) {
$bodyclasses .= ' mobile';
} ?>
<body <?php body_class($bodyclasses); ?>>
<div id="loader">
<div class="loader-wrapper"><img src="<?php echo get_template_directory_uri(); ?>/dist/images/MainLoader_Logo_Etic.gif"></div>
</div>
<?php
$hide_cookie = (isset($_COOKIE['privacy_acceptance']) && $_COOKIE['privacy_acceptance'] == 1) ? 1 : 0;
if ($hide_cookie == 0) {
$cookies_bar = get_field('cookies_bar', 'options');
if ($cookies_bar) {
$cookie_text = $cookies_bar['text'];
$button_text = $cookies_bar['button_text'];
if ($cookie_text) { ?>
<div id="cookies-notification">
<div class="notification-wrapper">
<div class="message">
<?php echo $cookie_text; ?>
</div>
<div class="buttons">
<button id="accept-cookies" class="btn whiteghost"><?php echo $button_text; ?></button>
</div>
</div>
</div>
<?php }
}
} ?>
<header id="header" class="header">
<div id="menu">
<div class="menu-container">
<div class="logo-wrapper">
<a href="<?php echo home_url(); ?>">
<?php echo kobuxeticalgarve_get_icons('etic-algarve-logo'); ?>
</a>
</div>
<?php if (has_nav_menu('primary')) : ?>
<div class="navigation-wrapper">
<nav class="navigation" role="navigation">
<?php wp_nav_menu(array(
'theme_location' => 'primary',
'sort_column' => 'menu_order',
'menu_class' => 'main-menu',
'fallback_cb' => false,
'walker' => new Kobu_Dropdown_Walker_Nav_Menu()
)); ?>
</nav>
<?php if (has_nav_menu('full')) : ?>
<button class="icon toggle-menu" aria-label="<?php _e('Toggle menu', 'kobu'); ?>">
<span class="nav-icon">
<span></span>
<span></span>
<span></span>
<span></span>
</span>
</button>
<?php endif; ?>
<a href="<?php echo home_url(); ?>" class="logo-box"></a>
</div>
<?php endif; ?>
</div>
</div>
<?php if (has_nav_menu('full')) : ?>
<div id="full-menu">
<div class="full-menu-navigation-wrapper">
<nav class="full-menu-navigation" role="navigation">
<?php get_search_form(); ?>
<?php wp_nav_menu(array(
'theme_location' => 'full',
'sort_column' => 'menu_order',
'menu_class' => 'full-menu',
'fallback_cb' => false,
'walker' => new Kobu_Dropdown_Walker_Nav_Menu()
)); ?>
<ul class="full-menu-secondary">
<li><?php apply_filters('wpml_element_link', 1928, 'page'); // Subscribe to Newsletter
?></li>
<li><?php apply_filters('wpml_element_link', 3, 'page'); // Privacy Policy
?></li>
<li><?php apply_filters('wpml_element_link', 31, 'page'); // Terms and Conditions
?></li>
</ul>
</nav>
</div>
</div>
<?php endif; ?>
</header>
<div id="tablesite-content">
<div id="main-content" role="main">