<?php echo term_description(); ?> </div><!-- .woo-tax-description --> <?php } ?> <article class="entry-content entry clr"> <?php woocommerce_content(); ?> </article><!-- #post --> <?php // Display social sharing links if (function_exists('wpex_social_share') && get_theme_mod('social_share_woo', false)) { wpex_social_share(); } ?> </div><!-- #content --> </section><!-- #primary --> <?php get_sidebar(); ?> </div><!-- #content-wrap --> <?php // Display next/prev links if enabled if (is_singular('product') && get_theme_mod('woo_next_prev', true)) { ?> <?php get_template_part('partials/next', 'prev'); ?>
"> <section id="primary" class="content-area clr"> <div id="content" class="site-content clr" role="main"> <?php // Display portfolio single media if enabled in the admin get_template_part('partials/portfolio/portfolio-single', 'media'); ?> <article class="entry clr"> <?php the_content(); ?> </article><!-- .entry clr --> <?php // Social Sharing links if (function_exists('wpex_social_share') && get_theme_mod('social_share_portfolio', false)) { wpex_social_share(get_the_ID()); } ?> <?php // Get comments & comment form if enabled for portfoliop posts if (get_theme_mod('portfolio_comments')) { ?> <div id="portfolio-post-comments" class="clr"> <?php comments_template(); ?> </div><!-- #portfolio-post-comments --> <?php } ?> <?php
if (!$password_required && !get_post_meta($post_id, 'wpex_post_media_position', true)) { $post_format = $post_format ? $post_format : 'thumbnail'; get_template_part('partials/blog/media/blog-single', $post_format); } } elseif ('post_series' == $wpex_block) { get_template_part('partials/blog/blog-single', 'series'); } elseif ('the_content' == $wpex_block && 'quote' != $post_format) { ?> <div class="entry clr"> <?php the_content(); ?> </div> <?php // Link pages when using <!--nextpage--> wp_link_pages(array('before' => '<div class="page-links clr">', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>')); } elseif ('post_tags' == $wpex_block && !$password_required) { the_tags('<div class="post-tags clr">', '', '</div>'); } elseif ('social_share' == $wpex_block && get_theme_mod('blog_social_share', true) && !$password_required) { wpex_social_share($post_id); } elseif ('author_bio' == $wpex_block && get_the_author_meta('description') && 'hide' != get_post_meta($post_id, 'wpex_post_author', true) && !$password_required) { get_template_part('author-bio'); } elseif ('related_posts' == $wpex_block) { get_template_part('partials/blog/blog-single', 'related'); } elseif ('comments' == $wpex_block) { comments_template(); } } }