| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/d2m/sofident_cz/wp-content/themes/sofident/ |
Upload File : |
<?php
/**
* The header for our theme
*
* This is the template that displays all of the <head> section and everything up until <div id="content">
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Sofident
*/
require_once('inc/image-loader.php');
function file_url($url){
$parts = parse_url($url);
$path_parts = array_map('rawurldecode', explode('/', $parts['path']));
return
$parts['scheme'] . '://' .
$parts['host'] .
implode('/', array_map('rawurlencode', $path_parts))
;
}
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<script>
if (sessionStorage.fontsLoaded) {
var html = document.documentElement;
html.classList.add('fonts-loaded');
}
</script>
<style type="text/css">
body {
font-family: Arial, sans-serif;
}
.fonts-loaded body {
font-family: "Open Sans", Arial, sans-serif;
}
.st0{display:none;}
.st1{display:inline;}
.st2{fill:#366A86;}
.st3{font-family:'AvantGardeGothicC-Book';}
.st4{font-size:124.5091px;}
.st5{letter-spacing:-1;}
.st6{fill:#1F8BCC;}
.st7{fill:#7D7C7C;}
.st8{font-size:36.3673px;}
.st9{fill:url(#svg-grad);}
</style>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments)
}
;
gtag('js', new Date());
gtag('config', 'UA-31875657-6');
</script>
<meta charset="<?php bloginfo('charset'); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M7DVVPM"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div id="page" class="site">
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e('Skip to content', 'sofident'); ?></a>
<header id="masthead" class="site-header container" role="banner">
<div class="row">
<div class="col-xs-12">
<a href="<?php echo esc_url(home_url('/')); ?>" title="<?php bloginfo('name'); echo ' - '; bloginfo('description'); ?>" rel="home" class="logo-svg">
<!-- <?php
$svgUrl = file_url(get_template_directory_uri() . "/img/sofident.svg");
echo file_get_contents($svgUrl); ?> -->
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 647.2 159.6">
<g id="font" class="st0">
<g class="st1">
<text transform="matrix(1 0 0 1 167.5433 109.3703)"><tspan x="0" y="0" class="st2 st3 st4 st5">Sofi</tspan><tspan x="202.6" y="0" class="st6 st3 st4 st5">Dent</tspan></text>
<text transform="matrix(1 0 0 1 170.9222 148.5934)" class="st7 st3 st8">modern dentistry</text>
</g>
</g>
<g id="icon">
<linearGradient id="svg-grad" gradientUnits="userSpaceOnUse" x1="20.6125" y1="115.6467" x2="142.2148" y2="39.6612">
<stop offset="0" style="stop-color:#6EC173"/>
<stop offset="1" style="stop-color:#84BC41"/>
</linearGradient>
<path class="st9" d="M147.4,49.2C130.2,11.7,89.9-3.4,53.6,12.1s-53.2,58-37.7,94.4c16.4,38.4,60.8,49.9,85.6,40.6
c1.4-0.5-54.7,15.4-80.3-42.5c-14-31.6-1.3-70.7,34.6-87.1c30.4-13.9,69.2-1.3,85.9,32.3c16.4,32.8-1.6,74.5-25.8,83.3
c-4.7,1.7-15.8-21.5-18.7-28.4c7.4,5.9,17.4,13.3,27.5,11.4c5.1-1,9.4-4.1,11.5-8.9c2.2-5.1,1.6-8.3-0.9-12.5c-1.2-2-1.5-2,0.5-3.2
c0.6-0.4,1-0.9,1.5-1.4c1.6-1.7,2.7-3.6,3.3-5.8c1.3-4.5,0-9.3-3-12.8c-6.5-7.8-17.5-6.8-26.4-4.6c27.2-25,14.1-41.7-7-37
C81.9,4.9,70.1,35.3,73.9,55.1C67.2,47.6,58.2,37.6,47,39.3c-4.9,0.7-9.3,3.6-11.4,8.1c-1,2.1-1.4,4.4-1.2,6.8
c0.1,1.2,1.8,4.6,1.6,5.6c-0.2,0.8-3.5,1.9-4.3,2.5c-1.9,1.5-3.5,3.5-4.4,5.8c-2,4.8-0.8,10.2,2.3,14.2c6.5,8.5,17.5,7.6,27,7.7
c-6.8,7-16.1,10.6-15,22.3c0.4,4.5,2.9,8.8,6.9,11c1.8,1,3.8,1.5,5.9,1.6c1.4,0.1,4.2-0.8,5.1,0c1.3,1.1,1.8,5.7,3.3,7.5
c1.2,1.4,2.6,2.4,4.2,3.2c5.3,2.6,11.6,1.3,16.2-2.3c7.8-6,9.1-17.8,10.1-26.8c4.1,6.7,15.5,33.5,20.6,32.3
C145.6,131.3,163.3,84,147.4,49.2z M74.8,66.2c2.3-10,1.8-18,2-21.9c0.1-3.9,2.3-13.8,8.7-17c10.5-5.3,14.6,4.4,17.7,6.6
c22.1-4.3,25.2,12.5,6.1,30.7c-4.3,4-5.2,6.8-7.8,10.5c-2.8,4-9.3,4.2-9.9-0.4c-0.7-5.5,1.9-10.9-1.4-12.6c-3.6-1.2-3.2,6-7.6,9.3
C78.9,74.2,73.7,71,74.8,66.2z"/>
</g>
<g id="Layer_2">
<g>
<path class="st2" d="M179.5,83.6c0.2,3.7,1.9,19.1,19.1,19.1c12.2,0,19.1-8.8,19.1-18.7c0-11.2-8.3-15.2-12.3-16.7
c-11.8-4.6-32.1-5.5-32.1-26.6c0-10.3,7.1-25,26.1-25c17.1,0,25,12.7,25.3,24.9h-9.2c-0.2-5.9-3.2-16.6-17.2-16.6
c-11.3,0-15.8,8.6-15.8,16.8c0,10.1,6.7,12.9,18.2,16.2c9.8,2.7,26.3,7.2,26.3,27.1c0,12.5-9,26.9-28,26.9
c-16.1,0-28.5-11.3-28.5-27.4H179.5z"/>
<path class="st2" d="M303.8,75.4c0,20.3-15.6,35.6-35.6,35.6s-35.6-15.3-35.6-35.6s15.4-35.7,35.6-35.7S303.8,55.1,303.8,75.4z
M241.8,75.4c0,15.4,11.1,27.3,26.4,27.3s26.4-11.8,26.4-27.3S283.5,48,268.2,48S241.8,59.9,241.8,75.4z"/>
<path class="st2" d="M315.9,49.6h-10.6v-8.3h10.6v-1.4c0-13.3,9-22.7,24.3-22.7h1.9v8.3h-1.9c-2.7,0-15.1,0.2-15.1,14.3v1.4h16.9
v8.3h-16.9v59.8h-9.2V49.6z"/>
<path class="st2" d="M348,17.2h9.2v15.7H348V17.2z M348,41.3h9.2v68.1H348V41.3z"/>
<path class="st6" d="M371.8,17.2h25.3c43.2,0,52.9,27.4,52.9,45.9c0,22.4-14.8,46.2-52.3,46.2h-25.9V17.2z M397.7,101
c30.5,0,43.1-19.5,43.1-37.9c0-14.9-8.5-37.6-43.7-37.6H381V101H397.7z"/>
<path class="st6" d="M466.6,78.6c1.1,13.6,11.6,24,25.9,24c10.7,0,19.5-6.1,23.8-15.4h9.6c-5.5,14.7-17.9,23.8-33.4,23.8
c-20,0-35.5-15.2-35.5-35.6c0-16.8,12.3-35.7,35.5-35.7c25.8,0,35.1,21.4,35,39H466.6z M517.5,70.3c-2.6-13.8-13.2-22.3-25-22.3
c-13.1,0-23.7,9.3-25.9,22.3H517.5z"/>
<path class="st6" d="M537.4,41.3h8.7v9.8h0.2c5.2-7.7,13.3-11.5,22.3-11.5c15.4,0,29.8,9.6,29.8,33.9v35.9h-9.2V73.5
c0-5-0.4-25.5-21.7-25.5c-9.5,0-20.9,4.9-20.9,24v37.4h-9.2V41.3z"/>
<path class="st6" d="M615.4,49.6h-14.2v-8.3h14.2v-24h9.2v24h15.8v8.3h-15.8v59.8h-9.2V49.6z"/>
</g>
<g>
<path class="st7" d="M173.2,128.7h2.5v2.6h0.1c1.2-2.1,3.3-3.1,5.5-3.1c4.1,0,6,2.4,6.8,3.8c1.4-2.4,4-3.9,6.7-3.9
c3.1,0,8,1.8,8,9.1v11.3h-2.7v-11.4c0-5.5-3.5-6.5-5.5-6.5c-1.7,0-3.2,0.8-4,1.8c-1.3,1.5-1.2,3.3-1.2,4.8v11.4h-2.7v-11.4
c0-3.8-1.7-6.5-5.4-6.5c-5.5,0-5.4,5.7-5.4,6.5v11.4h-2.7V128.7z"/>
<path class="st7" d="M227.4,138.7c0,5.9-4.5,10.4-10.4,10.4c-5.9,0-10.4-4.5-10.4-10.4s4.5-10.4,10.4-10.4
S227.4,132.7,227.4,138.7z M209.3,138.7c0,4.5,3.2,8,7.7,8c4.5,0,7.7-3.5,7.7-8s-3.2-8-7.7-8C212.5,130.7,209.3,134.2,209.3,138.7
z"/>
<path class="st7" d="M251.5,148.6h-2.5V145h-0.1c-1.8,2.6-4.5,4.1-7.8,4.1c-5.9,0-10.6-4.4-10.6-10.5c0-4.7,3.5-10.3,10.5-10.3
c1.6,0,5.3,0.3,7.7,3.9h0.1v-10.5h2.7V148.6z M233.1,138.7c0,4.6,3.7,7.9,7.9,7.9c4.4,0,7.9-3.4,7.9-7.9c0-4.6-3.3-8.1-7.9-8.1
C236.7,130.7,233.1,134.1,233.1,138.7z"/>
<path class="st7" d="M258.1,139.6c0.3,4,3.4,7,7.6,7c3.1,0,5.7-1.8,6.9-4.5h2.8c-1.6,4.3-5.2,6.9-9.7,6.9
c-5.9,0-10.4-4.4-10.4-10.4c0-4.9,3.6-10.4,10.4-10.4c7.5,0,10.3,6.3,10.2,11.4H258.1z M273,137.2c-0.8-4-3.9-6.5-7.3-6.5
c-3.8,0-6.9,2.7-7.6,6.5H273z"/>
<path class="st7" d="M279.7,128.7h2.5v2.9h0.1c1.1-2.1,3.3-3.4,5.7-3.3v2.7c-2.5,0.1-5.6,1.8-5.6,5.9v11.8h-2.7V128.7z"/>
<path class="st7" d="M290.6,128.7h2.5v2.9h0.1c1.5-2.3,3.9-3.3,6.5-3.3c4.5,0,8.7,2.8,8.7,9.9v10.5h-2.7v-10.5
c0-1.5-0.1-7.5-6.3-7.5c-2.8,0-6.1,1.4-6.1,7v10.9h-2.7V128.7z"/>
<path class="st7" d="M341.6,148.6h-2.5V145H339c-1.8,2.6-4.5,4.1-7.8,4.1c-5.9,0-10.6-4.4-10.6-10.5c0-4.7,3.5-10.3,10.5-10.3
c1.6,0,5.3,0.3,7.7,3.9h0.1v-10.5h2.7V148.6z M323.3,138.7c0,4.6,3.7,7.9,7.9,7.9c4.4,0,7.9-3.4,7.9-7.9c0-4.6-3.3-8.1-7.9-8.1
C326.8,130.7,323.3,134.1,323.3,138.7z"/>
<path class="st7" d="M348.2,139.6c0.3,4,3.4,7,7.6,7c3.1,0,5.7-1.8,6.9-4.5h2.8c-1.6,4.3-5.2,6.9-9.7,6.9
c-5.9,0-10.4-4.4-10.4-10.4c0-4.9,3.6-10.4,10.4-10.4c7.5,0,10.3,6.3,10.2,11.4H348.2z M363.1,137.2c-0.8-4-3.9-6.5-7.3-6.5
c-3.8,0-6.9,2.7-7.6,6.5H363.1z"/>
<path class="st7" d="M369.8,128.7h2.5v2.9h0.1c1.5-2.3,3.9-3.3,6.5-3.3c4.5,0,8.7,2.8,8.7,9.9v10.5H385v-10.5
c0-1.5-0.1-7.5-6.3-7.5c-2.8,0-6.1,1.4-6.1,7v10.9h-2.7V128.7z"/>
<path class="st7" d="M394.3,131.1h-4.1v-2.4h4.1v-7h2.7v7h4.6v2.4H397v17.5h-2.7V131.1z"/>
<path class="st7" d="M404.4,121.7h2.7v4.6h-2.7V121.7z M404.4,128.7h2.7v19.9h-2.7V128.7z"/>
<path class="st7" d="M412.8,142.7c-0.2,2,1.2,3.9,3.6,3.9c2.3,0,3.5-1.7,3.5-3.5c0-2.4-2-3.1-3.9-3.8c-2.1-0.7-5.2-1.8-5.2-5.6
c0-3.1,2.1-5.6,5.7-5.6c3.3,0,5.5,2.4,5.5,5.4h-2.7c0-1.8-1.2-3-2.9-3c-1.9,0-3,1.3-3,2.9c0,2.3,2,3,3.9,3.6
c2.4,0.8,5.2,1.8,5.2,5.5c0,3.6-2.3,6.3-6.4,6.3c-4.1,0-6.1-3-6.1-6.3H412.8z"/>
<path class="st7" d="M428,131.1h-4.1v-2.4h4.1v-7h2.7v7h4.6v2.4h-4.6v17.5H428V131.1z"/>
<path class="st7" d="M438.1,128.7h2.5v2.9h0.1c1.1-2.1,3.3-3.4,5.7-3.3v2.7c-2.5,0.1-5.6,1.8-5.6,5.9v11.8h-2.7V128.7z"/>
<path class="st7" d="M466,128.7l-11.5,26.9h-2.9l3.3-7.9l-7.8-19h3.2l6.3,15.5l6.5-15.5H466z"/>
</g>
</g>
</svg>
</a>
<nav id="site-navigation" class="main-navigation pull-right" role="navigation">
<button id="nav-icon" class="menu-toggle" aria-controls="primary-menu" aria-expanded="false">
<span></span>
<span></span>
<span></span>
</button>
<?php
language_menu("lang-menu");
wp_nav_menu(array('theme_location' => 'menu-1', 'menu_id' => 'primary-menu', 'walker' => new ipage_submenu_class()));
?>
</nav>
</div>
</div>
</header><!-- #masthead -->
<?php
if (is_home() || is_front_page()) {
$args = array(
'post_type' => 'slider',
'posts_per_page' => 3,
'tag_id' => 13,
);
$query1 = new WP_Query($args);
if ($query1->have_posts()) {
$count = 0;
$results = $query1->found_posts;
include( 'template-parts/carousel.php' );
}
} else if (is_404() || is_single() || is_page() || is_archive()) {
?>
<section class="parallax-window parallax" style="background-image: url(<?php the_field('header_cover', 'option'); ?>)">
<div class="hero single container">
<div class="row">
<div class="col-xs-12">
<h1 class="text-left wow fadeInDown"><?php the_title(); // _e('Chyba 404', 'sofident'); ?></h1>
<?php
if (function_exists('yoast_breadcrumb')) {
yoast_breadcrumb('<div id="breadcrumbs" class="hidden-xs wow fadeInUp">', '</div>');
}
?>
</div>
</div>
</div>
</section>
<?php
} else if (is_tax('department')) {
$args = array(
'post_type' => 'slider',
'posts_per_page' => 3,
'tax_query' => array(
array(
'taxonomy' => 'department',
'field' => 'id',
'terms' => get_queried_object_id()
)
)
);
$query1 = new WP_Query($args);
if ($query1->have_posts()) {
$count = 0;
$results = $query1->found_posts;
include( 'template-parts/carousel.php' );
}
}
?>
<section id="header-bar" class="contacts-bar container hidden-xs">
<div class="gray-back">
<div class="row">
<div class="col-xs-12 col-sm-4 wow fadeInUp">
<div class="table-row-xs icon-holder">
<div>
<i class="with-sprite contact-icons icn-place"></i>
</div>
<div>
<?php _e('Navštivte nás', 'sofident'); ?>
<div>Na Plzeňce 1235/2, Praha 5</div>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-4 wow fadeInUp" data-wow-delay=".2s">
<div class="table-row-xs icon-holder">
<div>
<i class="with-sprite contact-icons icn-email"></i>
</div>
<div>
<?php _e('Napište nám', 'sofident'); ?>
<div><a href="mailto:recepce@sofident.cz">recepce@sofident.cz</a></div>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-4 wow fadeInUp" data-wow-delay=".4s">
<div class="table-row-xs icon-holder">
<div>
<i class="with-sprite contact-icons icn-phone"></i>
</div>
<div>
<?php _e('Zavolejte nám', 'sofident'); ?>
<div>+420 777 134 305</div>
</div>
</div>
</div>
</div>
</div>
</section>
<div id="content" class="site-content">