initfest/header.php

37 lines
1.5 KiB
PHP
Raw Normal View History

2014-09-30 12:26:23 +03:00
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="author" content="OpenFest" />
<meta name="copyright" content="OpenFest" />
<meta name="robots" content="follow,index" />
<meta name="title" content="" />
<meta name="keywords" content="" lang="en-us" />
<meta name="description" content="" />
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<link rel="icon" type="image/png" href="">
<title><?php wp_title( ' | ', true, 'right' ); ?></title>
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_uri(); ?>" />
<?php wp_head(); ?>
</head>
<body>
<nav>
<div class="content cf">
2014-09-30 15:13:59 +03:00
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="logo"><img src="<?php echo get_template_directory_uri(); ?>/img/logo.png" alt="OpenFest" /></a>
2014-09-30 13:43:39 +03:00
2014-09-30 15:13:59 +03:00
<?php wp_nav_menu( array('theme_location' => 'main-menu') ); ?>
2014-09-30 12:26:23 +03:00
</div>
</nav>
2014-09-30 15:13:59 +03:00
<?php
if(is_front_page()){
echo '<section class="banner cf"><img src="'.get_template_directory_uri().'/img/banner.jpg" alt="" /></section>';
}
?>