404.php 892 B

12345678910111213141516171819202122232425262728293031323334
  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 WordPress
  9. * @subpackage Varia
  10. * @since 1.0.0
  11. */
  12. get_header();
  13. ?>
  14. <section id="primary" class="content-area">
  15. <main id="main" class="site-main responsive-max-width">
  16. <div class="error-404 not-found">
  17. <header class="page-header">
  18. <h1 class="page-title"><?php _e( 'Oops! That page can&rsquo;t be found.', 'varia' ); ?></h1>
  19. </header><!-- .page-header -->
  20. <div class="page-content responsive-max-width">
  21. <p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'varia' ); ?></p>
  22. <?php get_search_form(); ?>
  23. </div><!-- .page-content -->
  24. </div><!-- .error-404 -->
  25. </main><!-- #main -->
  26. </section><!-- #primary -->
  27. <?php
  28. get_footer();