-
Notifications
You must be signed in to change notification settings - Fork 2
/
404.php
executable file
·29 lines (27 loc) · 870 Bytes
/
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
<?php
/**
* The template for displaying all pages.
*
* This is the template that displays all pages by default.
* Please note that this is the wordpress construct of pages
* and that other 'pages' on your wordpress site will use a
* different template.
*
* @package WordPress
* @subpackage Boilerplate
* @since Boilerplate 1.0
*/
get_header(); ?>
<article id="post-0" class="post error404 not-found post-full" role="main">
<h1><?php _e( 'Not Found', 'boilerplate' ); ?></h1>
<p><?php _e( 'Apologies, but the page you requested could not be found. Perhaps searching will help.', 'boilerplate' ); ?></p>
<?php get_search_form(); ?>
<script>
// focus on search field after it has loaded
document.getElementById('s') && document.getElementById('s').focus();
</script>
</article>
</section>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>