[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

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">
  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                  'aria_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 : Fri Nov 15 08:20:01 2024 Cross-referenced by PHPXref