| Server IP : 217.160.0.251 / Your IP : 216.73.216.183 Web Server : Apache System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux User : u94981163 ( 8991765) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /homepages/15/d754908516/htdocs/wp-content/themes/est-project/ |
Upload File : |
<?php
/**
* The template Name: Home
*
* This is the most generic template file in a WordPress theme and one
* of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query,
* e.g., it puts together the home page when no home.php file exists.
*
* @link http://codex.wordpress.org/Template_Hierarchy
*/
?>
<!DOCTYPE html>
<html class="nomargin" <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php
$favicon = est_project_setting( 'logo_favicon' );?>
<link rel="shortcut icon"
href="<?php echo ! empty( $favicon ) ? wp_get_attachment_image_url( $favicon,
'original' ) : ES_PROJECT_URL . 'assets/images/favicon.ico'; ?>">
<?php wp_head(); ?>
</head>
<?php $header_theme = !empty( est_project_setting( 'color_header_theme' ) ) ? est_project_setting( 'color_header_theme' ) : 'header_white';?>
<body <?php body_class($header_theme); ?>>
<div id="header-home-container">
<div class="foto-container">
<header class="light <?php echo $header_theme;?>">
<div class="siteWidth">
<div class="header__logo">
<a href="<?php echo site_url(); ?>">
<?php $logo_id = est_project_setting( 'logo_logo' );?>
<?php if ( !empty( $logo_id ) && wp_get_attachment_image_url( $logo_id,'original' )):?>
<img src="<?php echo wp_get_attachment_image_url( $logo_id,'original' ); ?>"/>
<?php else:?>
<img src="<?php echo ES_PROJECT_URL . 'assets/images/logo.png';?>">
<?php endif;?>
</a>
</div>
<ul class="header__contact-information">
<?php if( !empty( est_project_setting( 'contact_phone' ) ) ):?>
<li class="header__phone">
<i class="fa fa-mobile" aria-hidden="true"></i>
<span><a href="mailto:<?php echo est_project_setting( 'contact_phone' ) ?>"><?php _e( 'tel:', 'es-project');?><?php echo est_project_setting( 'contact_phone' ); ?></a></span>
</li>
<?php endif;?>
<?php if( !empty( est_project_setting( 'contact_email' ) ) ):?>
<li class="header__mail">
<i class="fa fa-envelope-o" aria-hidden="true"></i>
<span><a href="mailto:<?php echo est_project_setting( 'contact_email' ) ?>"><?php echo est_project_setting( 'contact_email' ) ?></a></span>
</li>
<?php endif;?>
</ul>
<a class="mobile-menu__button menu-button displayNone" href="#">
<div>
<span></span>
<span></span>
<span></span>
</div>
</a>
</div>
</header>
<div class="navigate-line light <?php echo $header_theme;?>">
<div class="navigate-line__wrapper siteWidth">
<nav class="main-menu">
<?php
if ( has_nav_menu( 'main_menu' ) ) {
wp_nav_menu( array(
'menu' => 'main_menu',
'theme_location' => 'main_menu',
'menu_class' => 'main-menu__menu',
'depth' => 3,
) );
}
?>
</nav>
<nav class="mobile-menu">
<?php
if ( has_nav_menu( 'main_menu' ) ) {
wp_nav_menu( array(
'menu' => 'main_menu',
'theme_location' => 'main_menu',
'menu_class' => 'mobile-menu__menu',
'depth' => 3,
) );
}
?>
<div class="header__contact-information">
<?php if( !empty( est_project_setting( 'contact_phone' ) ) ):?>
<div>
<i class="fa fa-phone" aria-hidden="true"></i>
<span><?php _e( 'tel:', 'es-project');?><?php echo est_project_setting( 'contact_phone' ); ?></span>
</div>
<?php endif;?>
<?php if( !empty( est_project_setting( 'contact_email' ) ) ):?>
<div>
<i class="fa fa-envelope-o" aria-hidden="true"></i>
<span><?php echo est_project_setting( 'contact_email' ) ?></span>
</div>
<?php endif;?>
</div>
</nav>
</div>
</div>
<!--
<div id="buscador-home" class="panel-widget-style panel-widget-style-for-52-0-0-0">
<div class="es-search__wrapper es-search__wrapper--horizontal es-search__wrapper--address-only">
<h3 class="widget-title">En Fincas Laucirica disponemos de una gran cartera de viviendas en todo el municipio de Getxo.</h3>
<form action="https://www.fincaslaucirica.com/wp/resultados-busqueda" role="search" method="get">
<input type="hidden" name="_sf_s">
<div class="es-search__field es-search__field--address">
<div class="es-field__label">
<label for="es-search-address-input">
Dirección
</label></div><div class="es-field__wrap "><div class="es-autocomplete-wrap js-autocomplete-wrap"><input type="text" name="es_search[address]" placeholder="Dirección, ciudad, código postal" id="es-search-address-input" value="" data-action="es_address_autocomplete"><div class="es-autocomplete-result"></div></div></div></div>
<div class="es-search__buttons">
<div class="es-button__wrap">
<input type="reset" class="es-button es-button-gray" value="Recomponer">
</div>
<div class="es-button__wrap">
<input type="submit" class="es-button es-button-orange-corner" value="Buscar ">
</div>
</div>
<div class="es-search__messages js-es-search__messages"></div>
</form>
<h3 class="widget-title">¿Quieres vender o alquilar tu vivienda?</h3>
<p>Solicita una <a href="https://www.fincaslaucirica.com/wp/contacto/" title="Valoración gratuita">valoración gratuita</a></p>
</div>
</div>
-->
</div>
</div>
<main class="siteWidth">
<?php while ( have_posts() ) : the_post(); ?>
<div class="post-single__content">
<?php the_content(); ?>
</div>
<?php endwhile; // End of the loop.?>
<?php get_footer();