[ Index ] |
PHP Cross Reference of WordPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * The template for displaying a "No posts found" message 4 * 5 * @package WordPress 6 * @subpackage Twenty_Thirteen 7 * @since Twenty Thirteen 1.0 8 */ 9 ?> 10 11 <header class="page-header"> 12 <h1 class="page-title"><?php _e( 'Nothing Found', 'twentythirteen' ); ?></h1> 13 </header> 14 15 <div class="page-content"> 16 <?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?> 17 18 <p> 19 <?php 20 /* translators: %s: Post editor URL. */ 21 printf( __( 'Ready to publish your first post? <a href="%s">Get started here</a>.', 'twentythirteen' ), admin_url( 'post-new.php' ) ); 22 ?> 23 </p> 24 25 <?php elseif ( is_search() ) : ?> 26 27 <p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with different keywords.', 'twentythirteen' ); ?></p> 28 <?php get_search_form(); ?> 29 30 <?php else : ?> 31 32 <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'twentythirteen' ); ?></p> 33 <?php get_search_form(); ?> 34 35 <?php endif; ?> 36 </div><!-- .page-content -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Nov 21 01:00:03 2024 | Cross-referenced by PHPXref 0.7.1 |