Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
- <!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
- <!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
- <!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]--><head>
- <!-- Basic Page Needs
- ================================================== -->
- <meta charset="utf-8">
- <title>TK</title>
- <meta name="description" content="">
- <meta name="author" content="">
- <!-- Mobile Specific Metas
- ================================================== -->
- <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <!-- CSS
- ================================================== -->
- <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.css">
- <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/map_russia.css">
- <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/skeleton.css">
- <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/mobile-nav.css">
- <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/flexslider.css" type="text/css" media="screen" />
- <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/css/accordion.css" />
- <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/css/jquery.fancybox.css" />
- <!--[if (lt IE 9) & (!IEMobile)]>
- <link rel="stylesheet" href="css/ie.css">
- <![endif]-->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
- <!-- Jquery
- ================================================== -->
- <!-- End Document
- ================================================== -->
- <!-- Favicons
- ================================================== -->
- <link rel="shortcut icon" href="<?php bloginfo('template_url'); ?>/images/favicon.ico">
- <link rel="apple-touch-icon" href="<?php bloginfo('template_url'); ?>/images/apple-touch-icon.png">
- <link rel="apple-touch-icon" sizes="72x72" href="<?php bloginfo('template_url'); ?>/images/apple-touch-icon-72x72.png">
- <link rel="apple-touch-icon" sizes="114x114" href="<?php bloginfo('template_url'); ?>/images/apple-touch-icon-114x114.png">
- <?php wp_head(); ?>
- <?php if(is_page(icl_object_id(24, 'page', false))){ ?>
- <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
- <script>
- var map;
- var chicago = new google.maps.LatLng(45.78506, 9.3061);
- function initialize() {
- var roadAtlasStyles = [ {
- featureType: "", elementType: "", stylers: [ { hue: "#08ff00" }, { saturation: -100 } ] }
- ];
- var mapOptions = {
- zoom: 16,
- center: chicago,
- panControl: false,
- zoomControl: false,
- mapTypeControl: false,
- scaleControl: false,
- streetViewControl: false,
- overviewMapControl: false
- };
- map = new google.maps.Map(document.getElementById('mappa'),
- mapOptions);
- var iconBase = 'http://tkitaly.com/wp-content/themes/tk/images/';
- var marker = new google.maps.Marker({
- position: chicago,
- map: map,
- title:"via Rossini 4 23847, Molteno",
- icon: iconBase + 'marker.png',
- shadow: iconBase + 'schools_maps.shadow.png'
- });
- var usRoadMapType = new google.maps.StyledMapType(
- roadAtlasStyles);
- map.mapTypes.set('usroadatlas', usRoadMapType);
- map.setMapTypeId('usroadatlas');
- }
- google.maps.event.addDomListener(window, 'load', initialize);
- </script>
- <?php } ?>
- <?php if ( 'prodotto' == get_post_type() ){ ?>
- <script>
- $( document ).ready(function() {
- $("#nav li:eq(3)").addClass("current-menu-item");
- });
- </script>
- <?php } ?>
- <?php if ( 'persone' == get_post_type() ){ ?>
- <script>
- $( document ).ready(function() {
- $("li#nav li:eq(3)").addClass("current-menu-item");
- });
- </script>
- <?php } ?>
- <?php if (is_archive('paese') ){ ?>
- <script>
- $( document ).ready(function() {
- $("#content li:eq(5)").addClass("current_page_item");
- });
- </script>
- <?php } ?>
- <?php if (is_tax('testimonianze') ){ ?>
- <script>
- $( document ).ready(function() {
- $("#nav li:eq(5)").addClass("current-menu-item");
- });
- </script>
- <?php } ?>
- <?php if (is_category(array(20,21,22,19))){ ?>
- <script>
- $( document ).ready(function() {
- $("#nav li:eq(7)").addClass("current-menu-item");
- });
- </script>
- <?php } ?>
- <?php if (in_category(array(1))){ ?>
- <script>
- $( document ).ready(function() {
- $("#nav li:eq(6)").addClass("current-menu-item");
- });
- </script>
- <?php } ?>
- </head>
- <body <?php body_class(); ?>>
- <div class="container columns add-bottom">
- <header>
- <div id="top">
- <div class="block">
- <a class="nav-btn" id="nav-open-btn" href="#nav">Book Navigation</a>
- <div class="logo" title="TK"><a href="<?php echo get_option('home'); ?>/" title="TK"><img src="<?php bloginfo('template_url'); ?>/images/logo.png" alt="TK"></a></div>
- </div>
- </div>
- <!-- start language switcher -->
- <?php if(is_user_logged_in()) { ?>
- <div id="polyglotLanguageSwitcher">
- <?php do_action('icl_language_selector'); ?>
- </div>
- <?php } ?>
- <!-- end language switcher -->
- <nav id="nav" role="navigation">
- <div class="block">
- <h2 class="block-title">Chapters</h2>
- <!-- search form desktop -->
- <form class="searchform" action="<?php echo home_url( '/' ); ?>">
- <input class="searchfield" type="text" value="" name="s" id="s" />
- <input type="hidden" name="lang" value="<?php echo(ICL_LANGUAGE_CODE); ?>"/>
- <input class="searchbutton" type="button" value="" />
- </form>
- <!-- end search form desktop -->
- <ul>
- <!-- search form mobile -->
- <li class="search-responsive">
- <form class="searchform-mob" method="get" id="searchform" action="<?php echo home_url( '/' ); ?>">
- <input class="searchfield" type="text" value="Search" onFocus="if (this.value == 'Search...') {this.value = '';}" onBlur="if (this.value == '') {this.value = 'Search...';}" name="s" id="s" />
- <input class="searchbutton-mob" type="button" value="Go" id="searchsubmit" />
- </form>
- </li>
- <!-- end search form mobile -->
- <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
- </ul>
- <a class="close-btn" id="nav-close-btn" href="#top"><?php _e('Return to Content','TK'); ?></a>
- </div>
- </nav>
- </header>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement