_s: More consistency with class names in the structural markup

This commit is contained in:
Ian Stewart 2012-02-01 16:55:36 +00:00
parent 88b7c401e6
commit afe244fe68
15 changed files with 33 additions and 33 deletions

View File

@ -8,7 +8,7 @@
get_header(); ?>
<div id="primary">
<div id="primary" class="site-content">
<div id="content" role="main">
<article id="post-0" class="post error404 not-found">
@ -42,6 +42,6 @@ get_header(); ?>
</article><!-- #post-0 -->
</div><!-- #content -->
</div><!-- #primary -->
</div><!-- #primary .site-content -->
<?php get_footer(); ?>

View File

@ -10,7 +10,7 @@
get_header(); ?>
<section id="primary">
<section id="primary" class="site-content">
<div id="content" role="main">
<?php if ( have_posts() ) : ?>
@ -93,7 +93,7 @@ get_header(); ?>
<?php endif; ?>
</div><!-- #content -->
</section><!-- #primary -->
</section><!-- #primary .site-content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>

View File

@ -8,7 +8,7 @@
get_header(); ?>
<section id="primary">
<section id="primary" class="site-content">
<div id="content" role="main">
<?php if ( have_posts() ) : ?>
@ -68,7 +68,7 @@ get_header(); ?>
<?php endif; ?>
</div><!-- #content -->
</section><!-- #primary -->
</section><!-- #primary .site-content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>

View File

@ -11,15 +11,15 @@
</div><!-- #main -->
<footer id="colophon" role="contentinfo">
<footer id="colophon" class="site-footer" role="contentinfo">
<div class="site-info">
<?php do_action( '_s_credits' ); ?>
<a href="http://wordpress.org/" title="<?php esc_attr_e( 'A Semantic Personal Publishing Platform', '_s' ); ?>" rel="generator"><?php printf( __( 'Proudly powered by %s', '_s' ), 'WordPress' ); ?></a>
<a href="<?php echo esc_url( __( 'http://wordpress.org/', '_s' ) ); ?>" title="<?php esc_attr_e( 'A Semantic Personal Publishing Platform', '_s' ); ?>" rel="generator"><?php printf( __( 'Proudly powered by %s', '_s' ), 'WordPress' ); ?></a>
<span class="sep"> | </span>
<?php printf( __( 'Theme: %1$s by %2$s.', '_s' ), '_s', '<a href="http://automattic.com/" rel="designer">Automattic</a>' ); ?>
</div><!-- .site-info -->
</footer><!-- #colophon -->
</div><!-- #page -->
</footer><!-- .site-footer .site-footer -->
</div><!-- #page .hfeed .site -->
<?php wp_footer(); ?>

View File

@ -45,7 +45,7 @@
</head>
<body <?php body_class(); ?>>
<div id="page" class="hfeed">
<div id="page" class="hfeed site">
<?php do_action( 'before' ); ?>
<header id="masthead" class="site-header" role="banner">
<hgroup>

View File

@ -8,7 +8,7 @@
get_header(); ?>
<div id="primary" class="image-attachment">
<div id="primary" class="site-content" class="image-attachment">
<div id="content" role="main">
<?php while ( have_posts() ) : the_post(); ?>
@ -105,6 +105,6 @@ get_header(); ?>
<?php endwhile; // end of the loop. ?>
</div><!-- #content -->
</div><!-- #primary -->
</div><!-- #primary .site-content -->
<?php get_footer(); ?>

View File

@ -14,7 +14,7 @@
get_header(); ?>
<div id="primary">
<div id="primary" class="site-content">
<div id="content" role="main">
<?php if ( have_posts() ) : ?>
@ -52,7 +52,7 @@ get_header(); ?>
<?php endif; ?>
</div><!-- #content -->
</div><!-- #primary -->
</div><!-- #primary .site-content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>

View File

@ -3,7 +3,7 @@ Theme Name: _s
Layout: Content-Sidebar-Sidebar
*/
#primary {
.site-content {
float: left;
width: 100%;
}
@ -21,7 +21,7 @@ Layout: Content-Sidebar-Sidebar
#tertiary { /* Sidebar 2 */
margin: 0 0 0 -20%;
}
#colophon {
.site-footer {
clear: both;
width: 100%;
}

View File

@ -3,7 +3,7 @@ Theme Name: _s
Layout: Content-Sidebar
*/
#primary {
.site-content {
float: left;
margin: 0 -25% 0 0;
width: 100%;
@ -19,7 +19,7 @@ Layout: Content-Sidebar
#tertiary { /* Sidebar 2 */
clear: right;
}
#colophon {
.site-footer {
clear: both;
width: 100%;
}

View File

@ -3,7 +3,7 @@ Theme Name: _s
Layout: Sidebar-Content-Sidebar
*/
#primary {
.site-content {
float: left;
width: 100%;
}
@ -21,7 +21,7 @@ Layout: Sidebar-Content-Sidebar
#tertiary { /* Sidebar 2 */
margin: 0 0 0 -20%;
}
#colophon {
.site-footer {
clear: both;
width: 100%;
}

View File

@ -3,7 +3,7 @@ Theme Name: _s
Layout: Sidebar-Content
*/
#primary {
.site-content {
float: right;
margin: 0 0 0 -25%;
width: 100%;
@ -19,7 +19,7 @@ Layout: Sidebar-Content
#tertiary { /* Sidebar 2 */
clear: left;
}
#colophon {
.site-footer {
clear: both;
width: 100%;
}

View File

@ -3,7 +3,7 @@ Theme Name: _s
Layout: Sidebar-Sidebar-Content
*/
#primary {
.site-content {
float: right;
margin: 0 0 0 -40%;
width: 100%;
@ -16,7 +16,7 @@ Layout: Sidebar-Sidebar-Content
overflow: hidden;
width: 20%;
}
#colophon {
.site-footer {
clear: both;
width: 100%;
}

View File

@ -13,7 +13,7 @@
get_header(); ?>
<div id="primary">
<div id="primary" class="site-content">
<div id="content" role="main">
<?php while ( have_posts() ) : the_post(); ?>
@ -25,7 +25,7 @@ get_header(); ?>
<?php endwhile; // end of the loop. ?>
</div><!-- #content -->
</div><!-- #primary -->
</div><!-- #primary .site-content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>

View File

@ -8,7 +8,7 @@
get_header(); ?>
<section id="primary">
<section id="primary" class="site-content">
<div id="content" role="main">
<?php if ( have_posts() ) : ?>
@ -44,7 +44,7 @@ get_header(); ?>
<?php endif; ?>
</div><!-- #content -->
</section><!-- #primary -->
</section><!-- #primary .site-content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>

View File

@ -8,7 +8,7 @@
get_header(); ?>
<div id="primary">
<div id="primary" class="site-content">
<div id="content" role="main">
<?php while ( have_posts() ) : the_post(); ?>
@ -28,7 +28,7 @@ get_header(); ?>
<?php endwhile; // end of the loop. ?>
</div><!-- #content -->
</div><!-- #primary -->
</div><!-- #primary .site-content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>