-
Notifications
You must be signed in to change notification settings - Fork 1
/
404.php
48 lines (37 loc) · 1.14 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
<?php
/**
* 404 page
*
* 404 page template. Any 404 errors on the site will be rendered here.
*
* @package Comienzo
* @copyright Copyright (C) 2011 Curtis McHale
* @license http://www.gnu.org/copyleft/gpl.html GPL
*
* @since 1.0
*/
?>
<?php get_header(); ?>
<div id="four-o-four">
<div id="content-wrapper">
<h2>Error 404 - Not Found</h2>
<h5>Oops!! Looks like something went wrong. Please get in touch with the site <a href="mailto:<?php echo get_bloginfo('admin_email'); ?>">administrator</a> and we'll get this sorted out. You my also try to find what you're looking for with the saerch below.</h5>
<?php get_search_form(); ?>
<?php
/**
* I develop with logging so I just want my logging to be done in the theme if
* at all possible.
*/
if( function_exists( 'wptt_log_error' ) ){
$current_user = wp_get_current_user();
wptt_log_error(
'404 Page',
'Someone hit the 404 page',
array( 'user' => $current_user )
);
} // function_exists( 'wptt_log_error' )
?>
</div><!-- /#content-wrapper -->
<?php get_sidebar(); ?>
</div><!-- /#four-o-four -->
<?php get_footer(); ?>