41 lines
1.7 KiB
PHP
41 lines
1.7 KiB
PHP
<?php
|
|
/**
|
|
* The header for our theme.
|
|
*
|
|
* Displays all of the <head> section and everything up till <div id="content">
|
|
*
|
|
* @package ku2015
|
|
*/
|
|
?><!DOCTYPE html>
|
|
<html <?php language_attributes(); ?>>
|
|
<head>
|
|
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<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=Crimson+Text:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
|
|
|
|
<?php wp_head(); ?>
|
|
</head>
|
|
|
|
<body <?php body_class(); ?>>
|
|
<div id="dns-banner"><a href="https://studentersamfundet.no/"><img id="dns-logo" src="<?php bloginfo('template_directory');?>/img/dns-logo.png" /></a></div>
|
|
<div id="page" class="hfeed site">
|
|
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'ku2015' ); ?></a>
|
|
|
|
<header id="masthead" class="site-header" role="banner">
|
|
<div class="site-branding">
|
|
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><img id="logo" src="<?php bloginfo('template_directory');?>/img/ku-logo3.png"></a>
|
|
<h1 class="site-title"><?php bloginfo( 'name' ); ?></h1>
|
|
<!--<p class="site-description"><?php bloginfo( 'description' ); ?></p>-->
|
|
</div><!-- .site-branding -->
|
|
|
|
<nav id="site-navigation" class="main-navigation" role="navigation">
|
|
<!--☰ MENY-->
|
|
<div id="menu-toggle" class="menu-toggle" aria-controls="primary-menu" aria-expanded="false">☰ Vis meny</div>
|
|
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_id' => 'primary-menu' ) ); ?>
|
|
</nav><!-- #site-navigation -->
|
|
</header><!-- #masthead -->
|
|
|
|
<div id="content" class="site-content">
|