<?php
/**
 * The template for displaying learndash single page
 *
 * @package Edumodo
 */

$edumodo_learndash_single_layout = edumodo_get_theme_mod('edumodo_single_ld_course_layout', '2');

get_header();?>

	<div id="primary" class="content-area">
		<main id="main" class="site-main">

		<?php if ('1' == $edumodo_learndash_single_layout): ?>

			<?php do_action('edumodo-learndash-header-title-breadcrumb'); ?>

		<?php get_template_part( 'template-parts/learndash', 'single1'); ?>

		<?php else: ?>

			<?php get_template_part('template-parts/learndash', 'single2');?>

		<?php endif;?>

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

<?php
get_footer();
