forked from pressden/emma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.php
39 lines (30 loc) · 971 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
38
39
<?php
/**
* The template for displaying 404 pages (not found)
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package Emma
*/
get_header();
?>
<div id="primary" class="content-area">
<main id="main" class="site-main">
<article id="404">
<header class="entry-header">
<div class="wrap">
<h1 class="entry-title"><?php echo apply_filters( 'emma_404_page_title', "Oops! That page can't be found." ); ?></h1>
</div><!-- .wrap -->
</header><!-- .entry-header -->
<div class="entry-content">
<p>
<?php echo apply_filters( 'emma_404_page_content', "You can go back to our <a href='" . get_home_url() . "'>homepage</a> or search by topic below." ); ?>
</p>
<?php echo get_search_form(); ?>
</div><!-- .entry-content -->
</article><!-- #post-<?php the_ID(); ?> -->
</main><!-- #main -->
</div><!-- #primary -->
<?php
get_template_part( 'template-parts/sidebars' );
get_footer();