Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 87 lines (71 sloc) 3.37 KB
* The Header for our theme.
* @package Hipoul
* @since hipoul 1.0
global $hipoul_settings;?>
<html <?php language_attributes(); ?>>
<head profile="">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<title><?php wp_title( '' ); ?></title>
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<!-- Bootstrap Core CSS -->
<link href="" rel="stylesheet" type="text/css" />
<!-- Custom Fonts -->
<link href=",300,400,700,300italic,400italic,700italic|Roboto:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src=""></script>
<script src=""></script>
<?php wp_head(); ?>
<?php if (!is_front_page()): ?>
<div id="header" style="background-image:url(<?php echo get_template_directory_uri(); ?>/img/background.jpg); background-size: cover;">
<a href="<?php echo home_url(); ?>" id="home-logo" title="<?php esc_attr_e('Go back to the front page', 'hipoul'); ?>">
<img src="<?php bloginfo('template_directory'); ?>/img/newlogo.svg" alt="Politecnico Open unix Labs Logo">
<?php else: /* little trick to hide the search bar in the homepage, and the "home" element */ ?>
.nav-justified >, .nav-justified > li:first-child {
display: none;
<div id="landing" class="row front-page">
<?php endif; ?>
<!-- Fixed navbar -->
<div class="navbar navbar-custom navbar-inverse navbar-static-top" id="<?php if (is_front_page()) echo "landing-"; ?>nav">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<div class="collapse navbar-collapse">
/* Header menu */
'theme_location' => 'header-menu',
'container' => false,
'menu_id' => '',
'menu_class' => 'nav navbar-nav nav-justified',
'depth' => 1,
// This one is the important part:
'walker' => new Hipoul_Walker_Nav_Menu
)); ?>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
<?php if (!is_front_page()): ?>
<div class="container" id="blog">
<?php endif; ?>