<?php
/**
 * The template for displaying 404 pages (not found)
 *
 * @link https://codex.wordpress.org/Creating_an_Error_404_Page
 *
 * @package WordPress
 * @subpackage WPCargo_Theme_Pro
 * @since 1.0
 * @version 1.0
 */
get_header(); ?>
<div class="wrap">
	<div id="primary" class="content-area">
		<?php if( wpctp_get_option( 'site_layout' ) == 'sidebar-content' ) : ?> 
			<?php get_sidebar(); ?>
		<?php endif; ?>
		<main id="main" class="site-main wpctp-column content" role="main">
			<section class="error-404 not-found">
				<div class="page-content">
					<p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'wpctp' ); ?></p>
					<?php get_search_form(); ?>
				</div><!-- .page-content -->
			</section><!-- .error-404 -->
		</main><!-- #main -->
		<?php if( wpctp_get_option( 'site_layout' ) == 'content-sidebar' ) : ?> 
			<?php get_sidebar(); ?>
		<?php endif; ?>
	</div><!-- #primary -->
</div><!-- .wrap -->
<?php get_footer();
