Skip to content
Browse files

Merge pull request #20 from obenland/master

Add missing 'class' comments, props obenland
  • Loading branch information...
2 parents 30518b8 + b9fa5c0 commit 64f1d1a8bdf290a137717bee05e0b494e04131c0 @lancewillett lancewillett committed
Showing with 12 additions and 12 deletions.
  1. +3 −3 404.php
  2. +1 −1 archive.php
  3. +3 −3 comments.php
  4. +1 −1 header.php
  5. +2 −2 image.php
  6. +1 −1 no-results.php
  7. +1 −1 search.php
View
6 404.php
@@ -14,7 +14,7 @@
<article id="post-0" class="post error404 not-found">
<header class="entry-header">
<h1 class="entry-title"><?php _e( 'Oops! That page can&rsquo;t be found.', '_s' ); ?></h1>
- </header>
+ </header><!-- .entry-header -->
<div class="entry-content">
<p><?php _e( 'It looks like nothing was found at this location. Maybe try one of the links below or a search?', '_s' ); ?></p>
@@ -28,7 +28,7 @@
<ul>
<?php wp_list_categories( array( 'orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10 ) ); ?>
</ul>
- </div>
+ </div><!-- .widget -->
<?php
/* translators: %1$s: smilie */
@@ -39,7 +39,7 @@
<?php the_widget( 'WP_Widget_Tag_Cloud' ); ?>
</div><!-- .entry-content -->
- </article><!-- #post-0 -->
+ </article><!-- #post-0 .post .error404 .not-found -->
</div><!-- #content -->
</div><!-- #primary .site-content -->
View
2 archive.php
@@ -65,7 +65,7 @@
echo apply_filters( 'tag_archive_meta', '<div class="taxonomy-description">' . $tag_description . '</div>' );
}
?>
- </header>
+ </header><!-- .page-header -->
<?php rewind_posts(); ?>
View
6 comments.php
@@ -39,7 +39,7 @@
<h1 class="assistive-text"><?php _e( 'Comment navigation', '_s' ); ?></h1>
<div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', '_s' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', '_s' ) ); ?></div>
- </nav>
+ </nav><!-- #comment-nav-before .site-navigation .comment-navigation -->
<?php endif; // check for comment navigation ?>
<ol class="commentlist">
@@ -52,14 +52,14 @@
*/
wp_list_comments( array( 'callback' => '_s_comment' ) );
?>
- </ol>
+ </ol><!-- .commentlist -->
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
<nav role="navigation" id="comment-nav-below" class="site-navigation comment-navigation">
<h1 class="assistive-text"><?php _e( 'Comment navigation', '_s' ); ?></h1>
<div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', '_s' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', '_s' ) ); ?></div>
- </nav>
+ </nav><!-- #comment-nav-below .site-navigation .comment-navigation -->
<?php endif; // check for comment navigation ?>
<?php endif; // have_comments() ?>
View
2 header.php
@@ -56,7 +56,7 @@
<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>
+ </nav><!-- .site-navigation .main-navigation -->
</header><!-- #masthead .site-header -->
<div id="main">
View
4 image.php
@@ -78,7 +78,7 @@
<?php if ( ! empty( $post->post_excerpt ) ) : ?>
<div class="entry-caption">
<?php the_excerpt(); ?>
- </div>
+ </div><!-- .entry-caption -->
<?php endif; ?>
</div><!-- .entry-attachment -->
@@ -106,6 +106,6 @@
<?php endwhile; // end of the loop. ?>
</div><!-- #content -->
- </div><!-- #primary .site-content -->
+ </div><!-- #primary .site-content .image-attachment -->
<?php get_footer(); ?>
View
2 no-results.php
@@ -31,4 +31,4 @@
<?php } ?>
</div><!-- .entry-content -->
-</article><!-- #post-0 -->
+</article><!-- #post-0 .post .no-results .not-found -->
View
2 search.php
@@ -15,7 +15,7 @@
<header class="page-header">
<h1 class="page-title"><?php printf( __( 'Search Results for: %s', '_s' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
- </header>
+ </header><!-- .page-header -->
<?php _s_content_nav( 'nav-above' ); ?>

0 comments on commit 64f1d1a

Please sign in to comment.
Something went wrong with that request. Please try again.