forked from digitoimistodude/air-light
-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.php
39 lines (29 loc) · 972 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
35
36
37
38
39
<?php
/**
* The template for displaying 404 pages (not found)
*
* @Date: 2019-10-15 12:30:02
* @Last Modified by: Timi Wahalahti
* @Last Modified time: 2021-01-12 15:13:28
*
* @package air-light
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*/
namespace Air_Light;
get_header(); ?>
<main class="site-main">
<section class="block block-error-404">
<div class="container">
<div class="content">
<h1 id="content">404 <span class="screen-reader-text"><?php echo esc_html( get_default_localization( 'Page not found.' ) ); ?></span></h1>
<h2 aria-hidden="true"><?php echo esc_html( get_default_localization( 'Page not found.' ) ); ?></h2>
<p><?php echo esc_html( get_default_localization( 'The reason might be mistyped or expired URL.' ) ); ?></p>
</div>
</div>
</section>
</main>
<?php
// Enable visible footer if fits project:
// get_footer();
// WordPress scripts and hooks
wp_footer();