forked from generaxion/axio-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.php
43 lines (32 loc) · 791 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
40
41
42
43
<?php
/**
* The template for displaying 404 pages (not found).
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package axio
*/
get_header(); ?>
<?php
if (has_action('theme_hero')) {
do_action('theme_hero');
}
?>
<div id="primary" class="primary primary--404">
<article class="entry entry--404">
<div class="entry__content blocks">
<p><?php ask_e('404: Page not found description'); ?></p>
<?php if (class_exists('X_Search_Form')) : ?>
<?php
X_Search_Form::render([
'attr' => [
'class' => ['search-form--404'],
],
]);
?>
<?php endif; ?>
</div>
</article>
</div><!-- #primary -->
<?php
get_footer();