-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path404.php
More file actions
41 lines (29 loc) · 819 Bytes
/
404.php
File metadata and controls
41 lines (29 loc) · 819 Bytes
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
<?php
/**
* The template for displaying 404 Page.
*
* The structure of the page that contains the 404 content.
*
* @package flex
* @author pressx
* @since 1.0.0
*/
fx_layout(
'default',
function() {
?>
<div id="page-404" class="container items-center px-8 mx-auto text-center">
<div>
<h1 class="leading-none text-404"><?php esc_html_e( '404', 'flex' ); ?></h1>
<p class="text-gray-600"><?php esc_html_e( 'Unfortunately, we could not find the page you are looking for.', 'flex' ); ?></p>
<p>
<a class="inline-flex items-center text-blue-600" href="<?php esc_attr( home_url() ); ?>">
<?php fx_icon( 'arrow-left' ); ?>
<span class="ml-1"><?php esc_html_e( 'Get back to the home page', 'flex' ); ?></span>
</a>
</p>
</div>
</div>
<?php
}
);