<?php
/*
Theme Designed By: Meysam Hosseinkhani
Email: Meysam98@Gmail.com
Author Website: Hosseinkhani.ir
*/
// Exit if accessed directly
if (!defined('ABSPATH')) {
    exit;
}
global $di_data;
get_header();
?>
<div class="container main-con">
<?php if($di_data['show_bread']) { woocommerce_breadcrumb(); }  ?>
<div class="row">
<?php if ( have_posts() ) : ?>
<article role="main" class="col-12">
<?php while ( have_posts() ) : the_post(); ?>
<?php if (is_user_logged_in())
		{ ?>
    <?php the_content(); ?>
<?php } else { ?>
<div class="shadow-box page-con">
    <h1 class="ptitle"></i>
        <?php the_title(); ?>
    </h1>
    <?php the_content(); ?>
</div>
<?php } ?>
</article>
</div>
</div>
<?php 
endwhile;
endif;
get_footer();