Your IP : 216.73.216.95


Current Path : /var/www/html/soar-backup/wp-content/themes/NativeChurch/
Upload File :
Current File : /var/www/html/soar-backup/wp-content/themes/NativeChurch/single.php

<?php get_header(); 
$pageOptions = imic_page_design(); //page design options
imic_sidebar_position_module(); ?>
<div class="container">
    <div class="row">
        <div class="<?php echo $pageOptions['class']; ?>" id="content-col"> 
        	<?php while (have_posts()):the_post(); ?>
            <header class="single-post-header clearfix">
                <div class="pull-right post-comments-count">
              <?php comments_popup_link('<i class="fa fa-comment"></i>'.__('No comments yet','framework'), '<i class="fa fa-comment"></i>1', '<i class="fa fa-comment"></i>%', 'comments-link',''); ?>
                </div>
                <h2 class="post-title"><?php the_title() ?></h2>
            </header>
            <article class="post-content">
                <span class="post-meta meta-data"><span><i class="fa fa-calendar"></i> <?php
                        _e('Posted on ', 'framework');
                        echo get_the_time(get_option('date_format'));
                        $cats = get_the_category();
                        ?>
                    </span> <span><i class="fa fa-user"></i><?php _e(' Posted By: ','framework'); ?><?php
				    echo get_the_author_meta('display_name'); ?></span><span><i class="fa fa-archive"></i><?php
                        _e('Categories: ', 'framework');
                        echo '<a href="' . get_category_link($cats[0]->term_id) . '">' . $cats[0]->name . '</a>';
                        ?> </span></span>
                   <?php
                    if (has_post_thumbnail()):
                        echo '<div class="featured-image">';
                        the_post_thumbnail('full');
                        echo '</div>';
                    endif;
                   	echo '<div class="page-content">';
                    the_content();
					wp_link_pages( array(
						'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'framework' ) . '</span>',
						'after'       => '</div>',
						'link_before' => '<span>',
						'link_after'  => '</span>',
						'pagelink'    => '<span class="screen-reader-text"></span>%',
						'separator'   => '<span class="screen-reader-text">/ </span>',
					) );
					echo '</div>';
                if (has_tag()) {
                    echo'<div class="post-meta">';
                    echo'<i class="fa fa-tags"></i>';
                    the_tags('', ', ');
                    echo'</div>';
                } ?>	
				<?php if ($imic_options['switch_sharing'] == 1 && $imic_options['share_post_types']['1'] == '1') { ?>
                    <?php imic_share_buttons(); ?>
                <?php } ?>
            </article>
	<?php  endwhile;
	comments_template('', true); ?> 
        </div>
        <?php if(!empty($pageOptions['sidebar'])){ ?>
        <!-- Start Sidebar -->
        <div class="col-md-3 sidebar" id="sidebar-col">
            <?php dynamic_sidebar($pageOptions['sidebar']); ?>
        </div>
        <!-- End Sidebar -->
        <?php } ?>
    </div>
</div>
<?php get_footer(); ?>