[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * The header for our theme 4 * 5 * This is the template that displays all of the <head> section and everything up until <div id="content"> 6 * 7 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials 8 * 9 * @package WordPress 10 * @subpackage Twenty_Seventeen 11 * @since Twenty Seventeen 1.0 12 * @version 1.0 13 */ 14 15 ?><!DOCTYPE html> 16 <html <?php language_attributes(); ?> class="no-js no-svg"> 17 <head> 18 <meta charset="<?php bloginfo( 'charset' ); ?>"> 19 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 20 <link rel="profile" href="https://gmpg.org/xfn/11"> 21 22 <?php wp_head(); ?> 23 </head> 24 25 <body <?php body_class(); ?>> 26 <?php wp_body_open(); ?> 27 <div id="page" class="site"> 28 <a class="skip-link screen-reader-text" href="#content"> 29 <?php 30 /* translators: Hidden accessibility text. */ 31 _e( 'Skip to content', 'twentyseventeen' ); 32 ?> 33 </a> 34 35 <header id="masthead" class="site-header"> 36 37 <?php get_template_part( 'template-parts/header/header', 'image' ); ?> 38 39 <?php if ( has_nav_menu( 'top' ) ) : ?> 40 <div class="navigation-top"> 41 <div class="wrap"> 42 <?php get_template_part( 'template-parts/navigation/navigation', 'top' ); ?> 43 </div><!-- .wrap --> 44 </div><!-- .navigation-top --> 45 <?php endif; ?> 46 47 </header><!-- #masthead --> 48 49 <?php 50 if ( twentyseventeen_should_show_featured_image() ) : 51 echo '<div class="single-featured-image-header">'; 52 echo get_the_post_thumbnail( get_queried_object_id(), 'twentyseventeen-featured-image' ); 53 echo '</div><!-- .single-featured-image-header -->'; 54 endif; 55 ?> 56 57 <div class="site-content-contain"> 58 <div id="content" class="site-content">
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Wed Dec 25 08:20:01 2024 | Cross-referenced by PHPXref |