Advertisement
kristopherlouie

BAM header.php

Apr 27th, 2012
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.72 KB | None | 0 0
  1. <?php
  2. /**
  3.  * @package WordPress
  4.  * @subpackage BigAssMonsters
  5.  */
  6. ?><!DOCTYPE html>
  7. <html <?php language_attributes(); ?>>
  8. <head>
  9. <meta charset="<?php bloginfo( 'charset' ); ?>" />
  10. <title><?php
  11.     /*
  12.      * Print the <title> tag based on what is being viewed.
  13.      */
  14.     global $page, $paged;
  15.  
  16.     wp_title( '|', true, 'right' );
  17.  
  18.     // Add the blog name.
  19.     bloginfo( 'name' );
  20.  
  21.     // Add the blog description for the home/front page.
  22.     $site_description = get_bloginfo( 'description', 'display' );
  23.     if ( $site_description && ( is_home() || is_front_page() ) )
  24.         echo " | $site_description";
  25.  
  26.     // Add a page number if necessary:
  27.     if ( $paged >= 2 || $page >= 2 )
  28.         echo ' | ' . sprintf( __( 'Page %s', 'themename' ), max( $paged, $page ) );
  29.  
  30.     ?></title>
  31. <link rel="profile" href="http://gmpg.org/xfn/11" />
  32. <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
  33. <?php if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); ?>
  34. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
  35. <!--[if lt IE 9]>
  36. <script src="<?php bloginfo( 'template_directory' ); ?>/html5.js" type="text/javascript"></script>
  37. <![endif]-->
  38. <script src="<?php bloginfo( 'template_directory' ); ?>/js/jquery-1.7.2.min.js" type="text/javascript"></script>
  39. <script src="<?php bloginfo( 'template_directory' ); ?>/js/jquery.scrollTo-1.4.2-min.js" type="text/javascript"></script>
  40. <script src="<?php bloginfo( 'template_directory' ); ?>/js/jquery.localscroll-1.2.7-min.js" type="text/javascript"></script>
  41. <script src="<?php bloginfo( 'template_directory' ); ?>/js/jquery.serialScroll-1.2.2-min.js" type="text/javascript"></script>
  42. <script src="<?php bloginfo( 'template_directory' ); ?>/js/jquery.codaSlider.js" type="text/javascript"></script>
  43. <?php wp_head(); ?>
  44. </head>
  45.  
  46. <body <?php body_class(); ?>>
  47. <div id="BAM">
  48.     <div id="container">
  49.         <header id="branding">
  50.             <hgroup>
  51.                 <h1>Big Ass Monsters</h1>
  52.             </hgroup>
  53.             <div id="top-panel">
  54.                 <form role="search" method="get" id="searchform" action="' . home_url( '/' ) . '" >
  55.                     <input type="text" value="Type here..." name="s" id="s" class="search_form" />
  56.                     <input type="submit" id="searchsubmit" class="search_submit" value="Search" />
  57.                 </form>
  58.            
  59.                 <nav id="login">
  60.                     <a href="" title="">Log-in</a> or <a href="" title="">Register</a>
  61.                 </nav>
  62.             </div>
  63.         </header> <!--/branding-->
  64.        
  65.         <nav id="main-nav">
  66.             <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
  67.         </nav>
  68.        
  69.     <div id="content">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement