Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 60 lines (42 sloc) 1.853 kb
0c01223 Justin Tadlock Bring in the initial files and folders.
authored
1 <?php
2 /**
3 * 404 Template
4 *
5 * The 404 template is used when a reader visits an invalid URL on your site. By default, the template will
6 * display a generic message.
7 *
8ab6ce2 Justin Tadlock Copy/Paste fail. Update all instances of @package MyLife to @package Pi...
authored
8 * @package Picturesque
0c01223 Justin Tadlock Bring in the initial files and folders.
authored
9 * @subpackage Template
10 * @since 0.1.0
11 * @author Justin Tadlock <justin@justintadlock.com>
d8e7a87 Justin Tadlock Many, many changes getting this theme ready.
authored
12 * @copyright Copyright (c) 2012, Justin Tadlock
13 * @link http://themehybrid.com/themes/picturesque
0c01223 Justin Tadlock Bring in the initial files and folders.
authored
14 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
15 */
16
17 @header( 'HTTP/1.1 404 Not found', true, 404 );
18
19 get_header(); // Loads the header.php template. ?>
20
21 <?php do_atomic( 'before_content' ); // picturesque_before_content ?>
22
23 <div id="content">
24
25 <?php do_atomic( 'open_content' ); // picturesque_open_content ?>
26
27 <div class="hfeed">
28
d8e7a87 Justin Tadlock Many, many changes getting this theme ready.
authored
29 <article id="post-0" class="<?php hybrid_entry_class(); ?>">
0c01223 Justin Tadlock Bring in the initial files and folders.
authored
30
d8e7a87 Justin Tadlock Many, many changes getting this theme ready.
authored
31 <header class="entry-header">
32 <h1 class="error-404-title entry-title"><?php _e( 'Whoah! You broke something!', 'picturesque' ); ?></h1>
33 </header><!-- .entry-header -->
0c01223 Justin Tadlock Bring in the initial files and folders.
authored
34
35 <div class="entry-content">
36
37 <p>
d8e7a87 Justin Tadlock Many, many changes getting this theme ready.
authored
38 <?php printf( __( "Just kidding! You tried going to %s, which doesn't exist, so that means I probably broke something.", 'picturesque' ), '<code>' . home_url( esc_url( $_SERVER['REQUEST_URI'] ) ) . '</code>' ); ?>
0c01223 Justin Tadlock Bring in the initial files and folders.
authored
39 </p>
40 <p>
d8e7a87 Justin Tadlock Many, many changes getting this theme ready.
authored
41 <?php _e( "The following is a list of the latest posts from the blog. Maybe it will help you find what you're looking for.", 'picturesque' ); ?>
0c01223 Justin Tadlock Bring in the initial files and folders.
authored
42 </p>
43
44 <ul>
45 <?php wp_get_archives( array( 'limit' => 20, 'type' => 'postbypost' ) ); ?>
46 </ul>
47
48 </div><!-- .entry-content -->
49
d8e7a87 Justin Tadlock Many, many changes getting this theme ready.
authored
50 </article><!-- .hentry -->
0c01223 Justin Tadlock Bring in the initial files and folders.
authored
51
52 </div><!-- .hfeed -->
53
54 <?php do_atomic( 'close_content' ); // picturesque_close_content ?>
55
56 </div><!-- #content -->
57
58 <?php do_atomic( 'after_content' ); // picturesque_after_content ?>
59
60 <?php get_footer(); // Loads the footer.php template. ?>
Something went wrong with that request. Please try again.