HOME


Mini Shell 1.0
DIR: /home/otwalrll/.trash/wp-content.1/themes/consultio/template-parts/content-single/
Upload File :
Current File : /home/otwalrll/.trash/wp-content.1/themes/consultio/template-parts/content-single/content.php
<?php
/**
 * Template part for displaying posts in loop
 *
 * @package Consultio
 */
$post_tags_on = consultio_get_opt( 'post_tags_on', true );
$post_category_on = consultio_get_opt( 'post_categories_on', true );
$post_navigation_on = consultio_get_opt( 'post_navigation_on', false );
$post_social_share_on = consultio_get_opt( 'post_social_share_on', false );
?>
<article id="post-<?php the_ID(); ?>" <?php post_class('single-hentry'); ?>>
    <div class="entry-blog">
        <?php if (has_post_thumbnail()) {
            echo '<div class="entry-featured">'; ?>
                <?php the_post_thumbnail('consultio-large'); ?>
                <?php if($post_category_on) : 
                    the_terms( get_the_ID(), 'category', '<div class="entry-category">', ' ', '</div>' );
                endif; ?>
            <?php echo '</div>';
        } ?>
        <div class="entry-body">

            <?php consultio_post_meta(); ?>

            <div class="entry-content clearfix">
                <?php
                    the_content();
                    wp_link_pages( array(
                        'before'      => '<div class="page-links">',
                        'after'       => '</div>',
                        'link_before' => '<span>',
                        'link_after'  => '</span>',
                    ) );
                ?>
            </div>

        </div>
    </div>
    <?php if($post_tags_on || $post_social_share_on ) :  ?>
        <div class="entry-footer">
            <?php if($post_tags_on) { consultio_entry_tagged_in(); } ?>
            <?php if($post_social_share_on) { consultio_socials_share_default(); } ?>
        </div>
    <?php endif; ?>

    <?php if($post_navigation_on) { consultio_post_nav_default(); } ?>
</article><!-- #post -->