Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * The Header for our theme.
- *
- * Displays all of the <head> section and everything up till <div id="main">
- *
- * @package WordPress
- * @subpackage Starkers
- * @since Starkers 3.0
- */
- ?><!DOCTYPE html>
- <html <?php language_attributes(); ?>>
- <head>
- <meta charset="<?php bloginfo( 'charset' ); ?>" />
- <title><?php
- /*
- * Print the <title> tag based on what is being viewed.
- * We filter the output of wp_title() a bit -- see
- * twentyten_filter_wp_title() in functions.php.
- */
- wp_title( '|', true, 'right' );
- ?></title>
- <link rel="profile" href="http://gmpg.org/xfn/11" />
- <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
- <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
- <script type="text/javascript">
- // <![CDATA[
- jQuery(function(){
- // This initializes the Superfish menu.
- jQuery('ul.sf-menu').superfish();
- });
- // ]]>
- </script>
- <?php
- /* We add some JavaScript to pages with the comment form
- * to support sites with threaded comments (when in use).
- */
- if ( is_singular() && get_option( 'thread_comments' ) )
- wp_enqueue_script( 'comment-reply' );
- /* Always have wp_head() just before the closing </head>
- * tag of your theme, or you will break many plugins, which
- * generally use this hook to add elements to <head> such
- * as styles, scripts, and meta tags.
- */
- wp_head();
- ?>
- </head>
- <body <?php body_class(); ?>>
- <a href="/"><img src="<?php bloginfo( 'template_url' ); ?>/images/logo.png" alt="Kennyvb" id="logo"></a>
- <div id="navigation">
- <?php
- wp_nav_menu( array(
- 'theme_location' => 'main-menu', // Setting up the location for the main-menu, Main Navigation.
- 'menu_class' => 'sf-menu', //Adding the class for dropdowns
- 'container_id' => 'navwrap', //Add CSS ID to the containter that wraps the menu.
- 'fallback_cb' => 'wp_page_menu', //if wp_nav_menu is unavailable, WordPress displays wp_page_menu function, which displays the pages of your blog.
- )
- );
- ?>
- </div>
- <div id="page-wrap">
- <div id="twitter">
- </div>
- <div id="random-photo">
- <img class="shuffle" src="" alt="">
- </div>
- <div id="main-content">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement