Hello @mpearson65
To hide the course complete button untill the course is completed. please check this code and add this in your child theme function.php file or main theme function.php file. Code Example
https://gist.github.com/shohel/5c29b81ab55580b5f009598c0ee08c8b
For overriding templates please follow this guideline https://docs.themeum.com/tutor-lms/developers/override-templates/
Thank you
Best Regards
Thanks – but I’m getting a page not found error when I click on that Github code. Is it made public?
Hello there @mpearson65
Please go to appearance > customization > additional css option and
paste this code
button.course-complete-button {
display: none;
}
It will hide the complete course button for now. I am sorry for the github link error. This css code will help you hiding it.
Thank you
Best Regards
Please let me know when you have the code so I can fix it. thanks
Hello @mpearson65,
If you enable “Strict Mode” from tutor settings > course then students will be forced to attend all lessons, quizzes and assignments before they can mark a course complete.
Students can complete courses anytime in the Flexible mode. In the Strict mode, students have to complete, pass all the lessons, assignments and quizzes (if any) to mark a course as complete.