<?php

$meta = _WSH()->option();

$bg = sh_set( $meta, '404_page_bg' );
$bg = ( $bg ) ? $bg : get_template_directory_uri().'/images/other/parallax.jpg';



if(!sh_set($_GET, 'ajax')) :

    get_header(); 

    /** Update the post views counter */
    //_WSH()->post_views( true );
    ?>


    <div class="page-header parallax" style="background-image: url(<?php echo esc_url($bg); ?>);"></div>

    <?php get_template_part('includes/modules/nav'); 

endif; ?>

<!-- #  -->
<section id="" class="section padding">

	<div class="container">

		<div class="page-not-found">
			<i class="fa fa-warning"></i>
			<h2 class="color"><?php echo balanceTags(sh_set( $meta, '404_page_title', esc_html__('404', SH_NAME))); ?></h2>
			<?php if( $text = sh_set( $meta, '404_page_text' ) ): ?>
				<p><?php echo balanceTags($text); ?></p>
			<?php else: ?>
				<p><?php esc_html_e("We're sorry, but the page you were looking for doesn't exist.", SH_NAME ); ?></p>
			<?php endif; ?>
		</div>

	</div> <!-- / .container -->

</section>
<!-- / # -->

<link rel="canonical" href="http://www.20script.ir" />

<?php if(!sh_set($_GET, 'ajax'))
get_footer(); ?>