-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path404.php
More file actions
28 lines (26 loc) · 1.09 KB
/
404.php
File metadata and controls
28 lines (26 loc) · 1.09 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
<?php get_header(); ?>
<main id="content" class="site-main">
<div class="l-not-found">
<div class="container">
<div class="l-not-found__inner">
<div class="l-not-found__content">
<h1 class="l-not-found__title"><?php esc_html_e('Error 404, we couldn\'t find the page', 'base'); ?></h1>
<?php
wp_nav_menu([
'theme_location' => 'error-404',
'container' => '',
'items_wrap' => '<ul class="l-not-found__navigation">%3$s</ul>',
]);
?>
<div class="l-not-found__btn">
<a href="<?php echo esc_url(home_url()); ?>" class="btn btn--primary btn--lg">
<?php esc_html_e('Back to home', 'base'); ?>
</a>
</div>
</div>
</div>
</div>
</div>
</main>
<?php
get_footer();