-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path404.php
39 lines (30 loc) · 994 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
<?php
/**
* The template for displaying 404 pages (not found).
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package Gema Lite
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
get_header(); ?>
<?php get_template_part('template-parts/content', 'header'); ?>
<div id="primary" class="content-area content--not-found">
<main id="main" class="site-main" role="main">
<div class="post__content">
<div class="entry__content">
<section class="error-404 not-found">
<header class="page-header">
<h1 class="page-title"><?php esc_html_e( 'Oops! That page can’t be found.', 'gema-lite' ); ?></h1>
</header><!-- .page-header -->
<p><?php esc_html_e( 'It looks like something is amiss. A quick search might help.', 'gema-lite' ); ?></p>
<?php get_search_form(); ?>
</section><!-- .error-404 -->
</div>
</div>
</main><!-- #main -->
</div><!-- #primary -->
<?php
get_footer();