-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathheader.php
More file actions
executable file
·58 lines (41 loc) · 1.55 KB
/
header.php
File metadata and controls
executable file
·58 lines (41 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php
/**
* The template for displaying the header.
*
* @package WordPress
* @subpackage K2
* @since K2 unknown
*/
// Prevent users from directly loading this theme file
defined( 'K2_CURRENT' ) or die ( __('Error: This file can not be loaded directly.', 'k2') );
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="template" content="K2 <?php k2info('version'); ?>" />
<title><?php wp_title('«', true, 'right'); ?><?php bloginfo('name'); ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<?php if ( get_option('k2usestyle') != 0 ): ?>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/style.css" />
<?php endif; ?>
<?php /* Child Themes */ if ( is_child_theme() ): ?>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" />
<?php endif; ?>
<?php if ( is_singular() ): ?>
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php endif; ?>
<!--[if lt IE 9]>
<script src="<?php bloginfo( 'template_url' ); ?>/js/html5.js" type="text/javascript"></script>
<![endif]-->
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php /* K2 Hook */ do_action('template_body_top'); ?>
<div id="page" class="hfeed">
<?php /* K2 Hook */ do_action('template_before_header'); ?>
<header id="header">
<?php get_template_part( 'blocks/k2-header' ); ?>
<?php /* K2 Hook */ do_action('template_header'); ?>
</header> <!-- #header -->
<hr />
<?php /* K2 Hook */ do_action('template_before_content'); ?>