<?php 
/**
 * The template file for displaying 404 pages (not found)
 *
 * @package SmallBusinessWide
 *
 */

get_header(); 

if (!get_theme_mod('page_imgonly','') || !is_front_page() ) { ?>

	<div id="primary" class="content-area">

		<div id="main" class="main">

			<section class="error-404 not-found">
				<header class="page-header">
					<h1 class="page-title"><?php _e( 'Oops', 'smallbusinesswide' ); ?></h1>
				</header>

				<div class="page-content">
					<p><?php _e( 'Nothing found', 'smallbusinesswide' ); ?></p>

					<?php get_search_form(); ?>
				</div>
				<div class="contentspace">&nbsp;</div>
			</section>
		</div>
	</div>
	<?php
		if (has_tag())
			the_tags( '<p>' . __('Tags','smallbusinesswide') . ': ', ', ', '</p>'); ?>

			<div class="clear">
	</div>
<?php } ?>

<!-- #footer -->
<?php get_footer();?>
