[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentyseventeen/ -> 404.php (source)

   1  <?php
   2  /**
   3   * The template for displaying 404 pages (not found)
   4   *
   5   * @link https://codex.wordpress.org/Creating_an_Error_404_Page
   6   *
   7   * @package WordPress
   8   * @subpackage Twenty_Seventeen
   9   * @since Twenty Seventeen 1.0
  10   * @version 1.0
  11   */
  12  
  13  get_header(); ?>
  14  
  15  <div class="wrap">
  16      <div id="primary" class="content-area">
  17          <main id="main" class="site-main">
  18  
  19              <section class="error-404 not-found">
  20                  <header class="page-header">
  21                      <h1 class="page-title"><?php _e( 'Oops! That page can&rsquo;t be found.', 'twentyseventeen' ); ?></h1>
  22                  </header><!-- .page-header -->
  23                  <div class="page-content">
  24                      <p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'twentyseventeen' ); ?></p>
  25  
  26                      <?php get_search_form(); ?>
  27  
  28                  </div><!-- .page-content -->
  29              </section><!-- .error-404 -->
  30          </main><!-- #main -->
  31      </div><!-- #primary -->
  32  </div><!-- .wrap -->
  33  
  34  <?php
  35  get_footer();


Generated : Thu Apr 25 08:20:02 2024 Cross-referenced by PHPXref