Problem:
After adding a course in TutorLMS editor (TutorLMS > Courses), the course is not inheriting the appropriate template on the frontend. In fact, it is not inheriting any available template at all.
Steps to reproduce the issue:
On the image below you can see that I created a template named “Course: Single” which is containing only a section with a heading and another section with a post content element.
This template is supposed to be inherited by a single course page on the front end. But it is not happening.
To demonstrate this, you can see on the image below what previewing a single course (created in TutorLMS) on the frontend looks like. Even though I assigned a template “Course: Single” for the course page in the gutenberg editor, it is not inheriting the template.
Funny thing is that in the WP Admin toolbar, we can see that in fact it is trying to call for assigned template (Template: course-single), but it is not happening.
Environment info:
- WordPress version: 5.9.3
- Gutenberg Plugin version: None. Gutenberg was not installed.
- Cwicly Plugin version: 1.1.4
- Cwicly Theme version: 1.0.3