<?php
/**
 * Template for displaying course content within the loop.
 *
 * This template can be overridden by copying it to yourtheme/learnpress/content-single-course.php
 *
 * @author  ThimPress
 * @package LearnPress/Templates
 * @version 3.0.0
 */

/**
 * Prevent loading this file directly
 */
defined( 'ABSPATH' ) || exit();

$edumodo_lp_course_related_course = edumodo_get_theme_mod('edumodo_single_lp_course_related_course', 'on');

/**
 * @deprecated
 */
do_action( 'learn_press_before_main_content' );
do_action( 'learn_press_before_single_course' );
do_action( 'learn_press_before_single_course_summary' ); ?>
<!-- This header section only for learnpress single page 3 style   -->

	<div class="row">
		<div class="lpcourse-course-wapper-3">
				<div class="lpcourse-main">
					
					<div class="col-md-4 visible-xs visible-sm"> 
						<div class="lpcourse-sidebar">
							<?php if (function_exists('edumodo_lp_course_sidebar_3')) : ?>		
								<?php edumodo_lp_course_sidebar_3(); ?>
							<?php endif; ?>
						</div>
					</div>

					<div class="col-md-8"> 
						<?php
						/**
						 * @since 3.0.0
						 */
						//do_action( 'learn-press/before-main-content' );

						do_action( 'learn-press/before-single-course' );

						?>
						<div id="learn-press-course" class="course-summary lp-three">
							<?php
							/**
							 * @since 3.0.0
							 *
							 * @see learn_press_single_course_summary()
							 */
							do_action( 'learn-press/single-course-summary' );
							?>
						</div>

						<?php
							/**
							 * @since 3.0.0
							 */
							//do_action( 'learn-press/after-main-content' );

							//do_action( 'learn-press/after-single-course' ); 
						?>
						<div class="lp-related-course hidden-xs hidden-sm">
							<?php if ('on' == $edumodo_lp_course_related_course): ?>	
								<?php if (function_exists('edumodo_related_courses_grid')) : ?>		
									<?php edumodo_related_courses_grid(); ?>
								<?php endif; ?>
							<?php endif; ?>
						</div>
					</div>

					<div class="col-md-4 hidden-xs hidden-sm"> 
						<div class="lpcourse-sidebar">
							<?php if (function_exists('edumodo_lp_course_sidebar_3')) : ?>		
								<?php edumodo_lp_course_sidebar_3(); ?>
							<?php endif; ?>
						</div>
					</div>
					<div class="col-md-8"> 
						<div class="lp-related-course visible-xs visible-sm">
							<?php if ('on' == $edumodo_lp_course_related_course): ?>			
								<?php if (function_exists('edumodo_related_courses_grid')) : ?>		
									<?php edumodo_related_courses_grid(); ?>
								<?php endif; ?>
							<?php endif; ?>
						</div>
					</div>
				</div>
		</div>
	</div>



<?php
/**
 * @deprecated
 */
do_action( 'learn_press_after_single_course_summary' );
do_action( 'learn_press_after_single_course' );
do_action( 'learn_press_after_main_content' );