-
Notifications
You must be signed in to change notification settings - Fork 15
/
404.php
57 lines (48 loc) · 1.59 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
/**
* The template for displaying 404 pages (Page Not Found).
*
* @package ThemeGrill
* @subpackage eStore
* @since eStore 1.0
*/
get_header(); ?>
<?php do_action( 'estore_before_body_content' );
$estore_layout = estore_layout_class();
?>
<div id="content" class="site-content">
<div class="page-header clearfix">
<div class="tg-container">
<h2 class="entry-title"><?php esc_html_e( '404', 'estore' );?></h2>
<h3 class="entry-sub-title"><?php estore_breadcrumbs(); ?></h3>
</div>
</div>
<main id="main" class="clearfix <?php echo esc_attr($estore_layout); ?>">
<div class="tg-container">
<div id="primary">
<section class="error-404 not-found">
<div class="page-content clearfix">
<?php if ( ! dynamic_sidebar( 'estore_error_404_page_sidebar' ) ) : ?>
<div class="error-wrap">
<span class="num-404">
<?php esc_html_e( '404', 'estore' ); ?>
</span>
<span class="error"><?php esc_html_e( 'error', 'estore' ); ?></span>
</div>
<header class="page-not-found">
<h1 class="page-title"><?php esc_html_e( 'Oops! That page can’t be found.' , 'estore' ); ?></h1>
</header>
<p class="message"><?php esc_html_e( 'It looks like nothing was found at this location. Try the search below.', 'estore' ); ?></p>
<div class="form-wrapper">
<?php get_search_form(); ?>
</div>
<?php endif; ?>
</div>
</section>
</div>
<?php estore_sidebar_select(); ?>
</div>
</main>
</div>
<?php do_action( 'estore_after_body_content' ); ?>
<?php get_footer(); ?>