| Server IP : 62.72.47.131 / Your IP : 216.73.217.34 Web Server : Apache/2.4.66 (Debian) System : Linux 975cdb959a49 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : ( 501) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/themes/medicate/ |
Upload File : |
<?php
$pqf_options = get_option('pqf_options');
$header_loaded = false;
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js no-svg">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<?php
if ( ! function_exists( 'has_site_icon' ) || ! wp_site_icon() ) {
if( !empty($pqf_options['background_favicon']) ) { ?>
<link rel="shortcut icon" href="<?php echo esc_url($pqf_options['background_favicon']['url']); ?>" />
<?php
}
else{
?>
<link rel="shortcut icon" href="<?php echo CONST_MEDICATE_ASSETS_URI.'img/ico.png' ?>" />
<?php }
}
wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<!-- loading -->
<?php medicate_display_loader(); ?>
<div id="page" class="site">
<a class="skip-link screen-reader-text" href="#content"><?php esc_html__( 'Skip to content', 'medicate' ); ?></a>
<?php
if(!$header_loaded && function_exists('get_field') && get_field('field_QnF1Eb') == 'yes')
{
$header_option = get_field('key_pjros');
if($header_option['header_options'] == 'default')
{
get_template_part( 'template-parts/header/header', 'default' );
$header_loaded = true;
}
elseif($header_option['header_options'] == 'style-one')
{
get_template_part( 'template-parts/header/header', 'style-one' );
$header_loaded = true;
}
elseif($header_option['header_options'] == 'style-two')
{
get_template_part( 'template-parts/header/header', 'style-two' );
$header_loaded = true;
}
elseif($header_option['header_options'] == 'style-three')
{
get_template_part( 'template-parts/header/header', 'style-three' );
$header_loaded = true;
}
elseif($header_option['header_options'] == 'style-four')
{
get_template_part( 'template-parts/header/header', 'style-four' );
$header_loaded = true;
}
elseif($header_option['header_options'] == 'style-five')
{
get_template_part( 'template-parts/header/header', 'style-five' );
$header_loaded = true;
}
}
if(!$header_loaded)
{
if(isset($pqf_options['pt_header_layout']))
{
if($pqf_options['pt_header_layout'] == 'default')
{
get_template_part( 'template-parts/header/header', 'default' );
}
elseif($pqf_options['pt_header_layout'] == 'style-one')
{
get_template_part( 'template-parts/header/header', 'style-one' );
}
elseif($pqf_options['pt_header_layout'] == 'style-two')
{
get_template_part( 'template-parts/header/header', 'style-two' );
}
elseif($pqf_options['pt_header_layout'] == 'style-three')
{
get_template_part( 'template-parts/header/header', 'style-three' );
}
elseif($pqf_options['pt_header_layout'] == 'style-four')
{
get_template_part( 'template-parts/header/header', 'style-four' );
}
elseif($pqf_options['pt_header_layout'] == 'style-five')
{
get_template_part( 'template-parts/header/header', 'style-five' );
}
else
{
get_template_part( 'template-parts/header/header', 'default' );
}
}
else
{
get_template_part( 'template-parts/header/header', 'default' );
}
}
?>
<?php \peaceful\medicate\Helper::instance()->display_header(); ?>
<div class="peacefulthemes-contain">
<div class="site-content-contain">
<div id="content" class="site-content">