<?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 WordPress



 * @subpackage Twenty_Seventeen



 * @since 1.0



 * @version 1.0



 */







?><!DOCTYPE html>



<html <?php language_attributes(); ?> class="no-js no-svg">



<head>



<meta charset="<?php bloginfo( 'charset' ); ?>">



<meta name="viewport" content="width=device-width, initial-scale=1">



<script src="<?php echo get_template_directory_uri(); ?>/js/jquery-min.js"></script>  



<link rel="profile" href="http://gmpg.org/xfn/11">



<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/jquery.bxslider.css" />



<script src="<?php echo get_template_directory_uri(); ?>/js/jquery.bxslider.js"></script>



<script>



 $(document).ready(function(){



	$('.bxslider').bxSlider({



	  minSlides: 1,



	  maxSlides: 8,



	  slideWidth: 480,



	  slideMargin: 0,



		pager: false,



		moveSlides:1,



		auto: true,



		//infiniteLoop: true,



	});



});



// script for the bottom



$(document).ready(function(){



	$('.slider-bottom').bxSlider({



	  minSlides: 1,



	  maxSlides: 8,



	  slideWidth: 480,



	  slideMargin: 0,



		pager: false,



		moveSlides:1,



		auto: true,



		//infiniteLoop: true,



	});







});



  </script>



<script>

  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){

  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)

  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');



  ga('create', 'UA-101988138-1', 'auto');

  ga('send', 'pageview');



</script>



<?php wp_head(); ?>



</head>







<body >



<div id="page" class="site">



	<div class="full">



    	<div class="logo">



    		<a href="<?php echo site_url(); ?>"><img src="<?php echo get_template_directory_uri(); ?>/images/logo.png" alt="logo" /></a>



        </div>



    </div>



    <div class="full" style="overflow:hidden;">



    	<div class="top-service-slider-wrapper">



        	<ul class="service-slider-ul bxslider">



            	<?php 



				 $args = array(



					'posts_per_page'   => 12,



					'category'         => 2,



					'post_type'        => 'post'



				);



				$post_array = get_posts($args);



		foreach ( $post_array as $post ) : setup_postdata( $post ); 



			



			$Postid = $post->ID;



			$thumb_url = get_the_post_thumbnail( $Postid, 'slider-section-thumb' );



			$post_title = $post->post_title;



			$content_trim_service	= wp_trim_words($post_title, 4 , '');



		



				?>



            	<li>



                	<div class="service-inner">



                    	<div class="service-image">



                        	<a href="<?php echo get_permalink($Postid); ?>"><?php echo $thumb_url ?></a>



                        </div>



                        <a href="<?php echo get_permalink($Postid); ?>">



                        <div class="service-text">



                        	<h2><?php echo $content_trim_service ?></h2>



                        </div></a>



                    </div>



                </li>



                <?php



                	endforeach;



					wp_reset_postdata();?>



            </ul>



        </div>



        </div>



    	<div class="clear"></div>



        <div class="full nav-class">



    <div class="container ">



        	<div class="navigation_menu">



            	<?php 



					wp_nav_menu( array (



						menu => 'Main Menu'



					));



				?>



            </div>



            <div class="search">



     



<?php /*<?php $unique_id = esc_attr( uniqid( 'search-form-' ) ); ?>







<form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/search.php' ) ); ?>">



	<input type="search" id="<?php echo $unique_id; ?>" class="search-field" placeholder="Search Here" value="<?php echo get_search_query(); ?>" name="s" />



	<button type="submit" class="search-submit"></button>



                    <div class="clear"></div>



                </form> */



				get_search_form();



				 ?>



                



            </div>



            <div class="clear"></div>



        </div>



        </div>











	<div class="site-content-contain">



		<div id="content" class="site-content">



