Course template naming convention
-
I finally got a template override working when I realized my custom template was named parent-course.php, but the original template name was parent_course.php.
I noticed on your course templates documentation that some templates use hyphens and some underscores:
complete-lesson-link.php
featured-image.php
lesson-navigation.php
lesson_length.php
parent_course.php
purchase-link.phpIt might be helpful to standardize these using either hyphens or underscores (but not both) in a future release, even if that temporarily breaks some customizations.
In the meantime I’ll try to pay a little more attention to the actual file names!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Course template naming convention’ is closed to new replies.