<?php /** * 404 Template * * The 404 template is used when a reader visits an invalid URL on your site. By default, * the template will display a generic message. However, if the '404 Template' widget area * is active, its widgets will be displayed instead. This allows users to customize their error * pages in any way they want. * * For more information on how WordPress handles 404 errors: * @link http://codex.wordpress.org/Creating_an_Error_404_Page * * @package Hybrid * @subpackage Template */ @header( 'HTTP/1.1 404 Not found', true, 404 ); get_header(); ?> <div id="main"> <div id="content" class="unic"> <div id="pagina" class="shadow"> <h2><?php _e("Page not found","hangar"); ?></h2> <p> <?php printf( __( 'You tried going to %1$s, and it doesn\'t exist. All is not lost! You can search for what you\'re looking for.', 'hangar' ), '<code>' . site_url( esc_url( $_SERVER['REQUEST_URI'] ) ) . '</code>' ); ?> </p> <?php get_search_form(); ?> </div><!-- pagina --> </div><!-- .content .hfeed --> </div> <?php get_footer(); ?>