-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.php
More file actions
36 lines (30 loc) · 1020 Bytes
/
404.php
File metadata and controls
36 lines (30 loc) · 1020 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
<?php
/**
*
* The template for displaying the 404 page
*
* @package Codexin
* @subpackage Templates
* @since 1.0
*/
// Do not allow directly accessing this file.
defined( 'ABSPATH' ) OR die( esc_html__( 'This script cannot be accessed directly.', 'TEXT_DOMAIN' ) );
get_header(); ?>
<!-- Start of Main Content Wrapper -->
<div id="content" class="main-content-wrapper">
<div class="container">
<div class="row">
<div class="col-12 col-sm-12 col-md-12">
<main id="primary" class="site-main text-center">
<article>
<h2><?php esc_html_e( 'The page you are trying to access does not exist.', 'TEXT_DOMAIN' ) ?></h2>
<p><?php esc_html_e( 'Please use the menu above to locate what you are searching for. Or you can try searching with a keyword below:', 'TEXT_DOMAIN' ) ?></p>
<?php get_search_form(); ?>
</article>
</main> <!-- end of #primary -->
</div>
</div>
</div> <!-- end of container -->
</div>
<!-- End of Main Content Wrapper -->
<?php get_footer() ?>