Merge pull request #20 from obenland/master

Add missing 'class' comments, props obenland
This commit is contained in:
Lance Willett 2012-08-06 16:10:00 -07:00
commit 64f1d1a8bd
7 changed files with 12 additions and 12 deletions

View File

@ -14,7 +14,7 @@ get_header(); ?>
<article id="post-0" class="post error404 not-found"> <article id="post-0" class="post error404 not-found">
<header class="entry-header"> <header class="entry-header">
<h1 class="entry-title"><?php _e( 'Oops! That page can&rsquo;t be found.', '_s' ); ?></h1> <h1 class="entry-title"><?php _e( 'Oops! That page can&rsquo;t be found.', '_s' ); ?></h1>
</header> </header><!-- .entry-header -->
<div class="entry-content"> <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> <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 @@ get_header(); ?>
<ul> <ul>
<?php wp_list_categories( array( 'orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10 ) ); ?> <?php wp_list_categories( array( 'orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10 ) ); ?>
</ul> </ul>
</div> </div><!-- .widget -->
<?php <?php
/* translators: %1$s: smilie */ /* translators: %1$s: smilie */
@ -39,7 +39,7 @@ get_header(); ?>
<?php the_widget( 'WP_Widget_Tag_Cloud' ); ?> <?php the_widget( 'WP_Widget_Tag_Cloud' ); ?>
</div><!-- .entry-content --> </div><!-- .entry-content -->
</article><!-- #post-0 --> </article><!-- #post-0 .post .error404 .not-found -->
</div><!-- #content --> </div><!-- #content -->
</div><!-- #primary .site-content --> </div><!-- #primary .site-content -->

View File

@ -65,7 +65,7 @@ get_header(); ?>
echo apply_filters( 'tag_archive_meta', '<div class="taxonomy-description">' . $tag_description . '</div>' ); echo apply_filters( 'tag_archive_meta', '<div class="taxonomy-description">' . $tag_description . '</div>' );
} }
?> ?>
</header> </header><!-- .page-header -->
<?php rewind_posts(); ?> <?php rewind_posts(); ?>

View File

@ -39,7 +39,7 @@
<h1 class="assistive-text"><?php _e( 'Comment navigation', '_s' ); ?></h1> <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-previous"><?php previous_comments_link( __( '&larr; Older Comments', '_s' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', '_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 ?> <?php endif; // check for comment navigation ?>
<ol class="commentlist"> <ol class="commentlist">
@ -52,14 +52,14 @@
*/ */
wp_list_comments( array( 'callback' => '_s_comment' ) ); 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 ?> <?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"> <nav role="navigation" id="comment-nav-below" class="site-navigation comment-navigation">
<h1 class="assistive-text"><?php _e( 'Comment navigation', '_s' ); ?></h1> <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-previous"><?php previous_comments_link( __( '&larr; Older Comments', '_s' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', '_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; // check for comment navigation ?>
<?php endif; // have_comments() ?> <?php endif; // have_comments() ?>

View File

@ -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> <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' ) ); ?> <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
</nav> </nav><!-- .site-navigation .main-navigation -->
</header><!-- #masthead .site-header --> </header><!-- #masthead .site-header -->
<div id="main"> <div id="main">

View File

@ -78,7 +78,7 @@ get_header();
<?php if ( ! empty( $post->post_excerpt ) ) : ?> <?php if ( ! empty( $post->post_excerpt ) ) : ?>
<div class="entry-caption"> <div class="entry-caption">
<?php the_excerpt(); ?> <?php the_excerpt(); ?>
</div> </div><!-- .entry-caption -->
<?php endif; ?> <?php endif; ?>
</div><!-- .entry-attachment --> </div><!-- .entry-attachment -->
@ -106,6 +106,6 @@ get_header();
<?php endwhile; // end of the loop. ?> <?php endwhile; // end of the loop. ?>
</div><!-- #content --> </div><!-- #content -->
</div><!-- #primary .site-content --> </div><!-- #primary .site-content .image-attachment -->
<?php get_footer(); ?> <?php get_footer(); ?>

View File

@ -31,4 +31,4 @@
<?php } ?> <?php } ?>
</div><!-- .entry-content --> </div><!-- .entry-content -->
</article><!-- #post-0 --> </article><!-- #post-0 .post .no-results .not-found -->

View File

@ -15,7 +15,7 @@ get_header(); ?>
<header class="page-header"> <header class="page-header">
<h1 class="page-title"><?php printf( __( 'Search Results for: %s', '_s' ), '<span>' . get_search_query() . '</span>' ); ?></h1> <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' ); ?> <?php _s_content_nav( 'nav-above' ); ?>