This repository has been archived on 2019-06-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
io-theme-2019/header.php
2019-06-09 16:44:48 +02:00

86 lines
2.7 KiB
PHP
Executable File

<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<title>
<?php wp_title(''); ?>
<?php if(wp_title('', false)) { echo ' :'; } ?>
<?php bloginfo('name'); ?>
</title>
<link href="//www.google-analytics.com" rel="dns-prefetch">
<!-- <link href="<?php echo get_template_directory_uri(); ?>/img/icons/favicon.ico" rel="shortcut icon">
<link href="<?php echo get_template_directory_uri(); ?>/img/icons/touch.png" rel="apple-touch-icon-precomposed"> -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="<?php bloginfo('description'); ?>">
<?php wp_head(); ?>
<script>
// conditionizr.com
// configure environment tests
conditionizr.config({
assets: '<?php echo get_template_directory_uri(); ?>',
tests: {}
});
</script>
</head>
<body <?php body_class(); ?>>
<!-- wrapper -->
<div class="wrapper">
<!-- header -->
<header class="header clear" role="banner">
<div class="header-top">
<!-- logo -->
<div class="logo" class="topbar">
<a href="<?php echo home_url(); ?>">
<!-- svg logo - toddmotto.com/mastering-svg-use-for-a-retina-web-fallbacks-with-png-script -->
<!-- <img src="<?php echo get_template_directory_uri(); ?>/img/IO-logo-small.svg" alt="Logo" class="logo-img"> -->
<object data="<?php echo get_template_directory_uri(); ?>/img/IO-logo-small-black.svg" type="image/svg+xml">
<img src="<?php echo get_template_directory_uri(); ?>/img/IO-logo-small-black-100.png" />
</object>
</a>
</div>
<!-- /logo -->
<div id="motto" class="topbar">
<a href="<?php echo home_url(); ?>">
<?php echo get_bloginfo( 'description' ); ?>
</a>
</div>
<div id="spacer" class="topbar"></div>
<div id="menubutton" class="topbar">
<a id="menuopen" class="menuelem"> MENU </a>
<a id="menuclose" class="menuelem">
<object class="menuelem" data="<?php echo get_template_directory_uri(); ?>/img/menuclose-x.svg" type="image/svg+xml">
<img src="<?php echo get_template_directory_uri(); ?>/img/menuclose-x.png" />
</object>
</a>
</div>
</div>
<div class="topnav">
<!-- nav -->
<nav class="nav" role="navigation">
<?php iotheme_nav(); ?>
</nav>
<nav class="nav lang-menu" role="navigation">
<?php wp_nav_menu( array( 'theme_location' => 'lang-menu' ) ); ?>
</nav>
<nav class="nav social-menu" role="navigation">
<?php wp_nav_menu( array( 'theme_location' => 'social-menu' ) ); ?>
</nav>
<!-- /nav -->
</div>
</header>
<!-- /header -->