Wordpress 3.5.2
[autoinstalls/wordpress.git] / wp-content / themes / twentyeleven / 404.php
1 <?php
2 /**
3  * The template for displaying 404 pages (Not Found).
4  *
5  * @package WordPress
6  * @subpackage Twenty_Eleven
7  * @since Twenty Eleven 1.0
8  */
9
10 get_header(); ?>
11
12         <div id="primary">
13                 <div id="content" role="main">
14
15                         <article id="post-0" class="post error404 not-found">
16                                 <header class="entry-header">
17                                         <h1 class="entry-title"><?php _e( 'This is somewhat embarrassing, isn&rsquo;t it?', 'twentyeleven' ); ?></h1>
18                                 </header>
19
20                                 <div class="entry-content">
21                                         <p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching, or one of the links below, can help.', 'twentyeleven' ); ?></p>
22
23                                         <?php get_search_form(); ?>
24
25                                         <?php the_widget( 'WP_Widget_Recent_Posts', array( 'number' => 10 ), array( 'widget_id' => '404' ) ); ?>
26
27                                         <div class="widget">
28                                                 <h2 class="widgettitle"><?php _e( 'Most Used Categories', 'twentyeleven' ); ?></h2>
29                                                 <ul>
30                                                 <?php wp_list_categories( array( 'orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10 ) ); ?>
31                                                 </ul>
32                                         </div>
33
34                                         <?php
35                                         /* translators: %1$s: smilie */
36                                         $archive_content = '<p>' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'twentyeleven' ), convert_smilies( ':)' ) ) . '</p>';
37                                         the_widget( 'WP_Widget_Archives', array('count' => 0 , 'dropdown' => 1 ), array( 'after_title' => '</h2>'.$archive_content ) );
38                                         ?>
39
40                                         <?php the_widget( 'WP_Widget_Tag_Cloud' ); ?>
41
42                                 </div><!-- .entry-content -->
43                         </article><!-- #post-0 -->
44
45                 </div><!-- #content -->
46         </div><!-- #primary -->
47
48 <?php get_footer(); ?>