File: /home/uaktdz7o5l3q/public_html/londonvilla.co.uk/wp-content/themes/skyestate/header.php
<?php
/**
* The Header for our theme.
*
*
* @package WordPress
* @subpackage Skyestate
* @since Skyestate 1.0
*/
?><!DOCTYPE html>
<!--[if IE 6]>
<html id="ie6" <?php language_attributes(); ?> class="no-js">
<![endif]-->
<!--[if IE 7]>
<html id="ie7" <?php language_attributes(); ?> class="no-js">
<![endif]-->
<!--[if IE 8]>
<html id="ie8" <?php language_attributes(); ?> class="no-js">
<![endif]-->
<!--[if !(IE 6) | !(IE 7) | !(IE 8) ]><!-->
<html <?php language_attributes(); ?> class="no-js">
<!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<title><?php wp_title( '|', true, 'right' ); ?></title>
<link rel="stylesheet" href="/wp-content/themes/skyestate/owlcarousel/owl.carousel.min.css">
<link rel="stylesheet" href="/wp-content/themes/skyestate/owlcarousel/owl.theme.default.min.css">
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php
/* We add some JavaScript to pages with the comment form
* to support sites with threaded comments (when in use).
*/
if ( is_singular() && get_option( 'thread_comments' ) )
wp_enqueue_script( 'comment-reply' );
/* Always have wp_head() just before the closing </head>
* tag of your theme, or you will break many plugins, which
* generally use this hook to add elements to <head> such
* as styles, scripts, and meta tags.
*/
$nvr_shortname = THE_SHORTNAME;
$nvr_initial = THE_INITIAL;
wp_head(); /* the novaro' custom content for wp_head is in includes/header-functions.php */ ?>
</head><?php
$nvr_pid = nvr_get_postid();
$nvr_custom = nvr_get_customdata($nvr_pid);
if(isset($nvr_custom["show_breadcrumb"][0])){
if($nvr_custom["show_breadcrumb"][0]=="true"){
$nvr_showbc = true;
}else{
$nvr_showbc = false;
}
}
$nvr_showbc = true;
$nvr_cf_enableSlider = (isset($nvr_custom["enable_slider"][0]))? $nvr_custom["enable_slider"][0] : "";
$nvr_cf_disableTitle = (isset($nvr_custom["disable_title"][0]))? $nvr_custom["disable_title"][0] : "";
if($nvr_cf_enableSlider=="true" && !is_search()){
$nvr_issliderdisplayed = true;
}else{
$nvr_issliderdisplayed = false;
}
if($nvr_cf_disableTitle=="true"){
$nvr_istitledisplayed = false;
}else{
$nvr_istitledisplayed = true;
}
$nvr_allsitelayout = array('nvrlayout1','nvrlayout2','nvrlayout3','nvrlayout4','nvrlayout5','nvrlayout6','nvrlayout7');
$nvr_allcontlayout = array('nvrboxed','nvrfullwidth');
$nvr_alltopbar = array('nvrshowtopbar','nvrnotopbar');
$nvr_sitelayout = nvr_get_option( $nvr_shortname . '_web_layout');
$nvr_topbar = nvr_get_option( $nvr_shortname . '_topbar');
$nvr_contlayout = nvr_get_option( $nvr_shortname . '_container_layout' );
if(function_exists('simpleSessionGet') && nvr_get_option( $nvr_shortname . '_demo_mode' )=="1"){
$nvr_sitelayout = simpleSessionGet('site_layout', 'nvrlayout1');
$nvr_topbar = simpleSessionGet('topbar', 'nvrshowtopbar');;
$nvr_contlayout = simpleSessionGet('container_layout', 'nvrfullwidth');
}
$nvr_cf_siteLayout = (isset($nvr_custom["site_layout"][0]))? $nvr_custom["site_layout"][0] : $nvr_sitelayout;
if(!in_array($nvr_cf_siteLayout,$nvr_allsitelayout)){
$nvr_cf_siteLayout = 'nvrlayout1';
}
$nvr_cf_contlayout = (isset($nvr_custom["container_layout"][0]))? $nvr_custom["container_layout"][0] : $nvr_contlayout;
if(!in_array($nvr_cf_contlayout,$nvr_allcontlayout)){
$nvr_cf_contlayout = 'nvrfullwidth';
}
$nvr_cf_topbar = (isset($nvr_custom["topbar"][0]))? $nvr_custom["topbar"][0] : $nvr_topbar;
if(!in_array($nvr_cf_topbar,$nvr_alltopbar)){
$nvr_cf_topbar = 'nvrshowtopbar';
}
if(function_exists('simpleSessionSet') && nvr_get_option( $nvr_shortname . '_demo_mode' )=="1"){
simpleSessionSet('site_layout', $nvr_cf_siteLayout);
simpleSessionSet('container_layout', $nvr_cf_contlayout);
simpleSessionSet('topbar', $nvr_cf_topbar);
}
$nvr_txtContainerWidth = nvr_get_bodycontainer();
$nvr_bodyclass = array($nvr_shortname);
$nvr_bodyclass[] = $nvr_cf_siteLayout;
$nvr_bodyclass[] = $nvr_cf_contlayout;
$nvr_bodyclass[] = $nvr_cf_topbar;
if($nvr_issliderdisplayed){
$nvr_bodyclass[] = 'nvrslideron';
}
if($nvr_txtContainerWidth>1100){
$nvr_bodyclass[] = 'nvr1100more';
}
?>
<body <?php body_class($nvr_bodyclass); ?>>
<div id="subbody">
<div id="outercontainer">
<div id="headertext">
<div class="container">
<div class="row">
<?php
/***** file : engine/header-functions.php
- nvr_output_headertext - 5
- nvr_output_headertext2 - 8
- nvr_output_wpmlselector - 20
- nvr_secondary_menu - 30
- nvr_front_submission_menu - 40
*****/
do_action('nvr_output_toparea');
?>
<div class="clearfix"></div>
</div>
</div>
</div>
<!-- HEADER -->
<header id="outertop">
<?php
if($nvr_issliderdisplayed && $nvr_cf_siteLayout=='nvrlayout3'){
get_template_part( 'slider');
}
?>
<div id="outerheaderwrapper">
<div id="outerheader">
<div class="topcontainer container">
<div class="row">
<div class="logo columns">
<div class="logoimg">
<a href="<?= home_url(); ?>">
<svg version="1.1" id="custom-header-logo-svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 223.9 55.5" style="enable-background:new 0 0 223.9 55.5;" xml:space="preserve">
<style type="text/css">
.st0{fill:#30974C;}
.st1{fill:#040506;}
</style>
<g>
<path class="st0" d="M95.3,5c0-1.9,0.4-3.4,2.4-3.2c1.3,0.1,2.6,1.1,3.7,1.7c3.5,2,7.2,4.6,9.9,6.6c-0.2-0.6,0.3-0.5,0.5-0.8
c-0.1-0.2-0.2-0.4-0.3-0.6l0.1,0c-1.6-1.8-3.2-3.7-4.5-5.8c0,0,0-0.1,0-0.1c0,0,0.1,0,0.1,0c1.2,2.1,2.8,3.9,4.4,5.7l0,0
c0.4-0.1,0.4,0.3,0.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-0.8-4.7-2.4-6.4C104,38.4,101.9,37.5,99.4,37.5"/>
<path class="st1 st8" d="M131,37.8v12.6c0,0.7,0,1.3,0,1.9c-0.4-0.4-0.8-1-1.3-1.6l-11.3-13h-0.9v17.6h1.6V42.7l0-1.8
c0.3,0.3,0.6,0.7,1.1,1.2l11.4,13.2l0.1,0.1h0.9V37.8H131z"/>
<path class="st0 st8" d="M148.9,51.5c-0.2,0.5-0.4,0.9-0.5,1.2c-0.1-0.3-0.3-0.8-0.5-1.3l-5.8-13.7h-1.8l7.5,17.5l0.1,0.1h1l7.5-17.6
h-1.7L148.9,51.5z"/>
<rect x="164.1" y="37.8" class="st0 st8" width="1.6" height="17.5"/>
<polygon class="st0 st8" points="177.9,37.8 176.2,37.8 176.2,55.3 185.7,55.3 185.7,53.7 177.9,53.7 "/>
<polygon class="st0 st8" points="195.2,37.8 193.6,37.8 193.6,55.3 203.1,55.3 203.1,53.7 195.2,53.7 "/>
<path class="st0 st8" d="M219,47.9h-6.1l2.5-6c0.2-0.4,0.3-0.8,0.5-1.4c0.1,0.3,0.3,0.7,0.6,1.4L219,47.9z M216.5,37.6h-1l-7.4,17.6
h1.7l2.5-5.9h7.3l2.5,5.9h1.8L216.5,37.6z"/>
</g>
</svg>
</a>
</div>
<div class="clearfix"></div>
</div>
<?php
if($nvr_cf_siteLayout=='nvrlayout4'){
nvr_primary_menu(); /* file: engine/header-functions.php */
nvr_output_minicart(); /* file: engine/header-functions.php */
}else{
nvr_output_minicart(); /* file: engine/header-functions.php */
nvr_primary_menu(); /* file: engine/header-functions.php */
}
?>
<div class="custom-header-buttons-wrapper">
<div class="custom-button-1-wrapper">
<a href="#">
<div class="custom-button-1">
<span class="custom-pin-svg">
<svg version="1.1" id="header-pin-svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="29px" height="41.024px" viewBox="0 0 29 41.024" enable-background="new 0 0 29 41.024" xml:space="preserve">
<g>
<path id="XMLID_133_" fill="none" stroke="#2e974c" stroke-miterlimit="10" d="M14.448,40.208c0,0-13.948-18.583-13.948-26.333
S7.739,0.5,14.406,0.5S28.5,5.042,28.5,13.875S14.448,40.208,14.448,40.208z"/>
<circle id="XMLID_134_" fill="none" stroke="#2e974c" stroke-miterlimit="10" cx="14.365" cy="14.292" r="5.083"/>
</g>
</svg>
</span>
<span class="custom-button-pin-text">Enquire</span>
</div>
</a>
</div>
<div class="custom-button-2-wrapper">
<a href="#">
<div class="custom-button-2">
<span class="custom-email-svg">
<svg version="1.1" id="header-email-svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="46.333px" height="30.714px" viewBox="0 0 46.333 30.714" enable-background="new 0 0 46.333 30.714" xml:space="preserve">
<g>
<path id="XMLID_75_" fill="#fff" d="M0,0v30.713h46.333V0H0z M23.165,18.967L4.163,2.278H42.17L23.165,18.967z M15.595,15.352
L2.277,27.047V3.654L15.595,15.352z M17.322,16.866l5.843,5.131l5.843-5.131l13.173,11.569H4.151L17.322,16.866z M30.734,15.352
L44.053,3.654v23.393L30.734,15.352z M30.734,15.352"/>
</g>
</svg>
</span>
<span class="custom-button-email-text">Contact Us</span>
</div>
</a>
</div>
<div class="custom-burger-wrapper">
<a id="open-menu" href="#">
<div class="custom-burger-svg">
<svg version="1.1" id="burger-open-svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="31.875px" height="27px" viewBox="0 0 31.875 27" enable-background="new 0 0 31.875 27" xml:space="preserve">
<g id="burger">
<line id="XMLID_139_" fill="none" stroke="#2e974c" stroke-width="3" stroke-miterlimit="10" x1="0" y1="1.5" x2="31.875" y2="1.5"/>
<line id="XMLID_141_" fill="none" stroke="#2e974c" stroke-width="3" stroke-miterlimit="10" x1="0" y1="9.5" x2="31.875" y2="9.5"/>
<line id="XMLID_142_" fill="none" stroke="#2e974c" stroke-width="3" stroke-miterlimit="10" x1="0" y1="17.5" x2="31.875" y2="17.5"/>
<line id="XMLID_143_" fill="none" stroke="#2e974c" stroke-width="3" stroke-miterlimit="10" x1="0" y1="25.5" x2="31.875" y2="25.5"/>
</g>
</svg>
</div>
</a>
</div>
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
<div class="custom-fixed-menu-container">
<div class="burger-close-wrapper">
<a id="close-menu" href="#">
<div class="custom-burger-close-svg">
<svg version="1.1" id="burger-close-svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="28.496px" height="28.496px" viewBox="0 0 28.496 28.496" enable-background="new 0 0 28.496 28.496" xml:space="preserve">
<g id="X">
<line id="XMLID_147_" fill="none" stroke="#2e974c" stroke-width="3" stroke-miterlimit="10" x1="1.061" y1="27.436" x2="27.436" y2="1.061"/>
<g id="X_1_">
<line id="XMLID_144_" fill="none" stroke="#2e974c" stroke-width="3" stroke-miterlimit="10" x1="1.061" y1="1.061" x2="27.436" y2="27.436"/>
</g>
</g>
</svg>
</div>
</a>
</div>
<div class="burger-menu-container">
<?= do_shortcode('[menu name="Custom Menu"]'); ?>
</div>
</div>
<?php
if($nvr_issliderdisplayed && $nvr_cf_siteLayout!='nvrlayout3'){
get_template_part( 'slider');
}
if(!$nvr_issliderdisplayed && $nvr_istitledisplayed) {
?>
<!-- AFTER HEADER -->
<div id="outerafterheader">
<div class="container">
<div id="afterheader" class="row">
<section id="pagetitlecontainer" class=" seven columns">
<?php
get_template_part( 'title');
$nvr_pagedesc = (isset($nvr_custom['_'.$nvr_initial.'_pagedesc'][0]) && $nvr_custom['_'.$nvr_initial.'_pagedesc'][0]!="")? $nvr_custom['_'.$nvr_initial.'_pagedesc'][0] : "";
if($nvr_pagedesc){
echo '<span class="pagedesc">'.esc_html( $nvr_pagedesc ).'</span>';
}
?>
</section>
<?php if($nvr_showbc){ ?>
<div id="breadcrumbcontainer" class="five columns"><?php nvr_breadcrumb(); ?></div>
<?php } ?>
<div class="clearfix"></div>
</div>
</div>
</div>
<!-- END AFTER HEADER -->
<?php
}/* end if( !$nvr_issliderdisplayed ) */
?>
</header>
<!-- END HEADER -->
<!-- MIDDLE -->
<div id="outermiddle">
<!-- SECTION BUILDER BEFORE CONTENT -->
<?php
$nvr_sectionbuilderb = array();
if(isset( $nvr_custom['_'.$nvr_initial.'_sectionbuilder_before'][0] )){
$nvr_sectionbuilderb = unserialize($nvr_custom['_'.$nvr_initial.'_sectionbuilder_before'][0]);
}
nvr_section_builder($nvr_sectionbuilderb);
?>
<!-- END SECTION BUILDER BEFORE CONTENT -->
<?php
$nvr_pagelayout = nvr_get_sidebar_position($nvr_pid);
if($nvr_pagelayout!='one-col'){
$nvr_mcontentclass = "hassidebar";
if($nvr_pagelayout=="two-col-left"){
$nvr_mcontentclass .= " mborderright";
}else{
$nvr_mcontentclass .= " mborderleft";
}
}else{
$nvr_mcontentclass = "twelve columns nosidebar";
}
$nvr_pagelayout = nvr_get_sidebar_position($nvr_pid);
$numcol = 1;
if($nvr_pagelayout!='one-col'){
if($nvr_pagelayout=="two-col-left"){
$numcol = 2;
}elseif($nvr_pagelayout=="two-col-right"){
$numcol = 2;
}
$nvr_mcontentclass = "hassidebar ".$nvr_pagelayout;
}else{
$numcol = 1;
$nvr_mcontentclass = "twelve columns nosidebar";
}
?>
<!-- MAIN CONTENT -->
<div id="outermain">
<div id="main-gradienttop">
<div class="container">
<div class="row">
<section id="maincontent" class="<?php echo esc_attr( $nvr_mcontentclass ); ?>">
<?php if($nvr_pagelayout!='one-col'){ ?>
<section id="content" class="eight columns">
<div class="main">
<?php } ?>