Skip to content

Instantly share code, notes, and snippets.

View marcpeterson's full-sized avatar

Marc Peterson marcpeterson

View GitHub Profile
@marcpeterson
marcpeterson / README.md
Last active July 24, 2019 03:43 — forked from diogenesjup/feedback.php
Improve Sensei Feedback

Dynamic Feedback for Sensei Multiple-Choice

This gist can partially implement a feature sorely needed in Sensei: The ability to indicate correct and incorrect answers, and a way to show feedback for both.

This has been a requested feature for years: http://ideas.woocommerce.com/forums/191508-sensei/suggestions/3582122-show-wrong-answers

How it Works

By adding some HTML to the feedback, and using this gist, you can show different text when an answer is correct, or incorrect.