-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path404.php
30 lines (29 loc) · 1.02 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
<?php
/**
* The template for displaying 404 pages.
*
* Copyright (c) 2012 The Regents of the University of California
* Released under the GPL Version 2 license
* http://www.opensource.org/licenses/gpl-2.0.php
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* @package WordPress
* @subpackage CalPress2
* @since CalPress 0.9.7
*/
get_header(); ?>
<div id="content" class="clearfix">
<article id="post-0" class="post error404 not-found" role="main">
<h1><?php _e( 'Not Found', 'CalPress' ); ?></h1>
<p><?php _e( 'Apologies, but the page you requested could not be found. Perhaps searching will help.', 'CalPress' ); ?></p>
<?php get_search_form(); ?>
<script>
// focus on search field after it has loaded
document.getElementById('s') && document.getElementById('s').focus();
</script>
</article>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>