wp/wp-content/themes/IN-MOTION-package-u1/in-motion/header.php
changeset 7 cf61fcea0001
parent 0 d970ebf37754
child 16 a86126ab1dd4
--- a/wp/wp-content/themes/IN-MOTION-package-u1/in-motion/header.php	Tue Jun 09 11:14:17 2015 +0000
+++ b/wp/wp-content/themes/IN-MOTION-package-u1/in-motion/header.php	Mon Oct 14 17:39:30 2019 +0200
@@ -1,6 +1,6 @@
 <?php include("scripts/contact-form.php"); ?>
 <!DOCTYPE html>
-<html <?php language_attributes(); ?>
+<html <?php language_attributes(); ?> >
 	<head>
 		<!-- Meta Tags -->
 		<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
@@ -9,7 +9,8 @@
 		<title><?php wp_title('|', true, 'right'); ?><?php bloginfo('name'); ?></title>
 
 		<!-- Stylesheets -->
-		<link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri(); ?>/style.css" type="text/css" media="screen" />
+		<!--link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri(); ?>/style.css" type="text/css" media="screen" /-->
+		<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/style.css" type="text/css" media="screen" />
 		<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/reset.css" type="text/css" media="screen" />
 		<link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(); ?>/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
 		<!--[if lt IE 9]>
@@ -20,7 +21,7 @@
 		<![endif]-->		
 		
 		<!-- Fonts -->
-		<link href='http://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css' />		
+		<link href='https://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css' />		
 		<!-- Favicon -->
 		<?php
 		$favicon =  get_template_directory_uri().'/favicon.ico';
@@ -41,7 +42,7 @@
 
 		
 		<!-- start for google maps -->	
-		<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
+		<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false"></script>
 		
 		<?php 
 			$map_latitude_value='';
@@ -104,7 +105,7 @@
 		$googleAnalitics = '';
 		if ( function_exists( 'get_option_tree') ) {
 				$googleAnalitics = get_option_tree( 'google_analytics');
-				echo $googleAnalitics;
+				echo strip_tags(trim($googleAnalitics), '<script>');
 		}
 		?>	
 <script type="text/javascript">
@@ -269,4 +270,4 @@
 		
 		</div><!-- end left-sidebar -->
 		
-		<div id="container"><!-- start container -->				
\ No newline at end of file
+		<div id="container"><!-- start container -->