404.php 861 B

123456789101112131415161718192021222324252627282930313233
  1. <?php declare( strict_types = 1 ); ?>
  2. <?php
  3. /**
  4. * The template for displaying 404 pages (not found)
  5. *
  6. * @link https://codex.wordpress.org/Creating_an_Error_404_Page
  7. *
  8. * @package Seedlet
  9. * @since 1.0.0
  10. */
  11. get_header();
  12. ?>
  13. <section id="primary" class="content-area">
  14. <main id="main" class="site-main default-max-width" role="main">
  15. <div 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.', 'seedlet' ); ?></h1>
  18. </header><!-- .page-header -->
  19. <div class="page-content">
  20. <p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'seedlet' ); ?></p>
  21. <?php get_search_form(); ?>
  22. </div><!-- .page-content -->
  23. </div><!-- .error-404 -->
  24. </main><!-- #main -->
  25. </section><!-- #primary -->
  26. <?php
  27. get_footer();