-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.php
More file actions
44 lines (40 loc) · 1.43 KB
/
Copy path404.php
File metadata and controls
44 lines (40 loc) · 1.43 KB
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
<?php
/**
* The 404 template.
*
* Structured as a proper page rather than a fallback: a large decorative
* numeric backdrop, a heading, a description, and two paths forward (search
* and home). The design vocabulary matches the theme's editorial identity —
* the numeric backdrop is set in the heading font at display scale, palette
* colours only, no decorative chrome that would date the artwork.
*
* @package Kolofon
*/
get_header();
?>
<main itemprop="mainContentOfPage" itemscope="itemscope" itemtype="https://schema.org/WebPageElement">
<article class="page-index is-404">
<div class="container">
<div class="not-found">
<div class="not-found-backdrop" aria-hidden="true">404</div>
<div class="not-found-body">
<h1 class="not-found-title" itemprop="headline"><?php esc_html_e( 'Page not found', 'kolofon' ); ?></h1>
<p class="not-found-description">
<?php esc_html_e( 'The page you requested does not exist, or has been moved.', 'kolofon' ); ?>
</p>
<div class="not-found-actions">
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="not-found-home">
<?php esc_html_e( 'Return home', 'kolofon' ); ?>
</a>
</div>
<div class="not-found-search">
<p class="not-found-search-label"><?php esc_html_e( 'Or search for something', 'kolofon' ); ?></p>
<?php get_search_form(); ?>
</div>
</div>
</div>
</div>
</article>
</main>
<?php
get_footer();