[ Index ]

WordPress 5.4.1

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

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

   1  <?php
   2  /**
   3   * The template for displaying the 404 template in the Twenty Twenty theme.
   4   *
   5   * @package WordPress
   6   * @subpackage Twenty_Twenty
   7   * @since Twenty Twenty 1.0
   8   */
   9  
  10  get_header();
  11  ?>
  12  
  13  <main id="site-content" role="main">
  14  
  15      <div class="section-inner thin error404-content">
  16  
  17          <h1 class="entry-title"><?php _e( 'Page Not Found', 'twentytwenty' ); ?></h1>
  18  
  19          <div class="intro-text"><p><?php _e( 'The page you were looking for could not be found. It might have been removed, renamed, or did not exist in the first place.', 'twentytwenty' ); ?></p></div>
  20  
  21          <?php
  22          get_search_form(
  23              array(
  24                  'label' => __( '404 not found', 'twentytwenty' ),
  25              )
  26          );
  27          ?>
  28  
  29      </div><!-- .section-inner -->
  30  
  31  </main><!-- #site-content -->
  32  
  33  <?php get_template_part( 'template-parts/footer-menus-widgets' ); ?>
  34  
  35  <?php
  36  get_footer();


Generated: Tue May 19 15:51:04 2020 Cross-referenced by PHPXref 0.7.1