-
Notifications
You must be signed in to change notification settings - Fork 3
/
404.php
59 lines (47 loc) · 1.23 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
57
58
59
<?php
/**
* The template for displaying 404 pages (not found)
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package Manila
*/
get_header();
?>
<?php
/**
* Developers can hook into here.
*/
do_action( 'manila_before_main' );
?>
<main id="main" class="site-main">
<section class="error-404 not-found page__error-404">
<?php
/**
* Developers can hook into here.
*/
do_action( 'manila_before_page_header' );
?>
<header class="page-header page__header page__header--404">
<h1 class="page-title"><?php esc_html_e( 'Oops! That page can’t be found.', 'manila' ); ?></h1>
</header><!-- .page-header -->
<?php
/**
* Developers can hook into here.
*/
do_action( 'manila_after_page_header' );
?>
<div class="page-content page__content--error-404">
<p class="no-results no-results--error-404"><?php esc_html_e( 'It looks like nothing was found at this location. Perhaps searching can help.', 'manila' ); ?></p>
<?php get_search_form(); ?>
</div><!-- .page-content -->
</section><!-- .error-404 -->
</main><!-- #main -->
<?php
/**
* Developers can hook into here.
*/
do_action( 'manila_after_main' );
?>
<?php
get_footer();