-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.php
71 lines (60 loc) · 1.53 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">
<head>
<meta charset="<?php bloginfo('charset') ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
.wrap-404 {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
text-align: center;
}
.container {
max-width: 600px;
}
h1 {
font-size: 6em;
color: #333;
margin: 0;
}
p {
font-size: 1.2em;
color: #555;
}
a {
color: #007BFF;
text-decoration: none;
font-weight: bold;
}
a:hover {
text-decoration: underline;
}
</style>
<!-- calling wp head -->
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<!-- wp header -->
<?php get_header();?>
<div class="container wrap-404">
<div class="">
<h1>404</h1>
<p>Oops! Page not found.</p>
<p>Sorry, but the page you are looking for might be in another castle.</p>
<p>
Go back to <a href="<?php echo home_url(); ?>">home</a>
</p>
</div>
</div>
<!-- wp footer -->
<?php get_footer();?>
<!-- calling wp foot -->
<?php wp_footer(); ?>
</body>
</html>