The free Lifter LMS plugin lets you create and sell courses on your WordPress site. It allows you, among other things, to create pages for your lessons and courses using the plain WordPress editor box. But wouldn’t it be great if you could use the Divi Builder to edit your Lifter LMS lessons and courses? Of course!
Enabling the Divi Builder on Lifter LMS lessons
I’ve previously written about how you can enable the Divi Builder on custom post types. There are some requirements for this to work, namely that the custom post type supports the standard WordPress editor box, which fortunately applies in this case. So the method described in that post will work on Lifter LMS lesson pages.
My Divi Booster plugin includes an option to enable the Divi Builder on custom post types, including Lifter LMS lesson pages, without the need to mess around with code.
You will find the option in Divi Booster, under “Divi Builder > Standard Builder > Enable Divi Builder on Custom Post Types”.
Enabling the Divi Builder on Lifter LMS courses
Unfortunately, the method described in that post won’t work on Lifter LMS course pages. While I won’t go overly deep into the details, it’s due to the non-standard way in which they use the WordPress editor box.
Fortunately, it’s possible to work around this. The following PHP code will make the necessary changes to enable to the Divi Builder to be used on Lifter LMS course pages:
Related Post: Adding PHP code to the Divi Theme
I’ve updated Divi Booster’s “Enable Divi Builder on Custom Post Types” option mentioned above, so that as of v2.3.5, it will include this code and make the Divi Builder available on Lifter LMS course pages.
The result (once you click the “Use The Divi Builder” button), will be that you can edit the course’s “Enrolled Student Description” using the Divi Builder, like so:
Note that it doesn’t enable you to use Divi Builder on the “Non-Enrolled Student Description” box. I don’t have a solution for this at the moment, but if you want to show the same Divi Builder generated course description to both enrolled and non-enrolled students, then you can leave this blank and the page layout you create for the Enrolled Student Description will be shown to both.