-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.php
60 lines (50 loc) · 1.7 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
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1">
<meta http-equiv="refresh"
content="5; url=<?php bloginfo("url") ?>">
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,800,700' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Raleway:400,800,600' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_directory_uri(); ?>/style.css">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<style>
.nfContainer {
display: table;
width: 100%;
height: 100vh;
}
.nfCell {
display: table-cell;
vertical-align: middle;
text-align: center
}
.nfCell img {
max-width: 95%
}
.rip {
padding-top: 20px;
}
</style>
</head>
<body class="nfBody <?php get_body_class() ?>">
<div class="nfContainer">
<div class="nfCell">
<a href="<?php bloginfo("url") ?>" title="Home">
<img src="<?php bloginfo("wpurl")?>/wp-content/uploads/2015/09/logo-01.png">
</a>
<p class="rip"><?php
if (cml_get_current_language()->cml_locale === "it_IT") {
echo "Pagina non trovata, verrai reindirizzato tra poco...";
}
else
echo "Page not found, you will redirected soon...";
?>
</p>
</div>
</div>
</body>
<?php wp_footer() ?>