A WordPress plugin that extends Data Machine to publish interactive quizzes with Schema.org structured data.
- Interactive quiz Gutenberg block with Schema.org Quiz markup
- WordPress Quiz Publish Handler for automated quiz creation
- Frontend interactivity using WordPress Interactivity API
- Comprehensive quiz data structure with questions, answers, and explanations
- SEO-optimized with rich snippets support
- WordPress 6.2+
- PHP 8.2+
- Data Machine plugin
- Install and activate the Data Machine plugin
- Upload the
data-machine-quizfolder to/wp-content/plugins/ - Activate the plugin through the WordPress admin
- Run
composer installin the plugin directory - Run
npm install && npm run buildfor the block assets
- Create a new post/page
- Add the "Quiz Schema" block
- Configure quiz settings and questions in the block editor
- Publish the post
Use the "WordPress Quiz Publish" handler in Data Machine to automatically generate quiz posts from AI-generated content.
composer install
npm installnpm run build # Production build
npm run start # Development watch modecomposer run lint # PHP linting
composer run lint:fix # PHP auto-fix
npm run lint:js # JS linting
npm run lint:css # CSS lintingGPL-2.0-or-later
Chris Huber - https://chubes.net