[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentyten/ -> 404.php (source)

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


Generated : Thu Apr 18 08:20:02 2024 Cross-referenced by PHPXref