header.php 1.82 KB
Newer Older
agnez's avatar
agnez committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
<?php
/**
 * The Header for our theme.
 *
 * Displays all of the <head> section and everything up till <div id="bwt_content">
 *
 * @package Multipurpose Blog Pro
 * @subpackage multipurpose_blog_pro
 * @since multipurpose_blog_pro 1.0
 */
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
  <meta charset="<?php bloginfo( 'charset' ); ?>">
  <meta name="viewport" content="width=device-width">
  <link rel="profile" href="http://gmpg.org/xfn/11">
  <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">  
  <link href="https://fonts.googleapis.com/css?family=Dancing+Script" rel="stylesheet">
  <?php wp_head(); ?>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-107422631-1"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'UA-107422631-1');
</script>
</head>

<body <?php body_class(); ?>>
<div id="header">
  <?php // Top bar
  get_template_part( 'template-parts/header/topbar' ); ?>

	<div class="logo_bar">
		<div class="logo">
						
			<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
				<img src="<?php echo get_stylesheet_directory_uri(); ?>/images/logoVS.jpg" alt="<?php esc_attr(bloginfo( 'name' )); ?>" title="<?php esc_attr(bloginfo( 'description' ));?> " />
			</a>
		</div>
	</div>
	<div class="container">
		<div class="menus"> 
			<div class="toggle"><a class="toggleMenu" href="#"><?php esc_html_e('Menu','multipurpose-blog'); ?></a></div>     
			<div class="menubox header">
				<div class="nav">
				 <?php wp_nav_menu( array('theme_location'  => 'primary') ); ?>
				</div>
				<div class="clearfix"></div>
			</div>
		</div>
	</div>
	<div class="clearfix"></div>
</div>