-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.php
More file actions
executable file
·60 lines (41 loc) · 1.83 KB
/
Copy path404.php
File metadata and controls
executable file
·60 lines (41 loc) · 1.83 KB
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
<?php
/**
* 404 Template
*
* The 404 template is used when a reader visits an invalid URL on your site. By default, the template will
* display a generic message.
*
* @package Murmur
* @subpackage Template
* @since 0.1.0
* @author Tung Do <tung@devpress.com>
* @copyright Copyright (c) 2012, Tung Do
* @link http://devpress.com/themes/murmur/
* @link http://codex.wordpress.org/Creating_an_Error_404_Page
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/
@header( 'HTTP/1.1 404 Not found', true, 404 );
get_header(); // Loads the header.php template. ?>
<?php do_atomic( 'before_content' ); // murmur_before_content ?>
<?php if( hybrid_get_setting( 'murmur_site_description_extended' ) ) { ?>
<div id="site-description-extended">
<?php echo hybrid_get_setting( 'murmur_site_description_extended' ); ?>
</div><!-- #site-description-extended -->
<?php } ?>
<div id="content">
<?php do_atomic( 'open_content' ); // murmur_open_content ?>
<div class="hfeed">
<div id="post-0" class="<?php hybrid_entry_class(); ?>">
<h1 class="error-404-title entry-title"><?php _e( 'Not Found', 'murmur' ); ?></h1>
<div class="entry-content">
<p>
<?php printf( __( 'You tried going to %1$s, and it doesn\'t exist. All is not lost! You can search for what you\'re looking for.', 'murmur' ), '<code>' . home_url( esc_url( $_SERVER['REQUEST_URI'] ) ) . '</code>' ); ?>
</p>
<?php get_search_form(); // Loads the searchform.php template. ?>
</div><!-- .entry-content -->
</div><!-- .hentry -->
</div><!-- .hfeed -->
<?php do_atomic( 'close_content' ); // murmur_close_content ?>
</div><!-- #content -->
<?php do_atomic( 'after_content' ); // murmur_after_content ?>
<?php get_footer(); // Loads the footer.php template. ?>