[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentynineteen/ -> 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_Nineteen
   9   * @since Twenty Nineteen 1.0
  10   */
  11  
  12  get_header();
  13  ?>
  14  
  15      <div id="primary" class="content-area">
  16          <main id="main" class="site-main">
  17  
  18              <div class="error-404 not-found">
  19                  <header class="page-header">
  20                      <h1 class="page-title"><?php _e( 'Oops! That page can&rsquo;t be found.', 'twentynineteen' ); ?></h1>
  21                  </header><!-- .page-header -->
  22  
  23                  <div class="page-content">
  24                      <p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'twentynineteen' ); ?></p>
  25                      <?php get_search_form(); ?>
  26                  </div><!-- .page-content -->
  27              </div><!-- .error-404 -->
  28  
  29          </main><!-- #main -->
  30      </div><!-- #primary -->
  31  
  32  <?php
  33  get_footer();


Generated : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref