dashboard
7 years ago
email
7 years ago
global
7 years ago
loop
7 years ago
profile
7 years ago
single
7 years ago
archive-course.php
7 years ago
course-none.php
7 years ago
login.php
7 years ago
single-course-enrolled-announcements.php
7 years ago
single-course-enrolled-overview.php
7 years ago
single-course-enrolled-questions.php
7 years ago
single-course-enrolled.php
7 years ago
single-course.php
7 years ago
single-lesson.php
7 years ago
single-preview-lesson.php
7 years ago
single-quiz.php
7 years ago
student-public-profile.php
7 years ago
single-quiz.php
36 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Template for displaying single quiz |
| 4 | * |
| 5 | * @since v.1.0.0 |
| 6 | * |
| 7 | * @author Themeum |
| 8 | * @url https://themeum.com |
| 9 | */ |
| 10 | |
| 11 | get_header(); |
| 12 | |
| 13 | $course = tutor_utils()->get_course_by_quiz(get_the_ID()); |
| 14 | ?> |
| 15 | |
| 16 | <?php do_action('tutor_quiz/single/before/wrap'); ?> |
| 17 | |
| 18 | <div <?php tutor_post_class('tutor-page-wrap'); ?>> |
| 19 | <div class="tutor-quiz-single-wrap tutor-container"> |
| 20 | <input type="hidden" name="tutor_quiz_id" id="tutor_quiz_id" value="<?php the_ID(); ?>"> |
| 21 | |
| 22 | <?php |
| 23 | if ($course){ |
| 24 | tutor_single_quiz_top(); |
| 25 | tutor_single_quiz_body(); |
| 26 | }else{ |
| 27 | tutor_single_quiz_no_course_belongs(); |
| 28 | } |
| 29 | ?> |
| 30 | |
| 31 | </div> |
| 32 | </div><!-- .wrap --> |
| 33 | |
| 34 | <?php do_action('tutor_quiz/single/after/wrap'); |
| 35 | |
| 36 | get_footer(); |