Advertisement
Guest User

header.php

a guest
Aug 7th, 2013
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.00 KB | None | 0 0
  1. <?php
  2. /**
  3.  * The xhtml1.0 transitional header for our theme.
  4.  *
  5.  * Displays all of the <head> section and everything up till <div id="bd">
  6.  *
  7.  * @package Raindrops
  8.  * @since Raindrops 0.1
  9.  *
  10.  * @uses get_bloginfo( 'charset' )
  11.  * @uses language_attributes( 'xhtml' )
  12.  * @uses bloginfo( 'html_type' )
  13.  * @uses bloginfo( 'charset' )
  14.  * @uses wp_title( '|', true, 'right' )
  15.  * @uses bloginfo( 'name' )
  16.  * @uses get_bloginfo( 'description', 'display' )
  17.  * @uses bloginfo( 'pingback_url' )
  18.  * @uses is_singular( )
  19.  * @uses get_option( 'thread_comments' )
  20.  * @uses wp_enqueue_script( 'comment-reply' )
  21.  * @uses wp_head( )
  22.  * @uses body_class( $this_blog )
  23.  * @uses raindrops_warehouse( 'raindrops_page_width' )
  24.  * @uses raindrops_warehouse( 'raindrops_col_width' )
  25.  * @uses wp_upload_dir( )
  26.  * @uses raindrops_upload_image_parser($header_image_uri,'inline','#hd' )
  27.  * @uses get_theme_mod( 'header_textcolor', HEADER_TEXTCOLOR )
  28.  * @uses get_header_textcolor( )
  29.  * @uses preg_match( "!([0-9a-f]{6}|[0-9a-f]{3})!si", get_header_textcolor( ) )
  30.  * @uses home_url( )
  31.  * @uses esc_attr( )
  32.  * @uses get_bloginfo( 'name', 'display' )
  33.  * @uses raindrops_header_image( $args = array( ) )
  34.  *
  35.  *
  36.  */
  37. echo '<'.'?'.'xml version="1.0" encoding="'.get_bloginfo( 'charset' ).'"'.'?'.'>'."\n";?>
  38. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  39. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes( 'xhtml' ); ?>>
  40.     <head profile="http://gmpg.org/xfn/11">
  41.         <meta http-equiv="content-type" content="<?php bloginfo( 'html_type' );?>; charset=<?php bloginfo( 'charset' ); ?>" />
  42.         <meta http-equiv="content-script-type" content="text/javascript" />
  43.         <meta http-equiv="content-style-type" content="text/css" />
  44.         <title><?php wp_title( '|', true, 'right' ); ?></title>
  45.         <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
  46. <?php
  47.         wp_head( );
  48. ?>
  49.     </head>
  50. <body <?php body_class( ); ?> >
  51.     <div id="<?php echo esc_attr( raindrops_warehouse( 'raindrops_page_width' ) ); ?>" class="<?php echo esc_attr( 'yui-'.raindrops_warehouse( 'raindrops_col_width' ) ); ?> hfeed">
  52. <?php
  53.         raindrops_prepend_doc( );
  54. ?>
  55.         <div id="top">
  56.             <div id="hd">
  57. <?php
  58. <?php if(is_home()) boom_header_image();?>
  59. /**
  60.  * Conditional Switch html headding element
  61.  *
  62.  * example
  63.  *  raindrops_site_title( " add some text" );
  64.  *
  65.  */
  66.         echo raindrops_site_title( );
  67. /**
  68.  * Site description diaplay at header bar when if header text Display Text value is no.
  69.  *
  70.  * example
  71.  *  raindrops_site_description(array("text"=>"replace text","switch" => 'style="display:none;"' );
  72.  *
  73.  *
  74.  */
  75.         echo raindrops_site_description( );
  76. ?>
  77.             </div>
  78.  
  79. <?php
  80. /**
  81.  * header image
  82.  *
  83.  * if no link home_url( ) then use 'elements'
  84.  *
  85.  */
  86.         echo raindrops_header_image( 'elsements' );
  87.  
  88. /**
  89.  * horizontal menubar
  90.  *
  91.  *
  92.  *
  93.  *
  94.  */
  95.         raindrops_nav_menu_primary( );
  96.        
  97.  
  98.         raindrops_after_nav_menu( );
  99. ?>
  100.  
  101.  
  102.  
  103.         </div>
  104.         <div id="bd" class="clearfix">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement