/
content.php
66 lines (59 loc) · 1.49 KB
/
content.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?php
/**
* The Template for displaying all single courses.
*
* @package LifterLMS/Templates
*
* @since 1.0.0
* @version 3.14.0
*/
defined( 'ABSPATH' ) || exit;
?>
<li <?php post_class( 'llms-loop-item' ); ?>>
<div class="llms-loop-item-content">
<?php
/**
* Hook: lifterlms_before_loop_item
*
* @hooked lifterlms_loop_featured_video - 8
* @hooked lifterlms_loop_link_start - 10
*/
do_action( 'lifterlms_before_loop_item' );
?>
<?php
/**
* Hook: lifterlms_before_loop_item_title
*
* @hooked lifterlms_template_loop_thumbnail - 10
* @hooked lifterlms_template_loop_progress - 15
*/
do_action( 'lifterlms_before_loop_item_title' );
?>
<h4 class="llms-loop-title"><?php the_title(); ?></h4>
<footer class="llms-loop-item-footer">
<?php
/**
* Hook: lifterlms_after_loop_item_title
*
* @hooked lifterlms_template_loop_author - 10
* @hooked lifterlms_template_loop_length - 15
* @hooked lifterlms_template_loop_difficulty - 20
* @hooked lifterlms_template_loop_lesson_count - 22
*
* On Student Dashboard & "Mine" Courses Shortcode
* @hooked lifterlms_template_loop_enroll_status - 25
* @hooked lifterlms_template_loop_enroll_date - 30
*/
do_action( 'lifterlms_after_loop_item_title' );
?>
</footer>
<?php
/**
* Hook: lifterlms_after_loop_item
*
* @hooked lifterlms_loop_link_end - 5
*/
do_action( 'lifterlms_after_loop_item' );
?>
</div><!-- .llms-loop-item-content -->
</li><!-- .llms-loop-item -->