Advertisement
Guest User

Untitled

a guest
Jan 8th, 2015
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.92 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="content">
  6.  *
  7.  * @package Quill
  8.  */
  9. ?><!DOCTYPE html>
  10. <html <?php language_attributes(); ?>>
  11. <head>
  12. <meta charset="<?php bloginfo( 'charset' ); ?>">
  13. <meta name="viewport" content="width=device-width, initial-scale=1">
  14. <title><?php wp_title( '|', true, 'right' ); ?></title>
  15. <link rel="profile" href="http://gmpg.org/xfn/11">
  16. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
  17. <?php if ( get_theme_mod('site_favicon') ) : ?>
  18.     <link rel="shortcut icon" href="<?php echo esc_url(get_theme_mod('site_favicon')); ?>" />
  19. <?php endif; ?>
  20. <?php if ( get_theme_mod('apple_touch_144') ) : ?>
  21.     <link rel="apple-touch-icon" sizes="144x144" href="<?php echo esc_url(get_theme_mod('apple_touch_144')); ?>" />
  22. <?php endif; ?>
  23. <?php if ( get_theme_mod('apple_touch_114') ) : ?>
  24.     <link rel="apple-touch-icon" sizes="114x114" href="<?php echo esc_url(get_theme_mod('apple_touch_114')); ?>" />
  25. <?php endif; ?>
  26. <?php if ( get_theme_mod('apple_touch_72') ) : ?>
  27.     <link rel="apple-touch-icon" sizes="72x72" href="<?php echo esc_url(get_theme_mod('apple_touch_72')); ?>" />
  28. <?php endif; ?>
  29. <?php if ( get_theme_mod('apple_touch_57') ) : ?>
  30.     <link rel="apple-touch-icon" href="<?php echo esc_url(get_theme_mod('apple_touch_57')); ?>" />
  31. <?php endif; ?>
  32.  
  33. <?php wp_head(); ?>
  34. </head>
  35.  
  36. <body <?php body_class(); ?>>
  37. <div id="page" class="hfeed site">
  38.     <a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'quill' ); ?></a>
  39.  
  40.     <?php echo quill_slider_template(); ?>
  41.     <?php $active_slider = "active-slider"; ?>
  42.  
  43.     <header id="masthead" class="site-header <?php echo $active_slider; ?>" role="banner">
  44.         <nav id="site-navigation" class="main-navigation" role="navigation">
  45.             <button class="menu-toggle"><i class="fa fa-bars"></i></button>
  46.             <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
  47.         </nav><!-- #site-navigation -->
  48.  
  49.         <div class="site-branding">
  50.             <?php if ( get_theme_mod('site_logo') ) : ?>
  51.                 <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php bloginfo('name'); ?>"><img class="logo-image" src="<?php echo esc_url(get_theme_mod('site_logo')); ?>" alt="<?php bloginfo('name'); ?>" /></a>
  52.             <?php else : ?>
  53.                 <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
  54.                 <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
  55.             <?php endif; ?>
  56.         </div>
  57.     </header><!-- #masthead -->
  58.  
  59.     <?php if (!is_page_template('page_front-page.php') || ( 'posts' == get_option( 'show_on_front' ) ) ) : ?>
  60.         <?php $container = "container"; ?>
  61.     <?php else : ?>
  62.         <?php $container = ""; ?>
  63.     <?php endif; ?>
  64.  
  65.     <?php if ( !is_front_page() && !is_home() ) : ?>
  66.         <?php echo quill_page_title(); ?>
  67.     <?php endif; ?>
  68.  
  69.     <div id="content" class="site-content clearfix <?php echo $container; ?>">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement