<?php
/**
 * The template for displaying all portfolio posts
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#custom-post-types
 *
 * @package Perfect_Portfolio
 */
get_header(); ?>
    <div class="tc-wrapper">
    	<div id="primary" class="content-area">
    	    <main id="main" class="site-main">
                <div class="gallery-wrap">
            		<?php
            		while ( have_posts() ) : the_post();

                        get_template_part( 'template-parts/content', 'portfolio' );

            		endwhile; // End of the loop.
                    ?>
                </div><!-- .gallery-wrap -->
                <?php 
                    /**
                     * @hooked perfect_portfolio_single_portfolio_related_posts - 10
                     * @hooked perfect_portfolio_comment                        - 20
                    */
                    do_action( 'perfect_portfolio_after_portfolio_content' );
                ?>            
        	</main><!-- #main -->
    	</div><!-- #primary -->
    </div>
<?php 
get_footer();
