-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path404.php
61 lines (46 loc) · 1.84 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
<?php
/**
* Title: 404 template
*
* Description: Defines content for 404 page.
*
* 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 Cyber Chimps Framework
* @package Framework
* @since 1.0
* @author CyberChimps
* @license http://www.opensource.org/licenses/gpl-license.php GPL v2.0 (or later)
* @link http://www.cyberchimps.com/
*/
get_header(); ?>
<?php do_action( 'cyberchimps_before_container'); ?>
<div id="container" <?php cyberchimps_filter_container_class(); ?>>
<?php do_action( 'cyberchimps_before_content_container'); ?>
<div id="content" <?php cyberchimps_filter_content_class(); ?>>
<?php do_action( 'cyberchimps_before_content'); ?>
<article id="post-0" class="post error404 not-found">
<header class="entry-header">
<h2 class="entry-title">
<?php if( cyberchimps_option( 'error_custom_title' ) != '' ): ?>
<?php echo cyberchimps_option( 'error_custom_title' ); ?>
<?php else: ?>
<?php _e( 'Oops! That page cannot be found.', 'cyberchimps' ); ?></h2>
<?php endif; ?>
</header>
<div class="entry-content">
<?php if( cyberchimps_option( 'error_custom_content' ) != '' ): ?>
<p><?php echo cyberchimps_option( 'error_custom_content' ); ?></p>
<?php else: ?>
<p><?php _e( 'It looks like nothing was found at this location. Maybe try searching for it?', 'cyberchimps' ); ?></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'); ?>
<?php get_footer(); ?>