Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

_s: More consistency with class names in the structural markup

  • Loading branch information...
commit afe244fe6827f39fb1060a5a18f5c717be61b110 1 parent 88b7c40
@ianstewart ianstewart authored
View
4 404.php
@@ -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 @@
</article><!-- #post-0 -->
</div><!-- #content -->
- </div><!-- #primary -->
+ </div><!-- #primary .site-content -->
<?php get_footer(); ?>
View
4 archive.php
@@ -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 @@
<?php endif; ?>
</div><!-- #content -->
- </section><!-- #primary -->
+ </section><!-- #primary .site-content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
View
4 author.php
@@ -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 @@
<?php endif; ?>
</div><!-- #content -->
- </section><!-- #primary -->
+ </section><!-- #primary .site-content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
View
8 footer.php
@@ -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
2  header.php
@@ -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
8 image.php
@@ -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(); ?>
@@ -34,8 +34,8 @@
</div><!-- .entry-meta -->
<nav id="image-navigation">
- <span class="previous-image"><?php previous_image_link( false, __( '&larr; Previous', '_s' ) ); ?></span>
- <span class="next-image"><?php next_image_link( false, __( 'Next &rarr;', '_s' ) ); ?></span>
+ <span class="previous-image"><?php previous_image_link( false, __( '&larr; Previous' , '_s' ) ); ?></span>
+ <span class="next-image"><?php next_image_link( false, __( 'Next &rarr;' , '_s' ) ); ?></span>
</nav><!-- #image-navigation -->
</header><!-- .entry-header -->
@@ -105,6 +105,6 @@
<?php endwhile; // end of the loop. ?>
</div><!-- #content -->
- </div><!-- #primary -->
+ </div><!-- #primary .site-content -->
<?php get_footer(); ?>
View
4 index.php
@@ -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 @@
<?php endif; ?>
</div><!-- #content -->
- </div><!-- #primary -->
+ </div><!-- #primary .site-content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
View
4 layouts/content-sidebar-sidebar.css
@@ -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
4 layouts/content-sidebar.css
@@ -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
4 layouts/sidebar-content-sidebar.css
@@ -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
4 layouts/sidebar-content.css
@@ -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
4 layouts/sidebar-sidebar-content.css
@@ -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
4 page.php
@@ -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 @@
<?php endwhile; // end of the loop. ?>
</div><!-- #content -->
- </div><!-- #primary -->
+ </div><!-- #primary .site-content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
View
4 search.php
@@ -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 @@
<?php endif; ?>
</div><!-- #content -->
- </section><!-- #primary -->
+ </section><!-- #primary .site-content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
View
4 single.php
@@ -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 @@
<?php endwhile; // end of the loop. ?>
</div><!-- #content -->
- </div><!-- #primary -->
+ </div><!-- #primary .site-content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Please sign in to comment.
Something went wrong with that request. Please try again.