Trends

How to change the name of the start quiz button on a single quiz? | LearnDash Quiz Example


LearnDash Quizzes


Do you want to change name of the start quiz button label on a single quiz in LearnDash? 

You can change many of the quiz labels, including the "start quiz" button label, by overriding a template file in your theme. Here is the guide for you.

Step 1 : Copy the learndash_quiz_messages.php file from /plugins/sfwd-lms/templates/.

Step 2 : Paste it into your child theme in a /learndash/ folder. 

/themes/child-theme/learndash/

Step 3 : Then look for "quiz_start_button_label"

Step 4 : Change the code so that it looks like this:

case 'quiz_start_button_label':

$message = 'Begin Quiz';

break;

Change "Begin Quiz" to say whatever you'd like. That's it. 

You have successfully updated the START QUIZ button label.




No comments