]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentyten/404.php
Wordpress 3.0
[autoinstalls/wordpress.git] / wp-content / themes / twentyten / 404.php
diff --git a/wp-content/themes/twentyten/404.php b/wp-content/themes/twentyten/404.php
new file mode 100644 (file)
index 0000000..3baea81
--- /dev/null
@@ -0,0 +1,30 @@
+<?php
+/**
+ * The template for displaying 404 pages (Not Found).
+ *
+ * @package WordPress
+ * @subpackage Twenty_Ten
+ * @since Twenty Ten 1.0
+ */
+
+get_header(); ?>
+
+       <div id="container">
+               <div id="content" role="main">
+
+                       <div id="post-0" class="post error404 not-found">
+                               <h1 class="entry-title"><?php _e( 'Not Found', 'twentyten' ); ?></h1>
+                               <div class="entry-content">
+                                       <p><?php _e( 'Apologies, but the page you requested could not be found. Perhaps searching will help.', 'twentyten' ); ?></p>
+                                       <?php get_search_form(); ?>
+                               </div><!-- .entry-content -->
+                       </div><!-- #post-0 -->
+
+               </div><!-- #content -->
+       </div><!-- #container -->
+       <script type="text/javascript">
+               // focus on search field after it has loaded
+               document.getElementById('s') && document.getElementById('s').focus();
+       </script>
+
+<?php get_footer(); ?>
\ No newline at end of file