-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.php
More file actions
48 lines (40 loc) · 1.26 KB
/
404.php
File metadata and controls
48 lines (40 loc) · 1.26 KB
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
<?php
/**
* The template for displaying 404 pages (not found).
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package blover
*/
get_header(); ?>
<div class="row">
<div id="primary" class="content-area
<?php
$blover_home_page_layout = get_theme_mod( 'home_page_layout', 'classic' );
echo ( empty( $blover_home_page_layout ) ) ? ' col-md-12' : ' col-lg-8';
if ( ! empty( $blover_home_page_layout ) && ! is_active_sidebar( 'sidebar-1' ) ) :
echo ' col-lg-push-2';
endif;
?>
">
<div class="blover-page-intro">
<h1><?php echo esc_html__( 'Error 404', 'blover' ); ?></h1>
</div>
<main id="main" class="site-main" role="main">
<section class="error-404 not-found">
<div class="blover-404">
<h1>404</h1>
</div>
<div class="page-content">
<p><?php printf( '<span class="lead">%s</span><br/>%s', esc_html__( 'It looks like nothing was found at this location.', 'blover' ), esc_html__( 'Maybe try a search?', 'blover' ) ); ?></p>
<?php get_search_form(); ?>
</div><!-- .page-content -->
</section><!-- .error-404 -->
</main><!-- #main -->
</div><!-- #primary -->
<?php
if ( ! empty( $blover_home_page_layout ) ) {
get_sidebar(); }
?>
</div><!-- .row -->
<?php get_footer(); ?>