Advertisement
Guest User

Presswork header php

a guest
Aug 25th, 2012
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.82 KB | None | 0 0
  1. <?php
  2. /**
  3.  * The template for displaying the header.
  4.  *
  5.  * Displays all of the <head> section and everything up till <ul id="main-wrapper">
  6.  * Includes all the action blocks for the header.
  7.  *
  8.  * @since PressWork 1.0
  9.  */
  10.  ?><!DOCTYPE html>
  11. <html <?php language_attributes(); ?>>
  12. <head>
  13. <meta charset="<?php bloginfo( 'charset' ); ?>" />
  14. <!--[if IE]><![endif]-->
  15. <!--[if lt IE 9]>
  16. <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  17. <![endif]-->
  18.  
  19. <title><?php wp_title('|',true,'right'); ?><?php bloginfo('name'); if(is_front_page()) { echo ' | '; bloginfo('description'); } if ( $paged > 1 ) { echo (' | Page '); echo $paged; } ?></title>
  20. <link rel="profile" href="http://gmpg.org/xfn/11" />
  21. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
  22. <?php pw_header_css(); ?>
  23. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  24. <?php $favicon = pw_theme_option('favicon'); if(!empty($favicon)) echo '<link rel="shortcut icon" type="image/x-icon" href="'.$favicon.'" />'."\n"; ?>
  25. <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame -->
  26. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  27. <meta name="viewport" content="width=device-width" />
  28. <?php wp_head(); ?>
  29. </head>
  30.  
  31. <!--[if lt IE 7 ]> <body <?php body_class("ie6"); ?>> <![endif]-->
  32. <!--[if IE 7 ]>    <body <?php body_class("ie7"); ?>> <![endif]-->
  33. <!--[if IE 8 ]>    <body <?php body_class("ie8"); ?>> <![endif]-->
  34. <!--[if IE 9 ]>    <body <?php body_class("ie9"); ?>> <![endif<]-->
  35. <!--[if (gt IE 9)|!(IE)]><!--> <body <?php body_class(); ?>> <!--<![endif]-->
  36.  
  37. <?php pw_actionCall('pw_body_top'); ?>
  38. <div id="body-wrapper" class="clearfix">
  39. <!--added to display flash header
  40.     <div id="flash_header">[kml_flashembed movie="http://localhost:8888/karentestweb.com/wp-content/uploads/2012/08/AliceTeeterHeader1.swf" height="390" width="900" /]</div>-->
  41.  
  42. <!--    <iframe src="http://localhost:8888/karentestweb.com/wp-content/themes/presswork-child/headerframenew.html" height="390" width="930">Alice Teeter Poetry</iframe> -->
  43.  
  44.     <header id="header-main" role="banner"> <!-- begin header -->
  45.    
  46. <!--added to display flash header
  47.     <div id="flash_header">[kml_flashembed movie="http://localhost:8888/karentestweb.com/wp-content/uploads/2012/08/AliceTeeterHeader1.swf" height="390" width="900" /]</div>-->
  48.  
  49.     <header id="header-main" role="banner"> <!-- begin header -->
  50.     <!-- <?php pw_actionBlock('pw_header'); ?> -->
  51. <?php
  52.       if ( is_home() ) {
  53.                            include '<a href="http://localhost:8888/karentestweb.com/wp-content/themes/presswork-child/headerframenew.html"';
  54.                            }
  55.       else {
  56.               pw_actionBlock('pw_header');
  57.              }
  58. ?>
  59.     </header> <!-- end header -->
  60.    
  61.     <ul id="main-wrapper">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement