-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.php
37 lines (30 loc) · 822 Bytes
/
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
<?php
/**
* The template for displaying 404 pages (not found).
*
* @package understrap
*/
get_header();
$container = get_theme_mod( 'understrap_container_type' );
?>
<div class="slider-back">
<div class="container">
<h2 class="blog-name"> <?= __('404 Error', 'understrap-child')?> </h2>
</div>
</div>
<div class="<?php echo esc_attr( $container ); ?>">
<div class="error-page">
<div class="page-header">
<span class="page-span"> 404 </span>
<span class="page-title">
<?php esc_html_e( 'Page not found!','understrap' ); ?>
</span>
</div>
<div class="page-content">
<a href="<?php echo get_home_url();?>"> Back to homepage</a>
<span> or </span>
<a href="<?php echo get_permalink( get_option( 'page_for_posts' ) ); ?>">Our Blog</a>
</div>
</div>
</div>
<?php get_footer(); ?>