-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.php
56 lines (36 loc) · 1.63 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
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
<?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. However, if the '404 Template' widget area
* is active, its widgets will be displayed instead. This allows users to customize their error
* pages in any way they want.
*
* For more information on how WordPress handles 404 errors:
* @link http://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package infobusiness
* @subpackage Template
*/
@header( 'HTTP/1.1 404 Not found', true, 404 );
get_header(); ?>
<?php get_template_part('part','breadcrumbs'); // call breadcrumb template ?>
<div class="row">
<?php do_atomic( 'open_content' ); // Open content hook ?>
<div class="hfeed span8">
<div id="post-0" class="<?php hybrid_entry_class(); ?>">
<h1 class="error-404-title entry-title page-header"><?php _e( 'Not Found', hybrid_get_textdomain() ); ?></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.', hybrid_get_textdomain() ), '<code>' . site_url( esc_url( $_SERVER['REQUEST_URI'] ) ) . '</code>' ); ?>
</p>
<?php get_search_form(); ?>
</div><!-- .entry-content -->
</div><!-- .hentry -->
<?php get_template_part( 'loop-nav' ); ?>
</div><!-- .hfeed -->
<?php do_atomic( 'close_content' ); // Close content hook ?>
<?php get_template_part('part','sidebars'); // call sidebar template part ?>
</div> <!-- .row -->
<?php get_footer(); ?>