3 * Template part for displaying a message that posts cannot be found
5 * @link https://codex.wordpress.org/Template_Hierarchy
8 * @subpackage Twenty_Seventeen
15 <section class="no-results not-found">
16 <header class="page-header">
17 <h1 class="page-title"><?php _e( 'Nothing Found', 'twentyseventeen' ); ?></h1>
19 <div class="page-content">
21 if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
23 <p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentyseventeen' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
27 <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'twentyseventeen' ); ?></p>
32 </div><!-- .page-content -->
33 </section><!-- .no-results -->