forked from jamesdevondev/hyperspaceWP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.php
39 lines (31 loc) · 959 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
get_header();
$section_groups = wp_hyperspace::get_ordered_home_page_section_groups();
$uri = $_SERVER['REQUEST_URI'] ;
$decoded_uri = urldecode($uri);
$escaped_html_uri = esc_html($decoded_uri);
if($uri !== $decoded_uri ) $uri_is_encoded = true;
?>
<section id="sidebar">
<div class="inner">
<?php echo wp_hyperspace::create_nav_list($section_groups, false); ?>
</div>
</section>
<div id="wrapper">
<section id="main" class="wrapper">
<div class="inner">
<h1 class="major">404</h1>
<p>The requested resource
<code>
<?php
echo $escaped_html_uri;
?>
</code>
does not exist. <br/>
Please use one of these links:
</p>
<?php echo wp_hyperspace::create_nav_list($section_groups, false); ?>
</div>
</section>
</div>
<?php get_footer(); ?>