SilentComics /
Strip
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * The Header for our theme |
||
| 4 | * |
||
| 5 | * Displays all of the <head> section and everything up till <main id="main"> |
||
| 6 | * |
||
| 7 | * @package WordPress |
||
| 8 | * @subpackage Strip |
||
| 9 | */ |
||
| 10 | |||
| 11 | ?><!DOCTYPE html> |
||
| 12 | <html <?php language_attributes(); ?> class="no-js"> |
||
| 13 | <head> |
||
| 14 | <meta charset="<?php bloginfo( 'charset' ); ?>"> |
||
| 15 | <meta http-equiv="X-UA-Compatible" content="IE=Edge"> |
||
| 16 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
||
| 17 | <meta name="description" content="<?php if ( is_single() ) { |
||
| 18 | single_post_title( '', true ); |
||
| 19 | } else { |
||
| 20 | bloginfo( 'name' ); |
||
| 21 | echo ' - '; |
||
| 22 | bloginfo( 'description' ); |
||
| 23 | } |
||
| 24 | ?>" /> |
||
| 25 | <link rel="profile" href="http://gmpg.org/xfn/11"> |
||
| 26 | <link type="text/plain" rel="author" href="" /> |
||
| 27 | <meta name="referrer" content="no-referrer"> |
||
| 28 | |||
| 29 | <?php wp_head(); ?> |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 30 | </head> |
||
| 31 | |||
| 32 | <body <?php body_class(); ?>> |
||
| 33 | <div id="page" class="site"> |
||
| 34 | |||
| 35 | <header id="branding" class="site-header" role="banner"> |
||
| 36 | |||
| 37 | <div class="site-branding"> |
||
| 38 | <?php get_template_part( '/assets/inline', 'logo.svg' ); // remove or replace by your own custom svg logo. ?> |
||
| 39 | <?php strip_the_custom_logo(); ?> |
||
| 40 | <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2> |
||
| 41 | </div><!-- .site-branding --> |
||
| 42 | |||
| 43 | <?php if ( has_nav_menu( 'primary' ) ) : ?> |
||
| 44 | <nav id="site-navigation" class="main-navigation clear" role="navigation"> |
||
| 45 | <button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false"><?php esc_attr_e( 'discover', 'strip' ); ?></button> |
||
| 46 | <div><a class="skip-link screen-reader-text" href="#content"><?php esc_attr_e( 'Skip to content', 'strip' ); ?></a></div> |
||
| 47 | |||
| 48 | <?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'wrap' ) ); ?> |
||
| 49 | </nav><!-- #site-navigation --> |
||
| 50 | <?php endif; ?> |
||
| 51 | |||
| 52 | </header><!-- #masthead --> |
||
| 53 |