404.php 879 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * The template for displaying 404 pages (not found)
  4. *
  5. * @package WordPress
  6. * @subpackage Twenty_Sixteen
  7. * @since Twenty Sixteen 1.0
  8. */
  9. get_header(); ?>
  10. <div id="primary" class="content-area">
  11. <main id="main" class="site-main" role="main">
  12. <section class="error-404 not-found">
  13. <header class="page-header">
  14. <h1 class="page-title"><?php _e( 'Oops! That page can&rsquo;t be found.', 'twentysixteen' ); ?></h1>
  15. </header><!-- .page-header -->
  16. <div class="page-content">
  17. <p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'twentysixteen' ); ?></p>
  18. <?php get_search_form(); ?>
  19. </div><!-- .page-content -->
  20. </section><!-- .error-404 -->
  21. </main><!-- .site-main -->
  22. <?php get_sidebar( 'content-bottom' ); ?>
  23. </div><!-- .content-area -->
  24. <?php get_sidebar(); ?>
  25. <?php get_footer(); ?>