-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path404.php
37 lines (26 loc) · 1.16 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
<?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.
*
*/
@header( 'HTTP/1.1 404 Not found', true, 404 );
get_header(); ?>
<div class="container">
<div class="row">
<div class=" col-sm-12">
<div <?php hybrid_attr( 'content' ); ?> >
<h1 class="error-404-title entry-title"><?php _e( 'Not Found', 'shwib' ); ?></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.', 'shwib' ), home_url( esc_url( $_SERVER['REQUEST_URI'] ) ) ); ?>
</p>
<?php get_search_form(); // Loads the searchform.php template. ?>
</div><!-- .entry-content -->
</div>
</div><!--/col-->
</div> <!-- /row -->
</div> <!-- /container -->
<?php get_footer(); ?>