CrouchingBruin

Untitled

Oct 1st, 2015
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.17 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 sparkling
  8. */
  9. ?><!doctype html>
  10. <!--[if !IE]>
  11. <html class="no-js non-ie" <?php language_attributes(); ?>> <![endif]-->
  12. <!--[if IE 7 ]>
  13. <html class="no-js ie7" <?php language_attributes(); ?>> <![endif]-->
  14. <!--[if IE 8 ]>
  15. <html class="no-js ie8" <?php language_attributes(); ?>> <![endif]-->
  16. <!--[if IE 9 ]>
  17. <html class="no-js ie9" <?php language_attributes(); ?>> <![endif]-->
  18. <!--[if gt IE 9]><!-->
  19. <html class="no-js" <?php language_attributes(); ?>> <!--<![endif]-->
  20. <head><meta name="google-site-verification" content="PE-cgq1Q-AzWVS5YYkV1b3jTzC5FeZDF3yCZwoQEjAw" />
  21. <meta charset="<?php bloginfo( 'charset' ); ?>">
  22. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  23. <meta name="viewport" content="width=device-width, initial-scale=1">
  24. <link rel="profile" href="http://gmpg.org/xfn/11">
  25. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"><?php wp_head(); ?>
  26.  
  27.  
  28.  
  29. </head>
  30.  
  31. <body
  32. <div id="page" class="hfeed site">
  33.  
  34. <header id="masthead" class="site-header" role="banner">
  35. <nav class="navbar navbar-default" role="navigation">
  36. <div class="container">
  37. <div class="row">
  38. <div class="site-navigation-inner col-sm-12">
  39. <div class="navbar-header">
  40. <button type="button" class="btn navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
  41. <span class="sr-only">Toggle navigation</span>
  42. <span class="icon-bar"></span>
  43. <span class="icon-bar"></span>
  44. <span class="icon-bar"></span>
  45. </button>
  46.  
  47. <?php if( get_header_image() != '' ) : ?>
  48.  
  49. <div id="logo">
  50. <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="<?php header_image(); ?>" height="<?php echo get_custom_header()->height; ?>" width="<?php echo get_custom_header()->width; ?>" alt="<?php bloginfo( 'name' ); ?>"/></a>
  51. </div><!-- end of #logo -->
  52.  
  53. <?php endif; // header image was removed ?>
  54.  
  55. <?php if( !get_header_image() ) : ?>
  56.  
  57. <div id="logo">
  58. <span class="site-name"><a class="navbar-brand" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span>
  59. </div><!-- end of #logo -->
  60.  
  61. <?php endif; // header image was removed (again) ?
  62. </div>
  63. <?php sparkling_header_menu(); // main navigation ?>
  64. </div>
  65. </div>
  66. </div>
  67. </nav><!-- .site-navigation -->
  68. </header><!-- #masthead -->
  69.  
  70. <div id="content" class="site-content">
  71.  
  72. <div class="top-section">
  73. <?php sparkling_featured_slider(); ?>
  74. <?php sparkling_call_for_action(); ?>
  75. </div>
  76.  
  77. <div class="container main-content-area">
  78. <div class="row">
  79. <div class="main-content-inner <?php echo sparkling_main_content_bootstrap_classes(); ?> <?php echo of_get_option( 'site_layout' ); ?>"><?php if ( function_exists('yoast_breadcrumb') )
  80. {yoast_breadcrumb('<p id="breadcrumbs">','</p>');} ?><?php if ( function_exists('yoast_breadcrumb') ) {
  81. $breadcrumbs = yoast_breadcrumb("","",false);
  82. } ?>
Advertisement
Add Comment
Please, Sign In to add comment