Show explanation based on user answer is correct or not

In wplms 3.4 we have added two shortcodes that you can use to show the explanation content of question based on user answer is correct or not .
Add the shortcodes like this in your question explanation settings :

shortcode has two parameters :
ques_id : it should be the id of the question in which you are adding explanation.
quiz_id :  it should be the id of the quiz in which question is added  .
Both these params are required to make that shortcode work .

if user’s answer is correct then content from will show otherwise content from  will show .

PS : You can use shortcodes also inside the shortcode like this :

Leave a Reply

Your email address will not be published. Required fields are marked *