404.php 858 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * The template for displaying 404 pages (Not Found)
  4. *
  5. * @package WordPress
  6. * @subpackage Twenty Ten
  7. * @since 3.0.0
  8. */
  9. ?>
  10. <?php get_header(); ?>
  11. <div id="container">
  12. <div id="content">
  13. <div id="post-0" class="post error404 not-found">
  14. <h1 class="entry-title"><?php _e( 'Not Found', 'twentyten' ); ?></h1>
  15. <div class="entry-content">
  16. <p><?php _e( 'Apologies, but the page you requested could not be found. Perhaps searching will help.', 'twentyten' ); ?></p>
  17. <?php get_search_form(); ?>
  18. </div><!-- .entry-content -->
  19. </div><!-- #post-0 -->
  20. </div><!-- #content -->
  21. </div><!-- #container -->
  22. <script type="text/javascript">
  23. // focus on search field after it has loaded
  24. document.getElementById('s') && document.getElementById('s').focus();
  25. </script>
  26. <?php get_footer(); ?>