forked from mirror/_s
_s: More consistency with class names in the structural markup
This commit is contained in:
parent
88b7c401e6
commit
afe244fe68
4
404.php
4
404.php
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
get_header(); ?>
|
get_header(); ?>
|
||||||
|
|
||||||
<div id="primary">
|
<div id="primary" class="site-content">
|
||||||
<div id="content" role="main">
|
<div id="content" role="main">
|
||||||
|
|
||||||
<article id="post-0" class="post error404 not-found">
|
<article id="post-0" class="post error404 not-found">
|
||||||
|
@ -42,6 +42,6 @@ get_header(); ?>
|
||||||
</article><!-- #post-0 -->
|
</article><!-- #post-0 -->
|
||||||
|
|
||||||
</div><!-- #content -->
|
</div><!-- #content -->
|
||||||
</div><!-- #primary -->
|
</div><!-- #primary .site-content -->
|
||||||
|
|
||||||
<?php get_footer(); ?>
|
<?php get_footer(); ?>
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
get_header(); ?>
|
get_header(); ?>
|
||||||
|
|
||||||
<section id="primary">
|
<section id="primary" class="site-content">
|
||||||
<div id="content" role="main">
|
<div id="content" role="main">
|
||||||
|
|
||||||
<?php if ( have_posts() ) : ?>
|
<?php if ( have_posts() ) : ?>
|
||||||
|
@ -93,7 +93,7 @@ get_header(); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
</div><!-- #content -->
|
</div><!-- #content -->
|
||||||
</section><!-- #primary -->
|
</section><!-- #primary .site-content -->
|
||||||
|
|
||||||
<?php get_sidebar(); ?>
|
<?php get_sidebar(); ?>
|
||||||
<?php get_footer(); ?>
|
<?php get_footer(); ?>
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
get_header(); ?>
|
get_header(); ?>
|
||||||
|
|
||||||
<section id="primary">
|
<section id="primary" class="site-content">
|
||||||
<div id="content" role="main">
|
<div id="content" role="main">
|
||||||
|
|
||||||
<?php if ( have_posts() ) : ?>
|
<?php if ( have_posts() ) : ?>
|
||||||
|
@ -68,7 +68,7 @@ get_header(); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
</div><!-- #content -->
|
</div><!-- #content -->
|
||||||
</section><!-- #primary -->
|
</section><!-- #primary .site-content -->
|
||||||
|
|
||||||
<?php get_sidebar(); ?>
|
<?php get_sidebar(); ?>
|
||||||
<?php get_footer(); ?>
|
<?php get_footer(); ?>
|
|
@ -11,15 +11,15 @@
|
||||||
|
|
||||||
</div><!-- #main -->
|
</div><!-- #main -->
|
||||||
|
|
||||||
<footer id="colophon" role="contentinfo">
|
<footer id="colophon" class="site-footer" role="contentinfo">
|
||||||
<div class="site-info">
|
<div class="site-info">
|
||||||
<?php do_action( '_s_credits' ); ?>
|
<?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>
|
<span class="sep"> | </span>
|
||||||
<?php printf( __( 'Theme: %1$s by %2$s.', '_s' ), '_s', '<a href="http://automattic.com/" rel="designer">Automattic</a>' ); ?>
|
<?php printf( __( 'Theme: %1$s by %2$s.', '_s' ), '_s', '<a href="http://automattic.com/" rel="designer">Automattic</a>' ); ?>
|
||||||
</div><!-- .site-info -->
|
</div><!-- .site-info -->
|
||||||
</footer><!-- #colophon -->
|
</footer><!-- .site-footer .site-footer -->
|
||||||
</div><!-- #page -->
|
</div><!-- #page .hfeed .site -->
|
||||||
|
|
||||||
<?php wp_footer(); ?>
|
<?php wp_footer(); ?>
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body <?php body_class(); ?>>
|
<body <?php body_class(); ?>>
|
||||||
<div id="page" class="hfeed">
|
<div id="page" class="hfeed site">
|
||||||
<?php do_action( 'before' ); ?>
|
<?php do_action( 'before' ); ?>
|
||||||
<header id="masthead" class="site-header" role="banner">
|
<header id="masthead" class="site-header" role="banner">
|
||||||
<hgroup>
|
<hgroup>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
get_header(); ?>
|
get_header(); ?>
|
||||||
|
|
||||||
<div id="primary" class="image-attachment">
|
<div id="primary" class="site-content" class="image-attachment">
|
||||||
<div id="content" role="main">
|
<div id="content" role="main">
|
||||||
|
|
||||||
<?php while ( have_posts() ) : the_post(); ?>
|
<?php while ( have_posts() ) : the_post(); ?>
|
||||||
|
@ -34,8 +34,8 @@ get_header(); ?>
|
||||||
</div><!-- .entry-meta -->
|
</div><!-- .entry-meta -->
|
||||||
|
|
||||||
<nav id="image-navigation">
|
<nav id="image-navigation">
|
||||||
<span class="previous-image"><?php previous_image_link( false, __( '← Previous', '_s' ) ); ?></span>
|
<span class="previous-image"><?php previous_image_link( false, __( '← Previous' , '_s' ) ); ?></span>
|
||||||
<span class="next-image"><?php next_image_link( false, __( 'Next →', '_s' ) ); ?></span>
|
<span class="next-image"><?php next_image_link( false, __( 'Next →' , '_s' ) ); ?></span>
|
||||||
</nav><!-- #image-navigation -->
|
</nav><!-- #image-navigation -->
|
||||||
</header><!-- .entry-header -->
|
</header><!-- .entry-header -->
|
||||||
|
|
||||||
|
@ -105,6 +105,6 @@ get_header(); ?>
|
||||||
<?php endwhile; // end of the loop. ?>
|
<?php endwhile; // end of the loop. ?>
|
||||||
|
|
||||||
</div><!-- #content -->
|
</div><!-- #content -->
|
||||||
</div><!-- #primary -->
|
</div><!-- #primary .site-content -->
|
||||||
|
|
||||||
<?php get_footer(); ?>
|
<?php get_footer(); ?>
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
get_header(); ?>
|
get_header(); ?>
|
||||||
|
|
||||||
<div id="primary">
|
<div id="primary" class="site-content">
|
||||||
<div id="content" role="main">
|
<div id="content" role="main">
|
||||||
|
|
||||||
<?php if ( have_posts() ) : ?>
|
<?php if ( have_posts() ) : ?>
|
||||||
|
@ -52,7 +52,7 @@ get_header(); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
</div><!-- #content -->
|
</div><!-- #content -->
|
||||||
</div><!-- #primary -->
|
</div><!-- #primary .site-content -->
|
||||||
|
|
||||||
<?php get_sidebar(); ?>
|
<?php get_sidebar(); ?>
|
||||||
<?php get_footer(); ?>
|
<?php get_footer(); ?>
|
|
@ -3,7 +3,7 @@ Theme Name: _s
|
||||||
Layout: Content-Sidebar-Sidebar
|
Layout: Content-Sidebar-Sidebar
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#primary {
|
.site-content {
|
||||||
float: left;
|
float: left;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,7 @@ Layout: Content-Sidebar-Sidebar
|
||||||
#tertiary { /* Sidebar 2 */
|
#tertiary { /* Sidebar 2 */
|
||||||
margin: 0 0 0 -20%;
|
margin: 0 0 0 -20%;
|
||||||
}
|
}
|
||||||
#colophon {
|
.site-footer {
|
||||||
clear: both;
|
clear: both;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@ Theme Name: _s
|
||||||
Layout: Content-Sidebar
|
Layout: Content-Sidebar
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#primary {
|
.site-content {
|
||||||
float: left;
|
float: left;
|
||||||
margin: 0 -25% 0 0;
|
margin: 0 -25% 0 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -19,7 +19,7 @@ Layout: Content-Sidebar
|
||||||
#tertiary { /* Sidebar 2 */
|
#tertiary { /* Sidebar 2 */
|
||||||
clear: right;
|
clear: right;
|
||||||
}
|
}
|
||||||
#colophon {
|
.site-footer {
|
||||||
clear: both;
|
clear: both;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
|
@ -3,7 +3,7 @@ Theme Name: _s
|
||||||
Layout: Sidebar-Content-Sidebar
|
Layout: Sidebar-Content-Sidebar
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#primary {
|
.site-content {
|
||||||
float: left;
|
float: left;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,7 @@ Layout: Sidebar-Content-Sidebar
|
||||||
#tertiary { /* Sidebar 2 */
|
#tertiary { /* Sidebar 2 */
|
||||||
margin: 0 0 0 -20%;
|
margin: 0 0 0 -20%;
|
||||||
}
|
}
|
||||||
#colophon {
|
.site-footer {
|
||||||
clear: both;
|
clear: both;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@ Theme Name: _s
|
||||||
Layout: Sidebar-Content
|
Layout: Sidebar-Content
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#primary {
|
.site-content {
|
||||||
float: right;
|
float: right;
|
||||||
margin: 0 0 0 -25%;
|
margin: 0 0 0 -25%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -19,7 +19,7 @@ Layout: Sidebar-Content
|
||||||
#tertiary { /* Sidebar 2 */
|
#tertiary { /* Sidebar 2 */
|
||||||
clear: left;
|
clear: left;
|
||||||
}
|
}
|
||||||
#colophon {
|
.site-footer {
|
||||||
clear: both;
|
clear: both;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
|
@ -3,7 +3,7 @@ Theme Name: _s
|
||||||
Layout: Sidebar-Sidebar-Content
|
Layout: Sidebar-Sidebar-Content
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#primary {
|
.site-content {
|
||||||
float: right;
|
float: right;
|
||||||
margin: 0 0 0 -40%;
|
margin: 0 0 0 -40%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -16,7 +16,7 @@ Layout: Sidebar-Sidebar-Content
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
width: 20%;
|
width: 20%;
|
||||||
}
|
}
|
||||||
#colophon {
|
.site-footer {
|
||||||
clear: both;
|
clear: both;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
4
page.php
4
page.php
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
get_header(); ?>
|
get_header(); ?>
|
||||||
|
|
||||||
<div id="primary">
|
<div id="primary" class="site-content">
|
||||||
<div id="content" role="main">
|
<div id="content" role="main">
|
||||||
|
|
||||||
<?php while ( have_posts() ) : the_post(); ?>
|
<?php while ( have_posts() ) : the_post(); ?>
|
||||||
|
@ -25,7 +25,7 @@ get_header(); ?>
|
||||||
<?php endwhile; // end of the loop. ?>
|
<?php endwhile; // end of the loop. ?>
|
||||||
|
|
||||||
</div><!-- #content -->
|
</div><!-- #content -->
|
||||||
</div><!-- #primary -->
|
</div><!-- #primary .site-content -->
|
||||||
|
|
||||||
<?php get_sidebar(); ?>
|
<?php get_sidebar(); ?>
|
||||||
<?php get_footer(); ?>
|
<?php get_footer(); ?>
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
get_header(); ?>
|
get_header(); ?>
|
||||||
|
|
||||||
<section id="primary">
|
<section id="primary" class="site-content">
|
||||||
<div id="content" role="main">
|
<div id="content" role="main">
|
||||||
|
|
||||||
<?php if ( have_posts() ) : ?>
|
<?php if ( have_posts() ) : ?>
|
||||||
|
@ -44,7 +44,7 @@ get_header(); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
</div><!-- #content -->
|
</div><!-- #content -->
|
||||||
</section><!-- #primary -->
|
</section><!-- #primary .site-content -->
|
||||||
|
|
||||||
<?php get_sidebar(); ?>
|
<?php get_sidebar(); ?>
|
||||||
<?php get_footer(); ?>
|
<?php get_footer(); ?>
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
get_header(); ?>
|
get_header(); ?>
|
||||||
|
|
||||||
<div id="primary">
|
<div id="primary" class="site-content">
|
||||||
<div id="content" role="main">
|
<div id="content" role="main">
|
||||||
|
|
||||||
<?php while ( have_posts() ) : the_post(); ?>
|
<?php while ( have_posts() ) : the_post(); ?>
|
||||||
|
@ -28,7 +28,7 @@ get_header(); ?>
|
||||||
<?php endwhile; // end of the loop. ?>
|
<?php endwhile; // end of the loop. ?>
|
||||||
|
|
||||||
</div><!-- #content -->
|
</div><!-- #content -->
|
||||||
</div><!-- #primary -->
|
</div><!-- #primary .site-content -->
|
||||||
|
|
||||||
<?php get_sidebar(); ?>
|
<?php get_sidebar(); ?>
|
||||||
<?php get_footer(); ?>
|
<?php get_footer(); ?>
|
Reference in New Issue