wp/wp-content/themes/IN-MOTION-package-u1/in-motion/header.php
changeset 7 cf61fcea0001
parent 0 d970ebf37754
child 16 a86126ab1dd4
equal deleted inserted replaced
6:490d5cc509ed 7:cf61fcea0001
     1 <?php include("scripts/contact-form.php"); ?>
     1 <?php include("scripts/contact-form.php"); ?>
     2 <!DOCTYPE html>
     2 <!DOCTYPE html>
     3 <html <?php language_attributes(); ?>
     3 <html <?php language_attributes(); ?> >
     4 	<head>
     4 	<head>
     5 		<!-- Meta Tags -->
     5 		<!-- Meta Tags -->
     6 		<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
     6 		<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
     7 		<meta name="viewport" content="initial-scale=1, maximum-scale=1" />
     7 		<meta name="viewport" content="initial-scale=1, maximum-scale=1" />
     8   		<meta name="viewport" content="width=device-width" />
     8   		<meta name="viewport" content="width=device-width" />
     9 		<title><?php wp_title('|', true, 'right'); ?><?php bloginfo('name'); ?></title>
     9 		<title><?php wp_title('|', true, 'right'); ?><?php bloginfo('name'); ?></title>
    10 
    10 
    11 		<!-- Stylesheets -->
    11 		<!-- Stylesheets -->
    12 		<link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri(); ?>/style.css" type="text/css" media="screen" />
    12 		<!--link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri(); ?>/style.css" type="text/css" media="screen" /-->
       
    13 		<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/style.css" type="text/css" media="screen" />
    13 		<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/reset.css" type="text/css" media="screen" />
    14 		<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/reset.css" type="text/css" media="screen" />
    14 		<link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(); ?>/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
    15 		<link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(); ?>/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
    15 		<!--[if lt IE 9]>
    16 		<!--[if lt IE 9]>
    16 			<link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(); ?>/css/ie8-and-down.css" />
    17 			<link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(); ?>/css/ie8-and-down.css" />
    17 		<![endif]-->
    18 		<![endif]-->
    18 		<!--[if lte IE 8]>
    19 		<!--[if lte IE 8]>
    19 		  <link rel="stylesheet" type="text/css" media="screen" href="<?php echo get_template_directory_uri(); ?>/css/ie8.css" />
    20 		  <link rel="stylesheet" type="text/css" media="screen" href="<?php echo get_template_directory_uri(); ?>/css/ie8.css" />
    20 		<![endif]-->		
    21 		<![endif]-->		
    21 		
    22 		
    22 		<!-- Fonts -->
    23 		<!-- Fonts -->
    23 		<link href='http://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css' />		
    24 		<link href='https://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css' />		
    24 		<!-- Favicon -->
    25 		<!-- Favicon -->
    25 		<?php
    26 		<?php
    26 		$favicon =  get_template_directory_uri().'/favicon.ico';
    27 		$favicon =  get_template_directory_uri().'/favicon.ico';
    27 		if ( function_exists( 'get_option_tree' ) ) {
    28 		if ( function_exists( 'get_option_tree' ) ) {
    28     		    if (get_option_tree( 'favicon')) {
    29     		    if (get_option_tree( 'favicon')) {
    39 			}
    40 			}
    40 		?>
    41 		?>
    41 
    42 
    42 		
    43 		
    43 		<!-- start for google maps -->	
    44 		<!-- start for google maps -->	
    44 		<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
    45 		<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false"></script>
    45 		
    46 		
    46 		<?php 
    47 		<?php 
    47 			$map_latitude_value='';
    48 			$map_latitude_value='';
    48 			$map_longitude_value='';
    49 			$map_longitude_value='';
    49 			$map_pin_picture='';
    50 			$map_pin_picture='';
   102 		<!--  code for google analytics -->
   103 		<!--  code for google analytics -->
   103 		<?php 
   104 		<?php 
   104 		$googleAnalitics = '';
   105 		$googleAnalitics = '';
   105 		if ( function_exists( 'get_option_tree') ) {
   106 		if ( function_exists( 'get_option_tree') ) {
   106 				$googleAnalitics = get_option_tree( 'google_analytics');
   107 				$googleAnalitics = get_option_tree( 'google_analytics');
   107 				echo $googleAnalitics;
   108 				echo strip_tags(trim($googleAnalitics), '<script>');
   108 		}
   109 		}
   109 		?>	
   110 		?>	
   110 <script type="text/javascript">
   111 <script type="text/javascript">
   111 			(function() {
   112 			(function() {
   112 				window.onload = function(){
   113 				window.onload = function(){