forked from bootscore/bootscore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.php
38 lines (30 loc) · 1.05 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
<?php
/**
* The template for displaying 404 pages (not found)
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package Bootscore
*/
get_header();
?>
<div id="content" class="site-content container py-5 mt-5">
<div id="primary" class="content-area">
<main id="main" class="site-main">
<section class="error-404 not-found">
<div class="page-404">
<h1 class="mb-3">404</h1>
<!-- Remove this line and place some widgets -->
<p class="alert alert-info mb-4"><?php esc_html_e('Page not found.', 'bootscore'); ?></p>
<!-- 404 Widget -->
<?php if (is_active_sidebar('404-page')) : ?>
<div><?php dynamic_sidebar('404-page'); ?></div>
<?php endif; ?>
<a class="btn btn-outline-primary" href="<?php echo esc_url(home_url()); ?>" role="button"><?php esc_html_e('Back Home »', 'bootscore'); ?></a>
</div>
</section><!-- .error-404 -->
</main><!-- #main -->
</div><!-- #primary -->
</div><!-- #content -->
<?php
get_footer();