Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 67 lines (51 sloc) 1.978 kB
999c5d4 @jayj 404 page, archives template, bookmarks template
authored
1 <?php
2 /**
bda9730 @jayj PHPDoc changes. You can browse the documentation on http://wpthemes.j…
authored
3 * 404 template
999c5d4 @jayj 404 page, archives template, bookmarks template
authored
4 *
30f9e0d @jayj Code cleanup
authored
5 * The 404 template is used when a reader visits an invalid URL on your site. By default, the template will
999c5d4 @jayj 404 page, archives template, bookmarks template
authored
6 * display a generic message.
7 *
bda9730 @jayj PHPDoc changes. You can browse the documentation on http://wpthemes.j…
authored
8 * @package Cakifo
9 * @subpackage Template
10 * @link http://codex.wordpress.org/Creating_an_Error_404_Page
999c5d4 @jayj 404 page, archives template, bookmarks template
authored
11 */
12
3fb3ddb @jayj Inline documentation improvements
authored
13 /**
14 * Include the header template part file
30f9e0d @jayj Code cleanup
authored
15 *
3fb3ddb @jayj Inline documentation improvements
authored
16 * Child Themes can replace this template part file globally, via {header.php},
17 * or in a specific context only, via {header-404.php}
18 */
19 get_header( '404' ); ?>
999c5d4 @jayj 404 page, archives template, bookmarks template
authored
20
21 <?php do_atomic( 'before_main' ); // cakifo_before_main ?>
a08cd2c @jayj Huge commit
authored
22
0116328 @jayj Spacing clean ups
authored
23 <div id="main">
a08cd2c @jayj Huge commit
authored
24
55ab7d5 @jayj Better attachment page
authored
25 <?php do_atomic( 'open_main' ); // cakifo_open_main ?>
a08cd2c @jayj Huge commit
authored
26
0116328 @jayj Spacing clean ups
authored
27 <article id="post-0" class="<?php hybrid_entry_class(); ?>">
a08cd2c @jayj Huge commit
authored
28
0116328 @jayj Spacing clean ups
authored
29 <h1 class="error-404-title entry-title"><?php _e( "Oops! 404! 404!.. Help!.. We can't find the page!", 'cakifo' ); ?></h1>
a08cd2c @jayj Huge commit
authored
30
0116328 @jayj Spacing clean ups
authored
31 <div class="entry-content">
32 <p><?php printf( __( "You tried going to %s but it doesn't exist. All is not lost! You can search for what you're looking for.", 'cakifo' ), '<code>' . esc_html( $_SERVER['REQUEST_URI'] ) . '</code>' ); ?></p>
a08cd2c @jayj Huge commit
authored
33
0116328 @jayj Spacing clean ups
authored
34 <?php get_search_form(); // Loads the searchform.php template ?>
a08cd2c @jayj Huge commit
authored
35
0116328 @jayj Spacing clean ups
authored
36 <?php do_atomic( '404_content' ); // You can add more content here by using the 'cakifo_404_content' action ?>
37 </div> <!-- .entry-content -->
a08cd2c @jayj Huge commit
authored
38
0116328 @jayj Spacing clean ups
authored
39 </article> <!-- .hentry -->
a08cd2c @jayj Huge commit
authored
40
30f9e0d @jayj Code cleanup
authored
41 <?php
55ab7d5 @jayj Better attachment page
authored
42 /**
3fb3ddb @jayj Inline documentation improvements
authored
43 * Include the Error Page widgets "sidebar" template part file
30f9e0d @jayj Code cleanup
authored
44 *
45 * Child Themes can replace this template part file globally,
3fb3ddb @jayj Inline documentation improvements
authored
46 * via "sidebar.php", or in the Error 404 Page context only, via
47 * "sidebar-404.php"
55ab7d5 @jayj Better attachment page
authored
48 */
30f9e0d @jayj Code cleanup
authored
49 get_sidebar( '404' );
3fb3ddb @jayj Inline documentation improvements
authored
50 ?>
a08cd2c @jayj Huge commit
authored
51
0116328 @jayj Spacing clean ups
authored
52 <?php do_atomic( 'close_main' ); // cakifo_close_main ?>
a08cd2c @jayj Huge commit
authored
53
0116328 @jayj Spacing clean ups
authored
54 </div> <!-- #main -->
a08cd2c @jayj Huge commit
authored
55
0116328 @jayj Spacing clean ups
authored
56 <?php do_atomic( 'after_main' ); // cakifo_after_main ?>
999c5d4 @jayj 404 page, archives template, bookmarks template
authored
57
30f9e0d @jayj Code cleanup
authored
58 <?php
3fb3ddb @jayj Inline documentation improvements
authored
59 /**
60 * Include the footer template part file
30f9e0d @jayj Code cleanup
authored
61 *
3fb3ddb @jayj Inline documentation improvements
authored
62 * Child Themes can replace this template part file globally, via {footer.php},
63 * or in a specific context only, via {footer-404.php}
64 */
30f9e0d @jayj Code cleanup
authored
65 get_footer( '404' );
66 ?>
Something went wrong with that request. Please try again.