Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

50 lines (38 sloc) 1.176 kb
<?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(); ?>
Jump to Line
Something went wrong with that request. Please try again.