<?php
/**
 * The main template file
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * E.g., it puts together the home page when no home.php file exists.
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package WordPress
 * @subpackage Ocolus
 * @since 1.0
 * @version 1.0
 */
get_header();
$post_style = ocolus_get_option( 'portfolio_single_layout', 'carousel' );
?>
    <!-- .site-content-contain -->
    <div id="content" class="site-content portfolio-single container <?php echo "portfolio-single-{$post_style}"; ?>">
        <?php ocolus_post_breadcrumb(); ?>
        <div id="primary" class="content-area">
            <main id="main" class="site-main" role="main">

				<?php
				get_template_part( "templates/portfolio/portfolio-single/{$post_style}" );
				?>

            </main><!-- #main -->
        </div><!-- #primary -->

    </div><!-- .site-content-contain -->
<?php get_footer();
