3 * The template part for displaying a message that posts cannot be found
6 * @subpackage Twenty_Sixteen
7 * @since Twenty Sixteen 1.0
11 <section class="no-results not-found">
12 <header class="page-header">
13 <h1 class="page-title"><?php _e( 'Nothing Found', 'twentysixteen' ); ?></h1>
14 </header><!-- .page-header -->
16 <div class="page-content">
17 <?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
19 <p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentysixteen' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
21 <?php elseif ( is_search() ) : ?>
23 <p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'twentysixteen' ); ?></p>
24 <?php get_search_form(); ?>
28 <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'twentysixteen' ); ?></p>
29 <?php get_search_form(); ?>
32 </div><!-- .page-content -->
33 </section><!-- .no-results -->