soundmap_theme/header-single.php

70 lines
2.1 KiB
PHP

<?php
/**
* The Header for the MAP default themplate
*
* Displays all of the <head> section and everything up till <div id="main">
*
*/
?><!DOCTYPE html>
<!--[if IE 6]>
<html id="ie6" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 7]>
<html id="ie7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html id="ie8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 6) | !(IE 7) | !(IE 8) ]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width" />
<title><?php
$title = __('SoundMap', 'soundmap') . ' | ';
$title = apply_filters('wp_title', $title, "|", 'right');
echo $title;
bloginfo( 'name' );
?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/style.css" />
<link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/common.css" />
<link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/style-single.css" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<!--[if lt IE 9]>
<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
<![endif]-->
<?php
/* Always have wp_head() just before the closing </head>
* tag of your theme, or you will break many plugins, which
* generally use this hook to add elements to <head> such
* as styles, scripts, and meta tags.
*/
wp_head();
?>
<script src="<?php echo get_template_directory_uri(); ?>/js/soundmap_theme.js" type="text/javascript"></script>
</head>
<body <?php body_class(); ?>>
<!-- jsjsjsj -->
<div class="menu-languages menu">
<?php echo qtrans_generateLanguageSelectCode(); ?>
</div><!-- menu-languages menu -->
<div id="wrapper" class="hfeed">
<div class="menu-header">
<?php wp_nav_menu( array('container' => '', 'theme_location' => 'primary' ) ); ?>
<ul class="menu">
<?php dynamic_sidebar( 'sidebar-1' );?>
</ul>
</div>