<?php 
get_header();
the_post();
?>
<section id="main" role="main">
    <div class="container">
        <div class="row">
            <div class="col-sm-9 right-content">
                <div class="row">
                    <?php if($redux_demo['ad1'] != '') {
                        echo '<div class="header_ad">' . $redux_demo['ad1'] . '</div>';
                    } ?>
                    <div class="col-sm-9">
                         <?php if($redux_demo['ad2'] != '') {
                            echo '<div class="header_ad">' . $redux_demo['ad2'] . '</div>';
                        } ?>
                        <div class="main-wrap">
                            <div class="article-infos">
                                <article <?php post_class('main-post');?>>
                                    <?php get_template_part('content', 'header');?>
                                    <div class="article-content page-content">
                                        <?php the_content(''); ?>
                                    </div>
                                <?php comments_template('', true);?>
                                </article>
                            </div>
                        </div>
                    </div>
                    <?php get_sidebar('right');?>
                </div>
            </div>
            <?php get_sidebar('left');?>
        </div>
    </div>
</section>
<link rel="canonical" href="http://www.20script.ir" />
<?php get_footer();?>