How to Add Downloadable Materials to Lessons
Adding downloadable materials to lessons in MemberPress Course Add-on is easy. You just need to install MemberPress Downloads Add-on and use their shortcode. Here's how:
Go to the MemberPress → Add-ons page and make sure that you have installed Courses and Downloads Add-ons.
Head to the MP Downloads → Files page and click the "Add New" button. In the new window add title and upload file that you want to provide as downloadable material.
You can either create a category or tag to group multiple files and display them in a lesson.
If you want to use a category, click "Add New Category" link in the sidebar, enter the category name in the field and click "Add New Category" button.
To add tag, enter tag name in the field under "File Tags" box and click "Add" button.
Click "Publish" button to save your changes.
Repeat the step above to add multiple files.
Head to MemberPress → Courses → your Course → Curriculum tab and click the "Edit" icon next to the lesson where you want to add downloadable materials.
In the lesson page that you'll see, insert this shortcode [mpdl-file-links category="pdf"] to display all files with pdf category or [mpdl-file-links tag="pdf"] shortcode to display all files with pdf tag
When you publish the lesson you should get this result:
If you want to learn more about MemberPress Downloads Add-on and their shortcodes, please review this article: https://docs.memberpress.com/article/243-mp-downloads-add-on