[ Index ]

PHP Cross Reference of WordPress

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" role="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: Wed Nov 13 01:00:03 2019 Cross-referenced by PHPXref 0.7.1