-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.php
34 lines (26 loc) · 780 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
30
31
32
33
34
<?php
/**
* The template for displaying 404 pages (Not Found).
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
get_header();
/**
* generate_before_main_content hook.
*
* @since 0.1
*/
do_action( 'generate_before_main_content' ); ?>
<h2><?php _e( "Sometimes getting lost is not so bad", 'cafe_leather' ); ?></h2>
<p><?php _e( "but the page you were looking for can’t be found, so let's go back home.", 'cafe_leather' ); ?></p>
<?php get_search_form(); ?>
<a class="goback" href="<?php echo get_home_url(); ?>"> <?php _e( "Go back home", 'cafe_leather' ); ?></a>
<?php
/**
* generate_after_main_content hook.
*
* @since 0.1
*/
do_action( 'generate_after_main_content' );
get_footer();