Share Pastebin
Guest
Public paste!

header.php

By: a guest | Mar 19th, 2010 | Syntax: None | Size: 1.71 KB | Hits: 439 | Expires: Never
Copy text to clipboard
  1. <?php
  2.         // Prevent users from directly loading this theme file
  3.         defined( 'K2_CURRENT' ) or die ( 'Error: This file can not be loaded directly.' );
  4. ?>
  5. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  6.         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  7. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  8.  
  9. <head profile="http://purl.org/uF/2008/03/ http://purl.org/uF/hAtom/0.1/">
  10. <link rel="shortcut icon" href="favicon.ico" >
  11.       <link rel="icon" href="favicon_ani.gif" type="image/gif" >
  12.         <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  13.         <meta name="template" content="K2 <?php k2info('version'); ?>" />
  14.  
  15.         <title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
  16.         <link rel="stylesheet" type="text/css" media="screen" href="<?php bloginfo('template_url'); ?>/style.css" />
  17.         <?php /* Child Themes */ if ( K2_CHILD_THEME ): ?>
  18.                 <link rel="stylesheet" type="text/css" media="screen" href="<?php bloginfo('stylesheet_url'); ?>" />
  19.         <?php endif; ?>
  20.  
  21.         <?php if ( is_singular() ): ?>
  22.         <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  23.         <?php endif; ?>
  24.  
  25.         <?php wp_head(); ?>
  26.  
  27.         <?php wp_get_archives('type=monthly&format=link'); ?>
  28. </head>
  29.  
  30. <body class="<?php k2_body_class(); ?>">
  31. <p>
  32. <?php /* K2 Hook */ do_action('template_body_top'); ?>
  33.  
  34. <div id="page">
  35.  
  36.         <?php /* K2 Hook */ do_action('template_before_header'); ?>
  37.  
  38.         <div id="header">
  39.  
  40.                 <?php locate_template( array('blocks/k2-header.php'), true ); ?>
  41.  
  42.                 <?php /* K2 Hook */ do_action('template_header'); ?>
  43.  
  44.         </div> <!-- #header -->
  45.  
  46.         <hr />
  47.  
  48.         <?php /* K2 Hook */ do_action('template_before_content'); ?>