[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * The template for displaying 404 pages (not found)
   4   *
   5   * @package WordPress
   6   * @subpackage Twenty_Sixteen
   7   * @since Twenty Sixteen 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.', 'twentysixteen' ); ?></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?', 'twentysixteen' ); ?></p>
  22  
  23                      <?php get_search_form(); ?>
  24                  </div><!-- .page-content -->
  25              </section><!-- .error-404 -->
  26  
  27          </main><!-- .site-main -->
  28  
  29          <?php get_sidebar( 'content-bottom' ); ?>
  30  
  31      </div><!-- .content-area -->
  32  
  33  <?php get_sidebar(); ?>
  34  <?php get_footer(); ?>


Generated : Tue Apr 23 08:20:01 2024 Cross-referenced by PHPXref