Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/serenichron/learndash-quiz-question-associator/archive/refs/heads/master.zipA WordPress plugin that simplifies the process of associating existing LearnDash questions with quizzes through CSV upload.
Description
This plugin adds a new tool to your LearnDash LMS installation that allows you to bulk associate questions with quizzes using a simple CSV file. It's particularly useful when you need to reorganize or reassign multiple questions across different quizzes.
Features
- Simple CSV upload interface
- Bulk association of questions to quizzes
- Validation of all quiz and question IDs
- Proper handling of all LearnDash relationships and metadata
- Clear success/error reporting
- Maintains all existing LearnDash data structures
Installation
- Download the plugin files
- Create a new folder 'learndash-quiz-question-associator' in your
/wp-content/plugins/directory - Upload the plugin files to this folder
- Activate the plugin through the 'Plugins' menu in WordPress
- Look for 'Quiz Question Associator' under the LearnDash LMS menu
Usage
- Navigate to LearnDash LMS > Quiz Question Associator in your WordPress admin
- Prepare a CSV file with one Quiz ID and one Question ID per row:
- First column: Quiz ID
- Second column: Question ID to be associated with the quiz
- Upload your CSV file
- Click "Process CSV"
- Review the results
CSV Format Example
1306846,1306847
1306849,1306850
1307452,1307453
Each row represents one quiz-question association.
Debug Mode
When WP_DEBUG is enabled in wp-config.php, the plugin provides detailed information about:
- CSV processing
- Post verification
- Metadata updates
- Database operations
Debug information appears in:
- WordPress debug log file
- UI (when WP_DEBUG is enabled)
Requirements
- WordPress 5.0 or higher
- LearnDash LMS 3.0 or higher
- PHP 7.2 or higher
- WP_DEBUG enabled (optional, for detailed logging)
Support
For support or feature requests, please contact vlad@serenichron.com
Developer
Developed by Vlad Tudorie at Serenichron.
License
This plugin is licensed under the GPL v2 or later.
Copyright (C) 2024 Serenichron
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.