forked from digitoimistodude/air-light
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.php
35 lines (28 loc) · 1.03 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
<?php
/**
* The template for displaying 404 pages (not found)
*
* @Date: 2019-10-15 12:30:02
* @Last Modified by: Timi Wahalahti
* @Last Modified time: 2019-10-15 14:38:49
* @package air-light
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*/
get_header();
get_template_part( 'template-parts/hero', get_post_type() ); ?>
<div id="content" class="content-area">
<main role="main" id="main" class="site-main">
<div class="container">
<section class="error-404 not-found">
<header class="page-header">
<h1 class="page-title"><?php esc_html_e( 'Oops! That page can’t be found.', 'air-light' ); ?></h1>
</header><!-- .page-header -->
<div class="page-content">
<p><?php esc_html_e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'air-light' ); ?></p>
<?php get_search_form(); ?>
</div><!-- .page-content -->
</section><!-- .error-404 -->
</div><!-- .container -->
</main><!-- #main -->
</div><!-- #primary -->
<?php get_footer();