-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.php
More file actions
26 lines (24 loc) · 832 Bytes
/
Copy path404.php
File metadata and controls
26 lines (24 loc) · 832 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
<?php
/**
* The template for displaying 404 pages (not found)
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package AE_Theme
*/
get_header(); ?>
<main id="body">
<?php get_template_part( 'template-parts/title', '404' ); ?>
<div class="container mx-auto -translate-y-8 lg:-translate-y-12">
<div id="content-page" class="text-center bg-white p-7 sm:p-8 lg:p-16 rounded-xl shadow">
<h2 class="page-title text-2xl mb-8"><?php esc_html_e( 'Oops! That page can’t be found.', 'ae-theme' ); ?></h2>
<p class="mb-8"><?php esc_html_e( 'It looks like nothing was found at this location. Maybe try a search?', 'ae-theme' ); ?></p>
<div class="w-full md:w-1/2 xl:w-1/3 mx-auto">
<?php get_search_form(); ?>
</div>
</div>
</div>
</main><!-- #main -->
<?php
get_sidebar();
get_footer();