header.php
By: a guest | Mar 19th, 2010 | Syntax:
None | Size: 1.71 KB | Hits: 439 | Expires: Never
<?php
// Prevent users from directly loading this theme file
defined( 'K2_CURRENT' ) or die ( 'Error: This file can not be loaded directly.' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://purl.org/uF/2008/03/ http://purl.org/uF/hAtom/0.1/">
<link rel="shortcut icon" href="favicon.ico" >
<link rel="icon" href="favicon_ani.gif" type="image/gif" >
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta name="template" content="K2 <?php k2info('version'); ?>" />
<title><?php wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?></title>
<link rel="stylesheet" type="text/css" media="screen" href="<?php bloginfo('template_url'); ?>/style.css" />
<?php /* Child Themes */ if ( K2_CHILD_THEME ): ?>
<link rel="stylesheet" type="text/css" media="screen" href="<?php bloginfo('stylesheet_url'); ?>" />
<?php endif; ?>
<?php if ( is_singular() ): ?>
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php endif; ?>
<?php wp_head(); ?>
<?php wp_get_archives('type=monthly&format=link'); ?>
</head>
<body class="<?php k2_body_class(); ?>">
<p>
<?php /* K2 Hook */ do_action('template_body_top'); ?>
<div id="page">
<?php /* K2 Hook */ do_action('template_before_header'); ?>
<div id="header">
<?php locate_template( array('blocks/k2-header.php'), true ); ?>
<?php /* K2 Hook */ do_action('template_header'); ?>
</div> <!-- #header -->
<hr />
<?php /* K2 Hook */ do_action('template_before_content'); ?>