The Duplicate Pages & Posts module is part of the Pro Suite of modules for the Uncanny LearnDash Toolkit. It is used to easily clone pages and posts as well as LearnDash courses, lessons, topics, quizzes, quiz questions (LD 2.6+), certificates, and groups. The duplicate LearnDash post will inherit any associated meta, settings, categories, tags, and custom taxonomies from the original.
In module settings, you’ll see a list of all registered post types on your site. Duplication can be enabled for any post type; however, note that duplication may not work correctly for some post types that contain custom data or links to other posts. We strongly recommend thorough testing of any duplicated custom post type prior to using it in a live environment.
When cloning a course with Shared Course Steps disabled, the cloned course will be empty, with no lessons, topics or quizzes.
When cloning a course with Shared Course Steps enabled, the cloned course will contain the same lessons, topics and quizzes as the original, and changing any of the objects in one will change them in the other.
Important Note: After enabling Shared Course Steps, when cloning a course that was created with Shared Course Steps disabled, the course structure must be modified and resaved before cloning to ensure that the steps are cloned.
Cloning LearnDash Quizzes
Where it really stands out is its ability to clone quizzes—including quiz questions. Most other duplication plugins will create significant problems when cloning quizzes.
In LearnDash prior to version 2.6, cloned quizzes will contain a set of questions completely separate from the original quiz.
In LearnDash 2.6+, there are two quiz duplication modes:
- If the LearnDash setting Quiz Options > Shared Quiz Steps is disabled, the duplicated quiz will contain an independent copy of the original questions, and changing them in one quiz will not affect them in the other.
- If the LearnDash setting Quiz Options > Shared Quiz Steps is enabled, the duplicated quiz will contain the same questions as the original, and changing them in one quiz will also change them in the other.
Note: Due to the way quiz question associations work, when cloning a quiz question, the clone appears in the same quiz as the original question.
Duplication can be performed from the administrator list of courses, lessons, topics, quizzes and certificates, or it can be done from the Edit view of those post types.
Please note that cloning courses, lessons and topics duplicates that item only, not its children (i.e. duplicating a lesson will not duplicate associated topics and quizzes).