Skip to content

How to override LearnPress templates

Pierre Rudloff edited this page May 24, 2018 · 3 revisions

How to override templates of LearnPress

The template files of LearnPress are contained inside of folder /templates, here you can find all the LearnPress markup pages for Archive Courses, Single Course, Quiz, etc. If these files are opened, you will notice they all contain a lot of hooks which will allow you to add more content without having to edit the template files themselves.

In order to override LearnPress templates, just copy the folder /template from LearnPress directory to your theme directory, then rename that folder to learnpress. After that, you can safely edit all the file in learnpress folder and be free from worring that LearnPress can affect your theme when being upgraded.