-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.php
38 lines (33 loc) · 1.54 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
<?php
/**
* Page Not Found (error 404) template.
*
*/
get_header(); ?>
<div id="wrapper">
<?php if((isset($e404_options['main_intro_type']) && $e404_options['main_intro_type'] != 'none') || $e404_options['breadcrumbs']) echo '<div id="head_intro">'; ?>
<?php include(OF_FILEPATH.'/main-intro-box.php'); ?>
<?php if($e404_options['breadcrumbs']) : ?><div id="breadcrumb"><?php e404_breadcrumbs(); ?></div><?php endif; ?>
<?php if((isset($e404_options['main_intro_type']) && $e404_options['main_intro_type'] != 'none') || $e404_options['breadcrumbs']) echo '</div>'; ?>
<div id="error" class="one_half">
<p>
<strong>404</strong>
<span><?php _e('Page not Found', 'shiny'); ?></span>
</p>
</div>
<div id="error-info" class="one_half last">
<p><?php _e('Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'shiny'); ?></p>
<div class="content-search">
<form action="<?php echo home_url(); ?>" method="get">
<input type="text" name="s" value="<?php _e('Search...', 'shiny'); ?>" onfocus="if (this.value == '<?php _e('Search...', 'shiny'); ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e('Search...', 'shiny'); ?>';}" />
<input type="submit" value="<?php _e('Search', 'shiny'); ?>" />
</form>
</div>
<hr class="divider-dotted" />
<ul class="small-list small-dot">
<li><?php printf(__('Go to the <a href="%1$s">homepage</a>', 'shiny'), home_url()); ?></li>
</ul>
</div>
<br class="clear" />
</div>
<?php get_footer(); ?>