Advertisement
Guest User

Untitled

a guest
Jan 19th, 2014
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.13 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <!--[if lt IE 8]> <html class="no-js lt-ie10 lt-ie9 lt-ie8" <?php language_attributes(); ?>> <![endif]-->
  3. <!--[if IE 8]>    <html class="no-js lt-ie10 lt-ie9" <?php language_attributes(); ?>> <![endif]-->
  4. <!--[if IE 9]>    <html class="no-js lt-ie10" <?php language_attributes(); ?>> <![endif]-->
  5. <!--[if gt IE 9]><!--> <html class="no-js" <?php language_attributes(); ?>> <!--<![endif]-->
  6. <head>
  7.  
  8. <meta charset="<?php bloginfo( 'charset' ); ?>" />
  9. <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" />
  10. <meta name="author" content="me" />
  11. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  12.  
  13. <title><?php wp_title(''); ?></title>
  14.  
  15. <link rel="profile" href="http://gmpg.org/xfn/11" />
  16. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
  17. <?php a13_favicon(); ?>
  18.  
  19. <script src="<?php echo get_template_directory_uri(); ?>/js/modernizr.min.js" type="text/javascript"></script>
  20.  
  21. <?php wp_head(); ?>
  22.  
  23. </head>
  24.  
  25. <body id="top" <?php body_class(); ?>>
  26.  
  27.  
  28. <?php
  29.     global $apollo13;
  30.     $header_search = ($apollo13->get_option( 'appearance', 'header_search' ) == 'on')? true : false;
  31. ?>
  32.  
  33.     <header id="header">
  34.         <div class="head clearfix<?php echo $header_search? ' with-search' : ''; ?>">
  35.             <a id="logo" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php
  36.                 if($apollo13->get_option( 'appearance', 'logo_type' ) == 'image')
  37.                     echo '<img src="'.esc_url($apollo13->get_option( 'appearance', 'logo_image' )).'" alt="'. esc_attr( get_bloginfo( 'name', 'display' ) ).'" />';
  38.                 else
  39.                     echo $apollo13->get_option( 'appearance', 'logo_text' );
  40.                 ?></a>
  41.  
  42.             <?php
  43.                 $lt = $apollo13->get_option( 'settings', 'under_logo_text' )   ;
  44.                 if(!empty($lt)) echo '<div class="site-desc-text">'.nl2br($lt).'</div>';
  45.             ?>
  46.  
  47.             <nav id="access" role="navigation">
  48.                 <h3 class="assistive-text"><?php _fe( 'Main menu' ); ?></h3>
  49.                 <?php /*  Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. */ ?>
  50.                 <a class="assistive-text" href="#begin-of-content" title="<?php esc_attr_e( __fe('Skip to primary content') ); ?>"><?php _fe( 'Skip to primary content' ); ?></a>
  51.                 <a class="assistive-text" href="#secondary" title="<?php esc_attr_e( __fe('Skip to secondary content') ); ?>"><?php _fe( 'Skip to secondary content' ); ?></a>
  52.  
  53.                 <div class="menu-container">
  54.                     <?php a13_header_menu(); ?>
  55.                 </div>
  56.             </nav><!-- #access -->
  57.  
  58.             <?php a13_social_icons(); ?>
  59.  
  60.             <?php
  61.                 //search form
  62.                 if( $header_search) echo get_search_form();
  63.             ?>
  64.         </div>
  65.     </header>
  66.  
  67.     <div id="mid" class="clearfix<?php echo a13_get_mid_classes(); ?>">
  68.         <?php
  69.             a13_bg_image();
  70.  
  71.             if( 0 && WP_DEBUG ) $apollo13->page_type_debug();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement