Changeset 18291 for trunk/wp-content/themes/twentyeleven/author.php
- Timestamp:
- 06/12/2011 05:43:03 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyeleven/author.php
r18253 r18291 13 13 <div id="content" role="main"> 14 14 15 <?php if ( have_posts() ) : ?> 16 15 17 <?php 16 18 /* Queue the first post, that way we know … … 20 22 * properly with a call to rewind_posts(). 21 23 */ 22 if ( have_posts() ) 23 the_post(); 24 the_post(); 24 25 ?> 25 26 … … 67 68 <?php twentyeleven_content_nav( 'nav-below' ); ?> 68 69 70 <?php else : ?> 71 72 <article id="post-0" class="post no-results not-found"> 73 <header class="entry-header"> 74 <h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1> 75 </header><!-- .entry-header --> 76 77 <div class="entry-content"> 78 <p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p> 79 <?php get_search_form(); ?> 80 </div><!-- .entry-content --> 81 </article><!-- #post-0 --> 82 83 <?php endif; ?> 84 69 85 </div><!-- #content --> 70 86 </section><!-- #primary -->
Note: See TracChangeset
for help on using the changeset viewer.