_s
* Post format support for asides only, supported by CSS and not a template, is a good workable minimum for a theme so the post format templates are gone * With good support for essential CSS in IE8+ it's not neccesary to have a ID on the HTML element for the version of IE * Branding and site-generator are ugly id names * The title and description are selectable by class for consistency and portability
This commit is contained in:
parent
edfeccc255
commit
db89577313
6 changed files with 11 additions and 174 deletions
27
header.php
27
header.php
|
@ -8,18 +8,7 @@
|
|||
* @since _s 1.0
|
||||
*/
|
||||
?><!DOCTYPE html>
|
||||
<!--[if IE 6]>
|
||||
<html id="ie6" <?php language_attributes(); ?>>
|
||||
<![endif]-->
|
||||
<!--[if IE 7]>
|
||||
<html id="ie7" <?php language_attributes(); ?>>
|
||||
<![endif]-->
|
||||
<!--[if IE 8]>
|
||||
<html id="ie8" <?php language_attributes(); ?>>
|
||||
<![endif]-->
|
||||
<!--[if !(IE 6) | !(IE 7) | !(IE 8) ]><!-->
|
||||
<html <?php language_attributes(); ?>>
|
||||
<!--<![endif]-->
|
||||
<head>
|
||||
<meta charset="<?php bloginfo( 'charset' ); ?>" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
|
@ -58,18 +47,18 @@
|
|||
<body <?php body_class(); ?>>
|
||||
<div id="page" class="hfeed">
|
||||
<?php do_action( 'before' ); ?>
|
||||
<header id="branding" role="banner">
|
||||
<header id="masthead" role="banner">
|
||||
<hgroup>
|
||||
<h1 id="site-title"><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
|
||||
<h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
|
||||
<h1 class="site-title"><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
|
||||
<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
|
||||
</hgroup>
|
||||
|
||||
<nav id="access" role="navigation">
|
||||
<h1 class="assistive-text section-heading"><?php _e( 'Main menu', '_s' ); ?></h1>
|
||||
<div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', '_s' ); ?>"><?php _e( 'Skip to content', '_s' ); ?></a></div>
|
||||
<nav role="navigation" class="site-navigation">
|
||||
<h1 class="assistive-text"><?php _e( 'Main menu', '_s' ); ?></h1>
|
||||
<div class="assistive-text skip-link"><a href="#content" title="<?php esc_attr_e( 'Skip to content', '_s' ); ?>"><?php _e( 'Skip to content', '_s' ); ?></a></div>
|
||||
|
||||
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
|
||||
</nav><!-- #access -->
|
||||
</header><!-- #branding -->
|
||||
</nav>
|
||||
</header><!-- #masthead -->
|
||||
|
||||
<div id="main">
|
Loading…
Add table
Add a link
Reference in a new issue