-
Notifications
You must be signed in to change notification settings - Fork 2
/
404.php
49 lines (40 loc) · 1.78 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
<?php
/**
* The template for displaying 404 pages (not found).
*
* @package ThemeGrill
* @subpackage ColorNews
* @since ColorNews 1.0
*/
get_header(); ?>
<?php do_action( 'colornews_before_body_content' ); ?>
<div id="main" class="clearfix">
<div class="tg-container">
<div class="tg-inner-wrap clearfix">
<div id="main-content-section clearfix">
<div id="primary">
<?php if ( ! dynamic_sidebar( 'colornews_error_404_page_sidebar' ) ) : ?>
<section class="error-404 not-found">
<div class="page-content">
<header class="page-header">
<h1 class="page-title"><?php esc_html_e( 'Oops! That page can’t be found.', 'colornews' ); ?></h1>
</header><!-- .page-header -->
<p><?php esc_html_e( 'It looks like nothing was found at this location. You can try a search instead.', 'colornews' ); ?></p>
<div class="error-wrap">
<span class="num-404">
<?php _e( '404', 'colornews' ); ?>
</span>
<span class="error"><?php _e( 'error', 'colornews' ); ?></span>
</div>
<?php get_search_form(); ?>
</div><!-- .page-content -->
</section><!-- .error-404 -->
<?php endif; ?>
</div><!-- #primary end -->
<?php colornews_sidebar_select(); ?>
</div><!-- #main-content-section end -->
</div><!-- .tg-inner-wrap -->
</div><!-- .tg-container -->
</div><!-- #main -->
<?php do_action( 'colornews_after_body_content' ); ?>
<?php get_footer(); ?>