-
Notifications
You must be signed in to change notification settings - Fork 14
/
404.php
76 lines (56 loc) · 2.25 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
<?php
/**
* 404 Template
*
* Please do not edit this file. This file is part of the Cyber Chimps Framework and all modifications
* should be made in a child theme.
*
* @category CyberChimps Framework
* @package Framework
* @since 1.0
* @author CyberChimps
* @license http://www.opensource.org/licenses/gpl-license.php GPL v3.0 (or later)
* @link https://www.cyberchimps.com/
*/
get_header(); ?>
<div id="error_page" class="container-full-width">
<div class="container">
<div class="container-fluid">
<?php do_action( 'cyberchimps_before_container' ); ?>
<div id="container" <?php Cyberchimps_Helper::cyberchimps_filter_container_class(); ?>>
<?php do_action( 'cyberchimps_before_content_container' ); ?>
<div id="content" <?php Cyberchimps_Helper::cyberchimps_filter_content_class(); ?>>
<?php do_action( 'cyberchimps_before_content' ); ?>
<article id="post-0" class="post error404 not-found">
<header class="entry-header">
<h1 class="entry-title">
<?php if (Cyberchimps_Helper::cyberchimps_get_option( 'error_custom_title' ) != ''): ?>
<?php echo Cyberchimps_Helper::cyberchimps_get_option( 'error_custom_title' ); ?>
<?php else: ?>
<?php esc_html_e( 'Oops! That page cannot be found.', 'ifeature' ); ?></h1>
<?php endif; ?>
</header>
<div class="entry-content">
<?php if( Cyberchimps_Helper::cyberchimps_get_option( 'error_custom_content' ) != '' ): ?>
<p><?php echo Cyberchimps_Helper::cyberchimps_get_option( 'error_custom_content' ); ?></p>
<?php else: ?>
<p><?php esc_html_e( 'It looks like nothing was found at this location. Maybe try searching for it?', 'ifeature' ); ?></p>
<?php endif; ?>
<?php get_search_form(); ?>
</div>
<!-- .entry-content -->
</article>
<!-- #post-0 -->
<?php do_action( 'cyberchimps_after_content' ); ?>
</div>
<!-- #content -->
<?php do_action( 'cyberchimps_after_content_container' ); ?>
</div>
<!-- #container .row-fluid-->
<?php do_action( 'cyberchimps_after_container' ); ?>
</div>
<!--container fluid -->
</div>
<!-- container -->
</div><!-- container full width -->
<?php get_footer(); ?>