-
Notifications
You must be signed in to change notification settings - Fork 4
/
404.php
77 lines (47 loc) · 1.87 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?php
/**
* 404 Template
*
* @package Inti
* @subpackage Templates
* @since 1.6.1
*/
get_header(); ?>
<div id="primary" class="site-content">
<?php inti_hook_content_before(); ?>
<div id="content" role="main" class="<?php apply_filters('inti_filter_content_classes', ''); ?>">
<?php inti_hook_inner_content_before(); ?>
<?php inti_hook_grid_open(); ?>
<?php if (get_inti_option('page_not_found', 'inti_general_options')) : ?>
<article id="post-0" class="post 404 not-found">
<div class="entry-body">
<div class="entry-content">
<?php inti_hook_post_content_before_the_content(); ?>
<?php echo get_inti_option('page_not_found', 'inti_general_options'); ?>
<?php inti_hook_post_content_after_the_content(); ?>
</div><!-- .entry-content -->
</div><!-- .entry-body -->
</article><!-- #post-0 -->
<?php else : ?>
<article id="post-0" class="post 404 not-found">
<div class="entry-body">
<?php inti_hook_post_header_before(); ?>
<header class="entry-header">
<h1 class="entry-title"><?php _e('404 Not Found', 'inti'); ?></h1>
</header>
<?php inti_hook_post_header_after(); ?>
<div class="entry-content">
<?php inti_hook_post_content_before_the_content(); ?>
<p><?php _e('Apologies, but this content was not found. Perhaps searching will help find a related post.', 'inti'); ?></p>
<?php get_search_form(); ?>
<?php inti_hook_post_content_after_the_content(); ?>
</div><!-- .entry-content -->
</div><!-- .entry-body -->
</article><!-- #post-0 -->
<?php endif; ?>
<?php inti_hook_grid_close(); ?>
<?php inti_hook_inner_content_after(); ?>
</div><!-- #content -->
<?php inti_hook_content_after(); ?>
</div><!-- #primary -->
<?php get_footer(); ?>