[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

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


Generated : Tue Dec 17 08:20:01 2024 Cross-referenced by PHPXref