forked from obenland/the-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.php
64 lines (49 loc) · 1.85 KB
/
404.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
/** 404.php
*
* The template for displaying 404 pages (Not Found).
*
* @author Konstantin Obenland
* @package The Bootstrap
* @since 1.0.0 - 07.02.2012
*/
get_header(); ?>
<section id="primary" class="span8">
<?php tha_content_before(); ?>
<div id="content" role="main">
<?php tha_content_top(); ?>
<?php tha_entry_before(); ?>
<article id="post-0" class="post error404 not-found">
<?php tha_entry_top(); ?>
<header class="page-header">
<h1 class="entry-title"><?php _e( 'This is somewhat embarrassing, isn’t it?', 'the-bootstrap' ); ?></h1>
</header><!-- .page-header -->
<div class="entry-content">
<p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching, or one of the links below, can help.', 'the-bootstrap' ); ?></p>
<?php
get_search_form();
the_widget( 'WP_Widget_Recent_Posts', array( 'number' => 10 ), array( 'widget_id' => '404' ) );
the_widget( 'WP_Widget_Categories', array(
'title' => __( 'Most Used Categories', 'the-bootstrap' ),
) );
$archive_content = sprintf( _x( 'Try looking in the monthly archives. %1$s', '%1$s: smilie', 'the-bootstrap' ), convert_smilies( ':)' ) );
the_widget( 'WP_Widget_Archives', array(
'count' => 0,
'dropdown' => 1
), array(
'after_title' => "</h2><p>{$archive_content}</p>"
) );
the_widget( 'WP_Widget_Tag_Cloud' ); ?>
</div><!-- .entry-content -->
<?php tha_entry_bottom(); ?>
</article><!-- #post-0 .post .error404 .not-found -->
<?php tha_entry_after(); ?>
<?php tha_content_bottom(); ?>
</div><!-- #content -->
<?php tha_content_after(); ?>
</section><!-- #primary -->
<?php
get_sidebar();
get_footer();
/* End of file 404.php */
/* Location: ./wp-content/themes/the-bootstrap/404.php */