Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

13floor header

By: doctorwhobbc on Jan 29th, 2012  |  syntax: None  |  size: 4.70 KB  |  views: 82  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  3. <head profile="http://gmpg.org/xfn/11">
  4. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  5. <title><?php elegant_titles(); ?></title>
  6. <?php elegant_description(); ?>
  7. <?php elegant_keywords(); ?>
  8. <?php elegant_canonical(); ?>
  9.  
  10. <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/style.css" type="text/css" media="screen" />
  11. <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
  12. <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
  13. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  14.  
  15. <!--[if lt IE 7]>
  16.         <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/ie6style.css" />
  17.         <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/DD_belatedPNG_0.0.8a-min.js"></script>
  18.         <script type="text/javascript">DD_belatedPNG.fix('img#logo,img.featured_image,span.current_arrow, div#search-form, #featured-area, #controls, #feat-content a.readmore, #feat-content a.readmore span, .entry a.readmore, .entry a.readmore span, ul.nav li ul, ul.nav li ul a, div#content-top, #sidebar .widget h3.title, #sidebar .widget .widget_content, #sidebar .widget .wrapper, #sidebar .widget .widget_content ul li a, #sidebar .widget, div#footer-top, div#footer .widget h3.title, #footer .widget .widget_content ul li, #footer .widget .widget_content ul li a, #footer .widget .widget_content ul ul');</script>
  19. <![endif]-->
  20. <!--[if IE 7]>
  21.         <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/ie7style.css" />
  22. <![endif]-->
  23.  
  24. <script type="text/javascript">
  25.         document.documentElement.className = 'js';
  26. </script>
  27.  
  28. <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
  29. <?php wp_head(); ?>
  30.  
  31. </head>
  32. <body <?php body_class(); ?>>
  33. <div id="bg1">
  34. <div id="bg2" <?php if (is_home() && get_option('13floor_featured') == 'on') echo(' id="home"'); ?>>
  35.         <div id="wrap">
  36.        
  37.                 <div id="header" class="clearfix">
  38.                        
  39.                         <!-- LOGO -->
  40.                         <a href="<?php bloginfo('url'); ?>"><?php $logo = (get_option('13floor_logo') <> '') ? esc_url(get_option('13floor_logo')) : get_bloginfo('template_directory').'/images/logo.png'; ?>
  41.                                 <img src="<?php echo esc_url($logo); ?>" alt="Logo" id="logo"/></a>
  42.                        
  43.                         <!-- TOP MENU -->
  44.                         <?php $menuClass = 'superfish nav clearfix';
  45.                         $primaryNav = '';
  46.                        
  47.                         if (function_exists('wp_nav_menu')) {
  48.                                 $primaryNav = wp_nav_menu( array( 'theme_location' => 'primary-menu', 'container' => '', 'fallback_cb' => '', 'menu_class' => $menuClass, 'echo' => false ) );
  49.                         };
  50.                         if ($primaryNav == '') { ?>
  51.                                 <ul class="<?php echo $menuClass; ?>">
  52.                                         <?php if (get_option('13floor_home_link') == 'on') { ?>
  53.                                                 <li <?php if (is_front_page()) echo('class="current_page_item"') ?>><a href="<?php bloginfo('url'); ?>"><?php esc_html_e('Home','13floor'); ?></a></li>
  54.                                         <?php }; ?>
  55.  
  56.                                         <?php show_categories_menu($menuClass,false); ?>
  57.                                        
  58.                                         <?php show_page_menu($menuClass,false,false); ?>
  59.                                 </ul> <!-- end ul.nav -->
  60.                         <?php }
  61.                         else echo($primaryNav); ?>
  62.                        
  63.                         <!-- SEARCH FORM -->
  64.                         <div id="search-form">
  65.                                 <form method="get" id="searchform1" action="<?php echo home_url(); ?>/">
  66.                                         <input type="text" value="<?php esc_attr_e('search this site...','13floor'); ?>" name="s" id="searchinput" />
  67.                                         <input type="submit" id="searchsubmit" value="<?php esc_attr_e('Search','13floor'); ?>" />
  68.                                 </form>
  69.                         </div> <!-- end searchform -->
  70.  
  71. <script language="javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js "
  72.  
  73. type="text/javascript"></script>
  74.  
  75. <script language="javascript" src="jquery.js" type="text/javascript"></script>
  76. <script type='text/javascript'>
  77.     jQuery(function($){
  78.         $(".tweet").tweet({
  79.             username: "nebulanetwork",
  80.             join_text: "auto",
  81.             avatar_size: 32,
  82.             count: 3,
  83.             auto_join_text_default: "we said,",
  84.             auto_join_text_ed: "we",
  85.             auto_join_text_ing: "we were",
  86.             auto_join_text_reply: "we replied to",
  87.             auto_join_text_url: "we were checking out",
  88.             loading_text: "loading tweets..."
  89.         });
  90.     });
  91. </script>
  92.  
  93. <link href="styles.css" media="all" rel="stylesheet" type="text/css"/>
  94. <link href="index.css" media="all" rel="stylesheet" type="text/css"/>
  95.        
  96.                        
  97.                 </div> <!-- end #header -->