File: /home/uaktdz7o5l3q/public_html/londonvilla.co.uk/wp-content/themes/skyestatechild/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/skyestatechild/owlcarousel/owl.carousel.min.css">
<link rel="stylesheet" href="/wp-content/themes/skyestatechild/owlcarousel/owl.theme.default.min.css">
<link rel="stylesheet" href="/wp-content/themes/skyestatechild/jqtransform.css">
<link href="https://fonts.googleapis.com/css?family=Muli:200,300,400,600,700,800" rel="stylesheet">
<link rel='stylesheet' id='js_composer_front-css' href='/wp-content/plugins/js_composer/assets/css/js_composer.min.css?ver=4.12.1' type='text/css' media='all' />
<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 */ ?>
<script src="/wp-content/themes/skyestatechild/owlcarousel/owl.carousel.min.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://web.archive.org/web/20171006195501/https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-85187028-1', 'auto');
ga('send', 'pageview');
</script>
<!--Start of Zendesk Chat Script-->
<script type="text/javascript">
window.$zopim||(function(d,s){var z=$zopim=function(c){z._.push(c)},$=z.s=
d.createElement(s),e=d.getElementsByTagName(s)[0];z.set=function(o){z.set.
_.push(o)};z._=[];z.set._=[];$.async=!0;$.setAttribute("charset","utf-8");
$.src="https://v2.zopim.com/?5PBC4GFn2JocrYLmW4Sdct8C2dYTlCJB";z.t=+new Date;$.
type="text/javascript";e.parentNode.insertBefore($,e)})(document,"script");
</script>
<!--End of Zendesk Chat Script-->
</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="wptime-plugin-preloader">
<p class="preloader-text">LOADING</p>
</div>
<div class="custom-form-wrapper">
<?php if (function_exists('iphorm')) echo iphorm(1); ?>
</div>
<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 custom-header-row">
<div class="logo columns">
<div class="logoimg">
<a href="<?= home_url(); ?>">
<img src="https://londonvilla.co.uk/wp-content/uploads/2020/03/Screenshot-2020-03-20-at-7.44.58-PM.png">
</a>
</div>
<div class="clearfix"></div>
</div>
<div id="custom-js-container"> </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-buttons-1-2-wrapper">
<div class="custom-button-1-wrapper">
<a href="#" class="open-enquire-form">
<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="/contact-us/">
<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>
<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 class="quick-access-icons">
<ul>
<li class="quick-access-enquire">
<a href="#" class="open-enquire-form">
<i class="fa fa-bell-o" aria-hidden="true"></i>
</a>
</li>
<li class="quick-access-search">
<a href="/property/property-search/">
<i class="fa fa-search" aria-hidden="true"></i>
</a>
</li>
<li class="quick-access-contactus">
<a href="/contact-us/">
<i class="fa fa-envelope-o" aria-hidden="true"></i>
</a>
</li>
</ul>
</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 } ?>