<?php /** * The template for displaying 404 pages (Not Found). * * @package The Columnist * @since The Columnist 1.0 */ get_header(); ?> <div id="primary" class="site-content"> <div id="left-col"> <header id="masthead" class="site-header" role="banner"> <a class="thumbnail" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"> <?php $header_image = get_header_image(); ?> <?php if ( ! empty( $header_image ) ) : ?> <img src="<?php header_image(); ?>" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" /> <?php endif; ?> </a> <hgroup class="single-title"> <h1><?php _e( 'Not Found', 'the_columnist' ); ?></h1> <p class="single-description"><?php _e( 'Oops! That page can’t be found.', 'the_columnist' ); ?></p> </hgroup><!-- end .single-title --> </header> </div> <div id="content" role="main"> <article id="post-0" class="post error404 not-found"> <header class="entry-header"> <a class="home-link" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">Home</a> </header> <div class="entry-content"> <p><?php _e( 'It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'the_columnist' ); ?></p> <div id="secondary" class="widget-area fixed-widgets" role="complementary"> <?php the_widget( 'WP_Widget_Recent_Posts' ); ?> <div class="widget"> <h2 class="widgettitle"><?php _e( 'Most Used Categories', 'the_columnist' ); ?></h2> <ul> <?php wp_list_categories( array( 'orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10 ) ); ?> </ul> </div> <?php the_widget( 'WP_Widget_Archives', 'dropdown=1' ); ?> <div class="widget"> <h2 class="widgettitle"><?php _e( 'Search', 'the_columnist' ); ?></h2> <?php get_search_form(); ?> </div> </div> </div><!-- .entry-content --> </article><!-- #post-0 --> </div><!-- #content --> </div><!-- #primary .site-content --> <?php get_footer(); ?>