-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy path404.php
45 lines (39 loc) · 800 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
40
41
42
43
44
45
<?php
/**
* Error 404 - Page not found.
*
* @author Terry Lin
* @link https://terryl.in/
*
* @package WordPress
* @subpackage Mynote
* @since 1.0.0
* @version 2.0.0
*/
get_header();
?>
<div class="category-header">
<div class="container">
<h1 id="post-title" class="error-404" itemprop="headline">
<?php esc_html_e( 'Page not found', 'mynote' ); ?>
</h1>
</div>
</div>
<main role="main">
<div class="container">
<article id="post-404">
<p>
<?php esc_html_e( 'The page you are looking for does not exist or it may have been moved.', 'mynote' ); ?>
<ul>
<li>
<a href="<?php echo esc_url( home_url() ); ?>">
<?php esc_html_e( 'Return home?', 'mynote' ); ?>
</a>
</li>
</ul>
</p>
</article>
</div>
</main>
<?php
get_footer();