- You must have the latest version of LearnDash installed. We don’t recommend trying to import/export from previous versions of LearnDash.
- You must also have a backup. While a backup is not required like anything that involves data, you should ensure you have a full backup so you can revert should the worst happen.
How to Export Courses & Content From LearnDash #
Providing you already have the plugin installed go to your wp-admin > LearnDash LMS > Import Export.
That’ll open up the main Import Export Screen.
Toggle to Export.
LearnDash Export Data Types #
There are two data types you can use, either XML or JSON. Both work as well as each other and it doesn’t matter which one you use. We supplied this option for developers who may want to manipulate the data further before importing.
LearnDash Chunking #
The Max Chunk size may seem like an odd option at first but in essence, it allows for smaller files as part of the import to prevent timeouts on slow servers.
A higher chunk size equals a faster import but on slower servers or shared hosting then you’ll want to lower the chunk size to ensure the import completes.
LearnDash Export Post Types #
You can select to export courses, as well as associated content only.
As part of the import, export plugin it’s possible that you can export specific post types only from LearnDash for example courses, lessons, topics, quiz. You don’t have to export entire courses if you don’t want to.
If you select “Course”, you’ll be presented with an option to select either All Courses or Select Courses.
Exporting All Courses #
Clicking All Courses will allow you to select specific associated content you wish to export.
Exporting Select Courses #
Clicking “Select Courses” will show the option to select specific courses.
Video Walkthrough of Exporting Select LearnDash Courses #
Exporting Your LearnDash Content #
Once you’re happy with your selections click on “Export” and then you’ll see a zip file to download.
Note: For the zip archive to generate, ZipArchive must be enabled on your server as a PHP module. While most hosts have this enabled some do not. That’s why we save the folder so you can retrieve it later.
If the zip file doesn’t generate you will need to access your server (usually by FTP) to retrieve the exported file which is always at this location:
Cleaning up Exported Content #
There’s an option to clean up the exported content on the page. Clicking this button will remove all exported files from the Honors WP exported folder on your server.