Skip to content

Instantly share code, notes, and snippets.

@nayeemch
Created June 12, 2020 13:10
Show Gist options
  • Save nayeemch/1da4edeba7083ce7df155fc81c8c5fe3 to your computer and use it in GitHub Desktop.
Save nayeemch/1da4edeba7083ce7df155fc81c8c5fe3 to your computer and use it in GitHub Desktop.
Right sidebar to left in single course view
<?php
/**
* Template for displaying single course
*
* @since v.1.0.0
*
* @author Themeum
* @url https://themeum.com
*
* @package TutorLMS/Templates
* @version 1.4.3
*/
get_header();
?>
<?php do_action('tutor_course/single/before/wrap'); ?>
<div <?php tutor_post_class('tutor-full-width-course-top tutor-course-top-info tutor-page-wrap'); ?>>
<div class="tutor-container">
<div class="tutor-row">
<div class="tutor-col-4">
<div class="tutor-single-course-sidebar">
<?php do_action('tutor_course/single/before/sidebar'); ?>
<?php tutor_course_enroll_box(); ?>
<?php tutor_course_requirements_html(); ?>
<?php tutor_course_tags_html(); ?>
<?php tutor_course_target_audience_html(); ?>
<?php do_action('tutor_course/single/after/sidebar'); ?>
</div>
</div>
<div class="tutor-col-8 tutor-col-md-100">
<?php do_action('tutor_course/single/before/inner-wrap'); ?>
<?php tutor_course_lead_info(); ?>
<?php tutor_course_content(); ?>
<?php tutor_course_benefits_html(); ?>
<?php tutor_course_topics(); ?>
<?php tutor_course_instructors_html(); ?>
<?php tutor_course_target_reviews_html(); ?>
<?php do_action('tutor_course/single/after/inner-wrap'); ?>
</div> <!-- .tutor-col-8 -->
</div>
</div>
</div>
<?php do_action('tutor_course/single/after/wrap'); ?>
<?php
get_footer();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment