Advertisement
kennyvb

header.php

May 28th, 2012
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.24 KB | None | 0 0
  1. <?php
  2. /**
  3.  * The Header for our theme.
  4.  *
  5.  * Displays all of the <head> section and everything up till <div id="main">
  6.  *
  7.  * @package WordPress
  8.  * @subpackage Starkers
  9.  * @since Starkers 3.0
  10.  */
  11. ?><!DOCTYPE html>
  12. <html <?php language_attributes(); ?>>
  13. <head>
  14. <meta charset="<?php bloginfo( 'charset' ); ?>" />
  15. <title><?php
  16.     /*
  17.      * Print the <title> tag based on what is being viewed.
  18.      * We filter the output of wp_title() a bit -- see
  19.      * twentyten_filter_wp_title() in functions.php.
  20.      */
  21.     wp_title( '|', true, 'right' );
  22.  
  23.     ?></title>
  24. <link rel="profile" href="http://gmpg.org/xfn/11" />
  25. <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
  26. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
  27. <script type="text/javascript">
  28. // <![CDATA[
  29.     jQuery(function(){
  30.          // This initializes the Superfish menu.
  31.          jQuery('ul.sf-menu').superfish();
  32.      });
  33. // ]]>
  34. </script>
  35. <?php
  36.     /* We add some JavaScript to pages with the comment form
  37.      * to support sites with threaded comments (when in use).
  38.      */
  39.     if ( is_singular() && get_option( 'thread_comments' ) )
  40.         wp_enqueue_script( 'comment-reply' );
  41.  
  42.     /* Always have wp_head() just before the closing </head>
  43.      * tag of your theme, or you will break many plugins, which
  44.      * generally use this hook to add elements to <head> such
  45.      * as styles, scripts, and meta tags.
  46.      */
  47.     wp_head();
  48. ?>
  49.  
  50. </head>
  51.  
  52. <body <?php body_class(); ?>>
  53. <a href="/"><img src="<?php bloginfo( 'template_url' ); ?>/images/logo.png" alt="Kennyvb" id="logo"></a>
  54.  
  55.  
  56. <div id="navigation">
  57. <?php
  58.      wp_nav_menu( array(
  59.         'theme_location' => 'main-menu', // Setting up the location for the main-menu, Main Navigation.
  60.         'menu_class' => 'sf-menu', //Adding the class for dropdowns
  61.         'container_id' => 'navwrap', //Add CSS ID to the containter that wraps the menu.
  62.         'fallback_cb' => 'wp_page_menu', //if wp_nav_menu is unavailable, WordPress displays wp_page_menu function, which displays the pages of your blog.
  63.         )
  64.     );
  65. ?>
  66. </div>
  67.  
  68.  
  69.  
  70.  
  71.     <div id="page-wrap">
  72.         <div id="twitter">
  73.             </div>
  74.             <div id="random-photo">
  75.             <img class="shuffle" src="" alt="">
  76.             </div>
  77.  
  78.  
  79.  
  80.     <div id="main-content">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement