404.php 820 B

123456789101112131415161718192021222324252627282930313233343536
  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. get_header();
  10. ?>
  11. <main id="site-content" role="main">
  12. <div class="section-inner thin error404-content">
  13. <h1 class="entry-title"><?php _e( 'Page Not Found', 'twentytwenty' ); ?></h1>
  14. <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>
  15. <?php
  16. get_search_form(
  17. array(
  18. 'label' => __( '404 not found', 'twentytwenty' ),
  19. )
  20. );
  21. ?>
  22. </div><!-- .section-inner -->
  23. </main><!-- #site-content -->
  24. <?php get_template_part( 'template-parts/footer-menus-widgets' ); ?>
  25. <?php
  26. get_footer();