_s: Move away from using <article> for content that is not a post,

page, or attachment.
This commit is contained in:
obenland 2013-07-11 12:12:59 -07:00
commit 98c1c82c62
2 changed files with 14 additions and 14 deletions

View file

@ -8,12 +8,12 @@
*/
?>
<article id="post-0" class="post no-results not-found">
<header class="entry-header">
<h1 class="entry-title"><?php _e( 'Nothing Found', '_s' ); ?></h1>
</header><!-- .entry-header -->
<section class="no-results not-found">
<header class="page-header">
<h1 class="page-title"><?php _e( 'Nothing Found', '_s' ); ?></h1>
</header><!-- .page-header -->
<div class="entry-content">
<div class="page-content">
<?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
<p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', '_s' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
@ -29,5 +29,5 @@
<?php get_search_form(); ?>
<?php endif; ?>
</div><!-- .entry-content -->
</article><!-- #post-0 .post .no-results .not-found -->
</div><!-- .page-content -->
</section><!-- .no-results -->