<?php
if (have_posts()) :
    while (have_posts()) : the_post(); ?>
        <div class="edgtf-container">
            <div class="edgtf-container-inner clearfix">
                <div class="edgtf-portfolio-single-holder <?php echo esc_attr($holder_classes); ?>">
                    <?php if(post_password_required()) {
                        echo get_the_password_form();
                    } else {
                        do_action('onschedule_edge_action_portfolio_page_before_content');
                    
                        onschedule_edge_get_module_template_part('templates/single/layout-collections/'.$item_layout, 'portfolio', '', $params);
                    
                        do_action('onschedule_edge_action_portfolio_page_after_content');
                    
                        onschedule_edge_get_module_template_part('templates/single/parts/navigation', 'portfolio', $item_layout);
                    
                        onschedule_edge_get_module_template_part('templates/single/parts/comments', 'portfolio');
                    } ?>
                </div>
            </div>
        </div>
    <?php endwhile;
endif;