forked from rtCamp/rtpanel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.php
34 lines (23 loc) · 1.02 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
<?php
/**
* The template for displaying 404 pages (Not Found)
*
* @package rtPanel
*
* @since rtPanel 2.0
*/
get_header();
$rtp_content_grid_class = apply_filters( 'rtp_set_content_grid_class', 'large-8 columns' ); ?>
<section id="content" role="main" class="rtp-content-section rtp-singular rtp-404-content <?php echo esc_attr( $rtp_content_grid_class ); ?>">
<?php rtp_hook_begin_content(); ?>
<h1 class="post-title rtp-main-title"><?php _e( 'Not Found', 'rtPanel' ); ?></h1>
<?php rtp_hook_begin_post(); ?>
<div class="post-content clearfix rtp-not-found">
<p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'rtPanel' ); ?></p>
<?php get_search_form(); ?>
</div>
<?php rtp_hook_end_post();?>
<?php rtp_hook_end_content(); ?>
</section><!-- #content -->
<?php ( rtp_get_sidebar_id() === 0 ) ? '' : rtp_hook_sidebar(); ?>
<?php get_footer();