{"id":4479,"date":"2024-06-26T15:57:31","date_gmt":"2024-06-26T11:57:31","guid":{"rendered":"https:\/\/quiz-plugin.com\/?post_type=docs&#038;p=4479"},"modified":"2025-10-21T17:07:25","modified_gmt":"2025-10-21T13:07:25","password":"","slug":"message-variables","status":"publish","type":"docs","link":"https:\/\/quiz-plugin.com\/docs\/message-variables\/","title":{"rendered":"Message Variables"},"content":{"rendered":"\n<p>To make your quiz more informative and efficient, you can use <strong>message variables<\/strong> that help you show some data on the front end. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to use message variables<\/h2>\n\n\n\n<p>To use the message variables, go to <strong>General Settings &gt; Message variables<\/strong>, then <em>copy<\/em> and <em>paste<\/em> your preferred message variable into the corresponding text.<\/p>\n\n\n\n<p>Put the <strong>particular message variable<\/strong> in the <strong>editor<\/strong> of your chosen field, and the corresponding text will be displayed on the front end.<\/p>\n\n\n\n<p>For example, let&#8217;s take one of the <em>message variables<\/em> &#8211; <strong>user name<\/strong>. Copy and paste it into the &#8220;<em>send email to user<\/em>&#8221; field. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/copy-message-variable-scaled.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/copy-message-variable-1024x493.webp\" alt=\"Copy Message Variables WordPress Quiz\" class=\"wp-image-6098\" width=\"768\" height=\"370\" srcset=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/copy-message-variable-1024x493.webp 1024w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/copy-message-variable-300x145.webp 300w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/copy-message-variable-768x370.webp 768w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/copy-message-variable-1536x740.webp 1536w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/copy-message-variable-2048x987.webp 2048w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/copy-message-variable-125x60.webp 125w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/figure>\n\n\n\n<p>Put it in the <em>editor<\/em> where you want the name of the user to be displayed. Then click on the <strong>Save<\/strong> button.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/use-message-variable-scaled.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/use-message-variable-1024x489.webp\" alt=\"Use Message Variables Editor WordPress Quiz\" class=\"wp-image-6099\" width=\"768\" height=\"367\" srcset=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/use-message-variable-1024x489.webp 1024w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/use-message-variable-300x143.webp 300w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/use-message-variable-768x367.webp 768w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/use-message-variable-1536x734.webp 1536w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/use-message-variable-2048x979.webp 2048w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/use-message-variable-126x60.webp 126w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/figure>\n\n\n\n<p>If you haven&#8217;t published it yet, then <a href=\"https:\/\/quiz-plugin.com\/docs\/publish-quiz\/\">publish your quiz<\/a>.<\/p>\n\n\n\n<p>After the user fills in his or her <em>email<\/em> and <em>name<\/em> (<em>Kate<\/em> in this example) in the <strong>Information Form<\/strong>, he or she will get if the <em>&#8220;Send email to user&#8221;<\/em> option is enabled. Here is what it will look like.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/message-variable-result.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/message-variable-result-1024x314.webp\" alt=\"Email Message Example With WordPress Quiz\" class=\"wp-image-6100\" width=\"768\" height=\"236\" srcset=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/message-variable-result-1024x314.webp 1024w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/message-variable-result-300x92.webp 300w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/message-variable-result-768x236.webp 768w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/message-variable-result-196x60.webp 196w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/message-variable-result.webp 1076w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">Where to use message variables<\/h2>\n\n\n\n<p>Those variables can be used in the following texts: <\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><em>Result message<\/em><\/li><li><em>Quiz pass message<\/em><\/li><li><em>Quiz fail message<\/em><\/li><li><em>Mail Message<\/em><\/li><li><em>Certificate title<\/em><\/li><li><em>Certificate body<\/em><\/li><li><em>Interval message<\/em><\/li><li><em>Email configuration<\/em><\/li><\/ol>\n\n\n\n<p>For example, here is the <strong>Quiz fail message <\/strong>field. To find it, go to <strong>Quizzes Page &gt; particular quiz &gt; <em>Results Tab<\/em><\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/edit-quiz-scaled.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/edit-quiz-1024x366.webp\" alt=\"Edit Page Of Particular Quiz WordPress\" class=\"wp-image-6086\" width=\"768\" height=\"275\" srcset=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/edit-quiz-1024x366.webp 1024w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/edit-quiz-300x107.webp 300w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/edit-quiz-768x274.webp 768w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/edit-quiz-1536x549.webp 1536w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/edit-quiz-2048x732.webp 2048w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/edit-quiz-168x60.webp 168w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/figure>\n\n\n\n<p>You can also find the <strong>list of message variables<\/strong>&nbsp;at the top of the particular field. Insert the chosen message variable into the text by clicking on it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/quiz-pass-message-field.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/quiz-pass-message-field-1024x483.webp\" alt=\"Quiz Pass Message Field Editor WordPress Quiz\" class=\"wp-image-6087\" width=\"768\" height=\"362\" srcset=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/quiz-pass-message-field-1024x483.webp 1024w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/quiz-pass-message-field-300x142.webp 300w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/quiz-pass-message-field-768x363.webp 768w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/quiz-pass-message-field-1536x725.webp 1536w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/quiz-pass-message-field-2048x967.webp 2048w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/quiz-pass-message-field-127x60.webp 127w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/message-variables-2.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/message-variables-2-1024x613.webp\" alt=\"Message Variables In Editor WordPress Quiz\" class=\"wp-image-6088\" width=\"768\" height=\"460\" srcset=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/message-variables-2-1024x613.webp 1024w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/message-variables-2-300x180.webp 300w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/message-variables-2-768x460.webp 768w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/message-variables-2-100x60.webp 100w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/message-variables-2.webp 1266w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Descriptions of message variables <\/h2>\n\n\n\n<p>Let&#8217;s see what each of the variables is for.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">General Message Variables<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>%%current_date%% &#8211; This variable shows <strong>the date of passing the quiz <\/strong>on the front end.<\/li><li>%%home_page_url%% &#8211; This variable will display the quiz&#8217;s <strong>home page URL<\/strong> on the front end. <\/li><li>%%admin_email%% &#8211; Put this variable in the text, and the<strong> email <\/strong>of the user with the admin role will be shown on the front end. You can see the <strong>admin email<\/strong> on the WP&#8217;s <em>Settings page<\/em>.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/settings-page-1.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/settings-page-1-1024x790.webp\" alt=\"Settings Page Admin Email WordPress Quiz\" class=\"wp-image-6097\" width=\"768\" height=\"593\" srcset=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/settings-page-1-1024x790.webp 1024w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/settings-page-1-300x231.webp 300w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/settings-page-1-768x592.webp 768w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/settings-page-1-1536x1185.webp 1536w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/settings-page-1-78x60.webp 78w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/settings-page-1.webp 1610w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">User Message Variables<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>%%user_name%% &#8211; This variable will take the <strong>name of the user<\/strong> from the <strong>Information Form<\/strong> of the quiz and display it on the front page in the text where you have inputted the variable. For this variable to work, you first need to <a href=\"https:\/\/quiz-plugin.com\/docs\/quiz-user-data-settings\/\">create an Information Form for your quiz from the User Data tab<\/a> of the particular quiz. The user needs to fill in the <strong>User Name<\/strong> field for this variable to work. You can make that field <strong>required<\/strong> to surely get the data.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/name-field-wordpress-profile.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/name-field-wordpress-profile-1024x402.webp\" alt=\"User Name Information WordPress Account\" class=\"wp-image-6110\" width=\"768\" height=\"302\" srcset=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/name-field-wordpress-profile-1024x402.webp 1024w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/name-field-wordpress-profile-300x118.webp 300w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/name-field-wordpress-profile-768x302.webp 768w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/name-field-wordpress-profile-153x60.webp 153w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/name-field-wordpress-profile.webp 1360w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>%%user_email%% &#8211; For this variable to work, you again need to have an <strong>Information Form<\/strong> created from the <em>User Data tab<\/em>. When you put it in the editor, the <strong>email address<\/strong> that the user has written in the <em>Information Form<\/em> will be shown on the front end. Make the corresponding field in the <em>Information Form <\/em><strong>required<\/strong> to make sure you get the user&#8217;s email.<\/li><li>%%user_phone%% &#8211; Put this variable into the editor. The <strong>phone number<\/strong> filled in in the <em>Information Form<\/em> will be displayed on the front end. Make the <strong>Phone<\/strong> field <strong>required<\/strong> to make sure you get the needed data.<\/li><li>%%user_first_name%% &#8211; This variable takes the data that the user has given <em>during the registration of their WordPress Site<\/em>. It will show the <strong>first name <\/strong>of the user on the front end.<\/li><li>%%user_last_name%% &#8211; This variable takes the user&#8217;s <strong>last name,&nbsp;<\/strong>which was filled in during the registration <em>of their WordPress Site<\/em>. It will show the<strong> last name<\/strong> on the front end.<\/li><li>%%user_nickname%% &#8211; Put this variable into the editor, and it will show the <strong>nickname<\/strong> filled in in the user&#8217;s <em>WordPress profile <\/em>on the front end.<\/li><li>%%user_display_name%% &#8211; Put this variable into the editor, and the <strong>display name<\/strong> that is written in the user&#8217;s <em>WordPress profile<\/em> will be shown on the front end.<\/li><li>%%user_wordpress_email%% &#8211; When you put this variable into the editor, the <strong>email<\/strong> that the user has filled in their <em>WordPress profile<\/em> will be shown on the front end.<\/li><li>%%user_wordpress_roles%% &#8211; This variable shows the WordPress <strong>role of the logged-in user<\/strong> on the front end. Go to the <strong>Users Menu <\/strong>to find the <strong>user roles<\/strong>. If the user is not logged in, then the user role can&#8217;t be shown, and it will remain empty.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/user-roles-1.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/user-roles-1-1024x511.webp\" alt=\"User Roles WordPress Quiz\" class=\"wp-image-6108\" width=\"768\" height=\"383\" srcset=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/user-roles-1-1024x511.webp 1024w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/user-roles-1-300x150.webp 300w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/user-roles-1-768x383.webp 768w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/user-roles-1-1536x767.webp 1536w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/user-roles-1-2048x1022.webp 2048w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/user-roles-1-120x60.webp 120w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>%%user_wordpress_website%% &#8211; If you put this variable in the editor, it will display (on the front end) the <strong>website<\/strong> that the user has written in their <em>WordPress profile<\/em>.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/contact-information-wordpress-profile.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/contact-information-wordpress-profile-1024x178.webp\" alt=\"User Contact Info WordPress Account\" class=\"wp-image-6212\" width=\"768\" height=\"134\" srcset=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/contact-information-wordpress-profile-1024x178.webp 1024w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/contact-information-wordpress-profile-300x52.webp 300w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/contact-information-wordpress-profile-768x133.webp 768w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/contact-information-wordpress-profile-1536x267.webp 1536w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/contact-information-wordpress-profile-345x60.webp 345w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/contact-information-wordpress-profile.webp 2026w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>%%user_pass_time%% &#8211; This variable will show the <strong>time<\/strong> that the user spent to pass the quiz on the front end.<\/li><li>%%user_pass_time_bar_chart%% &#8211; Put this variable into your editor (except the email fields editor), and on the front end, it will display a chart showing how much <strong>time<\/strong> out of the <strong>timer limit <\/strong>the user has spent to take the quiz. To <strong>put a timer on a quiz<\/strong>, go to the <a href=\"https:\/\/quiz-plugin.com\/docs\/quiz-settings-tab\/\">Settings Tab<\/a> of the particular quiz and tick the <strong>Enable Timer<\/strong> checkbox. To <strong>put a timer on a quiz<\/strong>, go to the Settings Tab of the particular quiz and tick the <strong>Enable Timer<\/strong> checkbox.<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/pass-time-bar-chart-message-variable.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/pass-time-bar-chart-message-variable-1024x380.webp\" alt=\"Pass Time  Message Variable WordPress Quiz\" class=\"wp-image-6111\" width=\"768\" height=\"285\" srcset=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/pass-time-bar-chart-message-variable-1024x380.webp 1024w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/pass-time-bar-chart-message-variable-300x111.webp 300w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/pass-time-bar-chart-message-variable-768x285.webp 768w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/pass-time-bar-chart-message-variable-162x60.webp 162w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/pass-time-bar-chart-message-variable.webp 1158w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/figure><\/div>\n\n\n<ul class=\"wp-block-list\"><li>%%user_corrects_count%% &#8211; This variable will show the number of <strong>correct answers<\/strong> that the user got from the quiz on the front end.<\/li><li>%%user_corrects_count_pie_chart%% &#8211; This variable will display a <strong>pie chart<\/strong> that shows the <strong>number of correct answers<\/strong> the user got on the quiz out of all the questions. <\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/correct-answers-pie-chart.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/correct-answers-pie-chart-1024x641.webp\" alt=\"Correct Answer Count Chart WordPress Quiz\" class=\"wp-image-6112\" width=\"768\" height=\"481\" srcset=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/correct-answers-pie-chart-1024x641.webp 1024w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/correct-answers-pie-chart-300x188.webp 300w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/correct-answers-pie-chart-768x481.webp 768w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/correct-answers-pie-chart-96x60.webp 96w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/correct-answers-pie-chart.webp 1058w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/figure><\/div>\n\n\n<ul class=\"wp-block-list\"><li>%%wrong_answers_count%% &#8211; Put this variable into your editor, and it will show the number of questions of the quiz that the user has answered incorrectly or skipped. <\/li><li>%%only_wrong_answers_count%% &#8211; This variable will display the <strong>number of incorrect answers<\/strong> that the user had on the quiz. The skipped questions will not be counted as incorrect answers.<\/li><li>%%skipped_questions_count%% &#8211; This variable will show the number of quiz questions that the user has <strong>skipped<\/strong>.<\/li><li>%%answered_questions_count%% &#8211; This variable will show the number of questions that the user has answered (regardless of correctness). <\/li><li>%%user_id%% &#8211; If you put this variable into the editor, it will display the <strong>user&#8217;s ID<\/strong> on the front end.<\/li><li>%%current_user_ip%% &#8211; This variable will show the <strong>current user&#8217;s IP address<\/strong> on the front end. The <em>IP address<\/em> doesn&#8217;t depend on the account of the user and is stored even if the user is not logged in. If you tick the&nbsp;<strong>Do not store IP addresses<\/strong>&nbsp;checkbox (<strong>General Settings&gt;General&gt;Users IP addresses<\/strong>), then this variable will not work, and instead, it will be empty on the front end.<\/li><li>%%unique_code%% &#8211; If you put this variable into your editor, a unique code will be displayed to the user on the front end for each quiz attempt (e.g. <em>66E7ED30395A5<\/em>). It changes every time a new attempt is made.<\/li><li>%%download_certificate%% &#8211; Put this variable into the editor, and the users can <strong>download the certificate<\/strong> by clicking on the <strong>button<\/strong> from the front end. <\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/download-your-certificate-variable-1.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/download-your-certificate-variable-1.webp\" alt=\"Download Certificate Button Variable WordPress Quiz\" class=\"wp-image-6117\" width=\"768\" height=\"146\"\/><\/a><\/figure><\/div>\n\n\n<p>This variable will not work if the certificate is not yet available (e.g. on the start page) and will remain empty if an option for generating a certificate is disabled. <strong>To enable<\/strong>, go to the <a href=\"https:\/\/quiz-plugin.com\/docs\/email-certificate-settings\/\">E-Mail and Certificate tab<\/a><strong> <\/strong>of the particular quiz and enable the &#8220;<em>Send certificate to user<\/em>&#8221;&nbsp;or &#8220;<em>Generate certificate without sending to user<\/em>&#8221;&nbsp;option.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Score Message Variables<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>%%score%% &#8211; This variable will show the <strong>user&#8217;s score<\/strong> on the quiz on the front end. <\/li><li>%%score_bar_chart%% &#8211; This variable shows a <strong>bar chart of the user&#8217;s quiz score<\/strong>. It doesn&#8217;t work in the editors of email fields.<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/quiz-score-chart.webp\" alt=\"User Quiz Score Bar Chart \" class=\"wp-image-6123\" width=\"768\" height=\"171\"\/><\/figure><\/div>\n\n\n<ul class=\"wp-block-list\"><li>%%avg_score%% &#8211; If you put this variable into the editor, it will calculate the <strong>average of all the scores <\/strong>got on that particular quiz and display it on the front end.<\/li><li>%%score_by_answered_questions%% &#8211; This variable will deduce the weight of the skipped or unanswered questions and calculate the score without considering those questions. The score will be displayed on the front end.<\/li><li>%%interval_message%% &#8211; This variable displays the <strong>interval message<\/strong> on the front end. The <em>interval message<\/em> is a text for each period of the score the user gets on the quiz that is shown after completing the quiz (on the result page). To add an interval message, go to the <strong>Quizzes Page &gt; particular quiz &gt;  Results Settings <\/strong>and choose intervals in the <strong>Intervals<\/strong> option. Then, write a text for each interval and click on the <strong>Save<\/strong> button.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/interval-message-scaled.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/interval-message-1024x331.webp\" alt=\"Interval Message WordPress Quiz\" class=\"wp-image-6132\" width=\"768\" height=\"248\" srcset=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/interval-message-1024x331.webp 1024w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/interval-message-300x97.webp 300w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/interval-message-768x248.webp 768w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/interval-message-1536x497.webp 1536w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/interval-message-2048x662.webp 2048w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/interval-message-186x60.webp 186w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>%%results_by_cats%% &#8211; This variable shows the <a href=\"https:\/\/youtu.be\/oE0L-MYG9FI?si=nEyCVf76POvC9EhG\"><strong>score<\/strong> on the front end for each question category<\/a> separately. <\/li><li>%%results_by_cats_bar_chart%% &#8211; This variable also displays the <strong style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\">score for each category<\/strong><span style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\">, presented in a <\/span><strong style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\">bar chart<\/strong><span style=\"color: initial; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &quot;Helvetica Neue&quot;, sans-serif;\">. The chart won&#8217;t work for the email fields.<\/span><\/li><li>%%results_by_tags%% &#8211; If you put this variable into the editor, it will show the quiz scores for each <a href=\"https:\/\/quiz-plugin.com\/docs\/question-categories-and-tags\/\">question tag<\/a> separately.<\/li><li>%%results_by_tags_bar_chart%% &#8211; This variable will show a <strong>bar chart<\/strong> on the front end that presents the quiz scores for each <strong>question tag<\/strong>. The chart won&#8217;t work for the email fields.<\/li><li>%%avg_res_by_cats%% &#8211; For this variable to work properly, go to the <strong>Quizzes Page &gt; particular quiz &gt; Results Settings<\/strong>. For the <em>&#8220;Calculate the score&#8221; <\/em>option, choose the <strong>By weight\/points<\/strong> checkbox. The variable will calculate the <strong>average points gotten from the quiz questions for each question category<\/strong> and display the <em>average value<\/em> out of the <em>maximum average value<\/em> of the points for the particular category (e.g. 2.5\/5).  <\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/average-points-by-question-category.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/average-points-by-question-category.webp\" alt=\"Average Points By Question Categories WordPress Quiz\" class=\"wp-image-6156\" width=\"768\" height=\"239\"\/><\/a><\/figure><\/div>\n\n\n<ul class=\"wp-block-list\"><li>%%avg_res_by_cats_bar_chart%% &#8211; This variable will display the average results by categories in percentages and represent them in a <strong>bar chart<\/strong>. The bar chart won&#8217;t work for the email fields.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/average-points-by-question-category-bar-chart.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/average-points-by-question-category-bar-chart-1024x355.webp\" alt=\"Average Points By Question Categories Bar Chart WordPress Quiz\" class=\"wp-image-6157\" width=\"768\" height=\"266\" srcset=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/average-points-by-question-category-bar-chart-1024x355.webp 1024w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/average-points-by-question-category-bar-chart-300x104.webp 300w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/average-points-by-question-category-bar-chart-768x266.webp 768w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/average-points-by-question-category-bar-chart-1536x532.webp 1536w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/average-points-by-question-category-bar-chart-173x60.webp 173w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/average-points-by-question-category-bar-chart.webp 1548w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>%%avg_score_by_category%% &#8211; This variable shows the <strong>average score of each question category<\/strong> of the quiz that the user got.<\/li><li>%%user_points%% &#8211; This variable displays how many <strong>points<\/strong> did the user get on the quiz. In contrast with the &#8216;score&#8217; variable, this one does not calculate the score with a percentage but shows the sum of the <strong>points<\/strong> that are given to each question (from the <a href=\"https:\/\/quiz-plugin.com\/docs\/creating-questions\/#7-toc-title\">Question Weight<\/a> option).<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/question-weight-score-scaled.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/question-weight-score-1024x449.webp\" alt=\"Question Points WordPress Quiz\" class=\"wp-image-6133\" width=\"768\" height=\"337\" srcset=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/question-weight-score-1024x449.webp 1024w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/question-weight-score-300x132.webp 300w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/question-weight-score-768x337.webp 768w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/question-weight-score-1536x674.webp 1536w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/question-weight-score-2048x898.webp 2048w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/question-weight-score-137x60.webp 137w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>%%user_points_bar_chart%% &#8211; This variable shows a <strong>bar chart of the points<\/strong> the user got from the quiz. Please note that the message variable won&#8217;t work for the email fields.<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/points-bar-chart.webp\" alt=\"Quiz Points Bar Chart\" class=\"wp-image-6135\" width=\"768\" height=\"171\"\/><\/figure><\/div>\n\n\n<ul class=\"wp-block-list\"><li>%%max_points%% &#8211; If you put this variable into your editor, it will show the <strong>number of maximum points <\/strong>that the user could get on the front end.<\/li><li>%%keyword_count_{keyword}%% &#8211; With this variable, you can display the number of answers that the user chose with a certain <a href=\"https:\/\/quiz-plugin.com\/docs\/creating-questions\/#3-toc-title\">keyword<\/a>. You can change the <strong>keywords<\/strong> of the answer options for the particular questions. <\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/keyword-question-scaled.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/keyword-question-1024x234.webp\" alt=\"Question Keywords WordPress Quiz\" class=\"wp-image-6137\" width=\"768\" height=\"176\" srcset=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/keyword-question-1024x234.webp 1024w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/keyword-question-300x68.webp 300w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/keyword-question-768x175.webp 768w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/keyword-question-1536x351.webp 1536w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/keyword-question-2048x467.webp 2048w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/keyword-question-263x60.webp 263w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/figure>\n\n\n\n<p><strong>Replace<\/strong> the <em>{keyword}<\/em><strong> <\/strong>part with the keyword letter that you want. For example, let&#8217;s replace it with <em>&#8216;A&#8217;<\/em> (%%keyword_count_A%%). The variable will count how many answers the user chose with an <em>&#8216;A&#8217; keyword<\/em> and display it on the front end.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>%%keyword_percentage_{keyword}%% &#8211; This variable will show the <strong>percentage<\/strong> of your chosen keyword out of the user&#8217;s answers. <strong>Replace<\/strong> <em>{keyword} <\/em>with the preferred keyword. For example, <em>%%keyword_percentage_B%% <\/em>will show what percentage of the user&#8217;s answers were with the <em>keyword &#8216;B.&#8217;<\/em><\/li><li>%%top_keywords_count_{count}%% &#8211; With this variable, you can display the <strong>most selected keywords<\/strong> by the user through the quiz. It will also show how many times each keyword was used. <strong>Replace<\/strong> <em>{count}<\/em> with a <strong>number<\/strong> of the <a href=\"https:\/\/youtu.be\/o-GB91dfsLo?si=ufQgwS3HdmK2qw5-\">top keywords<\/a> you want to show For example, <em>%%top_keywords_count_3%%<\/em> will show the top 3 keywords that the user selected and how many times each was selected.<\/li><li>%%top_keywords_percentage_{count}%% &#8211; This variable shows the <strong>most selected keywords<\/strong> by the user. It also shows <strong>what<\/strong> <strong>percentage<\/strong> forms each keyword out of all answers of the user. <span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\"><strong>Replace<\/strong>&nbsp;<em>{count}<\/em>&nbsp;with the&nbsp;<strong>number<\/strong>&nbsp;of the top keywords you want to show. For instance, &nbsp;<em>%%top_keywords_percentage_3%%&nbsp;<\/em>will show the top 3 keywords that were mostly used during the quiz with their percentage<\/span>. <\/li><li>%%user_keyword_point_{keyword}%% &#8211; This variable will show the <strong>total points<\/strong> of the particular keyword selected by the user (in case of the correct answer.) <strong>Replace<\/strong> <em>{keyword}<\/em> with the particular keyword. Let&#8217;s take the <em>keyword &#8216;A&#8217;<\/em> as an example (<em>%%user_keyword_point_A%%<\/em>.) If the user selects two answers with the keyword &#8216;A,&#8217; which are correct answers, then the total point would be the sum of the points for those answers. You can change the <em>weight\/points <\/em>for each answer from the <em>Edit page <\/em>of the particular question.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/answer-weight-point-scaled.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/answer-weight-point-1024x244.webp\" alt=\"Question Weight Point WordPress Quiz\" class=\"wp-image-6138\" width=\"768\" height=\"183\" srcset=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/answer-weight-point-1024x244.webp 1024w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/answer-weight-point-300x72.webp 300w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/answer-weight-point-768x183.webp 768w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/answer-weight-point-1536x367.webp 1536w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/answer-weight-point-2048x489.webp 2048w, https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/answer-weight-point-251x60.webp 251w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li><span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\">%%max_point_keyword_{keyword}%% &#8211;&nbsp;<strong>Replace<\/strong>&nbsp;the&nbsp;<em>{keyword}<\/em>&nbsp;part with your chosen keyword, and it will show the <strong>points<\/strong> that the user got out of <\/span><strong><span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\">all possible point<\/span>s<\/strong> for that particular keyword. Let&#8217;s consider there are two correct answers with the <em>keyword &#8216;A&#8217;<\/em> in the quiz. Each of them is worth 5 points, and the sum of the two would be 10 points (maximum points for that keyword). If the user has selected only one of those answers, then the variable will show <em>5\/1<\/em>0 as a result. <\/li><li>%%user_keyword_percentage_{keyword}%% &#8211; If you <span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\"><strong>Replace<\/strong>&nbsp;the&nbsp;<em>{keyword}<\/em>&nbsp;part with your chosen keyword, <\/span>then it will display the percentage of <span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\">the <strong>points<\/strong> that the user got out of <\/span><strong><span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\">all possible point<\/span>s<\/strong> for that particular keyword. In the above-mentioned example, the result would be <em>50%<\/em>. <\/li><li>%%avg_user_points%% &#8211; This variable will calculate the <strong>average of the points<\/strong> that the user got each time from taking the quiz.<\/li><li>%%detailed_result_column_chart%% &#8211; Put this variable into the editor, and it will show a column chart on the front end with a <strong>detailed result<\/strong> of the question. The columns represent the number of <em>Correct answers, Wrong answers, Only wrong answers, Skipped questions, <\/em>and<em> Answered questions<\/em>. The column chart won&#8217;t work for the email fields.<\/li><li>%%personality_result_by_question_ids_{CatID_1,CatID_2,CatID_3,CatID_4}%% &#8211; This variable is used to <a href=\"https:\/\/youtu.be\/EXeGbFK4cOE?si=dwbfrxA7S8i9P0DK\">create a personality test<\/a>. It displays the <strong>title<\/strong> and the <strong>description<\/strong> of your chosen <a href=\"https:\/\/quiz-plugin.com\/docs\/question-categories-and-tags\/\">question category(s)<\/a>. Moreover, it shows the percentage by which the user matches the particular <em>Question Category(s) Keyword<\/em> according to the keywords of the answers chosen by the user. For that, <strong>replace<\/strong> {CatID_1,CatID_2,CatID_3,CatID_4} with the <em>ID(s)<\/em> of your preferred <em>question category\/categories<\/em> (e.g. %%personality_result_by_question_ids_3, 6%%.)<\/li><li>%%question_category_name_{question_cat_ID}%% &#8211; This variable shows the <strong>name of the question category<\/strong> on the front end. For that, <strong>replace<\/strong> <em>{question_cat_ID}<\/em> with the <em>ID<\/em> of your chosen question category. Go to the <strong>Question Categories<\/strong> page to find the <em>ID<\/em> of the particular question category (e.g. %%question_category_name_5%%.) <\/li><li>%%user_points_by_question_category_{question_cat_ID}%% &#8211; This variable shows the <strong>points<\/strong> that the user got for answering the questions of a <em>particular question category <\/em>in the quiz. <strong>Replace<\/strong> <em>{question_cat_ID}<\/em> with the chosen question category <em>ID<\/em> (e.g. %%user_points_by_question_category_5%%.)  You can find it on the <strong>Question Categories <\/strong>page. If there are no questions from the given question category, the variable will not work.<\/li><li>%%user_max_point_by_question_category_{question_cat_ID}%% &#8211; This variable will display the <strong>most points<\/strong> that are possible for the user to get by answering the questions of a <em>particular question category<\/em>.  <strong>Replace<\/strong> <em>{question_cat_ID}<\/em> with your preferred question category <em>ID<\/em> (e.g. %%user_max_point_by_question_category_5%%.)  To find it, go to the <strong>Question Categories <\/strong>page.<\/li><li>%%question_category_displayed_questions_count_{question_cat_ID}%% &#8211; This variable shows the <strong>number of questions<\/strong> from a <em>particular question category<\/em> that were presented in the quiz. <strong>Replace<\/strong> <em>{question_cat_ID}<\/em> with the chosen question category <em>ID<\/em>. (e.g. %%question_category_displayed_questions_count_5%%.) <\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Quiz Message Variables<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>%%quiz_name%% &#8211; This variable displays the <strong>name of the quiz<\/strong> on the front end. To change the name of the edit, go to the <strong>Quizzes Tab &gt; particular quiz &gt; General Tab<\/strong>.<\/li><li>%%quiz_id%% &#8211; Put this variable into the editor to display the <strong>ID of the quiz<\/strong> on the front end.<\/li><li>%%avg_rate%% &#8211; This variable shows the average evaluation of the quiz from its creation date.<\/li><li>%%avg_rate_stars_with_icons%% &#8211; This variable shows the average quiz evaluation rate with star icons from the quiz&#8217;s creation date. The star icons won&#8217;t work for the email fields.<\/li><li>%%quiz_time%% &#8211; This variable shows the <strong>time limit<\/strong> for completing the quiz. To turn on the timer, go to the <a href=\"https:\/\/quiz-plugin.com\/docs\/quiz-settings-tab\/\">Settings Tab<\/a> of the particular quiz and tick the <strong>Enable Timer<\/strong> option.<\/li><li>%%questions_count%% &#8211; This variable displays the <a href=\"https:\/\/www.youtube.com\/watch?v=ok6f59iV_R0\"><strong>number of questions<\/strong> <\/a>included in the quiz.<\/li><li>%%quiz_creation_date%% &#8211; Put this variable into the editor to display the <strong>date<\/strong> on which the quiz was created.<\/li><li>%%current_quiz_author%% &#8211; This variable displays the author of the quiz on the front end. Go to the <strong>Quizzes Page<\/strong> to check who the author is.<\/li><li>%%current_quiz_page_link%% &#8211; This variable will show the <strong>link to the webpage<\/strong> of the current quiz.<\/li><li>%%current_quiz_author_email%% &#8211; This variable will display the <strong>email<\/strong> taken from the quiz author&#8217;s WordPress profile.<\/li><li>%%current_quiz_author_nickname%% &#8211; This variable will display the <strong>nickname<\/strong> of the quiz author, which is taken from their WordPress profile.<\/li><li>%%quiz_image%% &#8211; This variable displays the <strong>quiz image<\/strong> on the front end. The quiz image is shown on the start page of the quiz and can be set from the<strong> General Tab<\/strong> of the particular quiz&#8217;s <em>edit page<\/em>.<\/li><li>%%quiz_coupon%% &#8211; This variable displays the <a href=\"https:\/\/youtu.be\/EfdYE1o2ALk?si=0i3CKRsegMgvq12D\">quiz coupons<\/a> on the front end. For this variable to work, head to the <strong>Results Settings<\/strong> <strong>tab<\/strong> of the particular quiz&#8217;s edit page and enable the <strong>Enable Quiz Coupon <\/strong>option. <\/li><li>%%result_id%% &#8211; This variable shows the ID of the result for the current user on the front end.<\/li><\/ul>\n\n\n\n<p><span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\">That&#8217;s it; th<\/span>ese were all the&nbsp;message variables&nbsp;used in the WordPress editors to display information about the quiz.<strong> <\/strong><\/p>\n\n\n\n<p> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>To make your quiz more informative and efficient, you can use message variables that help you show some data on the front end. How to use message variables To use the message variables, go to General Settings &gt; Message variables, then copy and paste your preferred message variable into the corresponding text. Put the particular &hellip; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[11],"doc_tag":[],"class_list":["post-4479","docs","type-docs","status-publish","hentry","doc_category-quiz-general-settings"],"year_month":"2026-05","word_count":3011,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Monica | Support specialist","author_nicename":"monica","author_url":"https:\/\/quiz-plugin.com\/author\/monica\/"},"doc_category_info":[{"term_name":"Quiz General Settings","term_url":"https:\/\/quiz-plugin.com\/docs-category\/quiz-general-settings\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Message Variables - Quiz Maker by AYS<\/title>\n<meta name=\"description\" content=\"Customize quiz messages using Message Variables in Quiz Maker. Personalize feedback, results for a more engaging user experience.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/quiz-plugin.com\/docs\/message-variables\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Message Variables - Quiz Maker by AYS\" \/>\n<meta property=\"og:description\" content=\"Customize quiz messages using Message Variables in Quiz Maker. Personalize feedback, results for a more engaging user experience.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/quiz-plugin.com\/docs\/message-variables\/\" \/>\n<meta property=\"og:site_name\" content=\"Quiz Maker by AYS\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-21T13:07:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/copy-message-variable-scaled.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1234\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"17 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/quiz-plugin.com\/docs\/message-variables\/\",\"url\":\"https:\/\/quiz-plugin.com\/docs\/message-variables\/\",\"name\":\"Message Variables - Quiz Maker by AYS\",\"isPartOf\":{\"@id\":\"https:\/\/quiz-plugin.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/quiz-plugin.com\/docs\/message-variables\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/quiz-plugin.com\/docs\/message-variables\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/copy-message-variable-1024x493.webp\",\"datePublished\":\"2024-06-26T11:57:31+00:00\",\"dateModified\":\"2025-10-21T13:07:25+00:00\",\"description\":\"Customize quiz messages using Message Variables in Quiz Maker. Personalize feedback, results for a more engaging user experience.\",\"breadcrumb\":{\"@id\":\"https:\/\/quiz-plugin.com\/docs\/message-variables\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/quiz-plugin.com\/docs\/message-variables\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/quiz-plugin.com\/docs\/message-variables\/#primaryimage\",\"url\":\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/copy-message-variable-1024x493.webp\",\"contentUrl\":\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/copy-message-variable-1024x493.webp\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/quiz-plugin.com\/docs\/message-variables\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/quiz-plugin.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\/\/quiz-plugin.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Message Variables\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/quiz-plugin.com\/#website\",\"url\":\"https:\/\/quiz-plugin.com\/\",\"name\":\"Quiz Maker by AYS\",\"description\":\"The best WordPress Quiz plugin\",\"publisher\":{\"@id\":\"https:\/\/quiz-plugin.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/quiz-plugin.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/quiz-plugin.com\/#organization\",\"name\":\"Quiz Plugin\",\"url\":\"https:\/\/quiz-plugin.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/quiz-plugin.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2022\/08\/quizmakerr_logo-pdf.png\",\"contentUrl\":\"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2022\/08\/quizmakerr_logo-pdf.png\",\"width\":256,\"height\":256,\"caption\":\"Quiz Plugin\"},\"image\":{\"@id\":\"https:\/\/quiz-plugin.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Message Variables - Quiz Maker by AYS","description":"Customize quiz messages using Message Variables in Quiz Maker. Personalize feedback, results for a more engaging user experience.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/quiz-plugin.com\/docs\/message-variables\/","og_locale":"en_US","og_type":"article","og_title":"Message Variables - Quiz Maker by AYS","og_description":"Customize quiz messages using Message Variables in Quiz Maker. Personalize feedback, results for a more engaging user experience.","og_url":"https:\/\/quiz-plugin.com\/docs\/message-variables\/","og_site_name":"Quiz Maker by AYS","article_modified_time":"2025-10-21T13:07:25+00:00","og_image":[{"width":2560,"height":1234,"url":"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/copy-message-variable-scaled.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"17 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/quiz-plugin.com\/docs\/message-variables\/","url":"https:\/\/quiz-plugin.com\/docs\/message-variables\/","name":"Message Variables - Quiz Maker by AYS","isPartOf":{"@id":"https:\/\/quiz-plugin.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/quiz-plugin.com\/docs\/message-variables\/#primaryimage"},"image":{"@id":"https:\/\/quiz-plugin.com\/docs\/message-variables\/#primaryimage"},"thumbnailUrl":"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/copy-message-variable-1024x493.webp","datePublished":"2024-06-26T11:57:31+00:00","dateModified":"2025-10-21T13:07:25+00:00","description":"Customize quiz messages using Message Variables in Quiz Maker. Personalize feedback, results for a more engaging user experience.","breadcrumb":{"@id":"https:\/\/quiz-plugin.com\/docs\/message-variables\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/quiz-plugin.com\/docs\/message-variables\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/quiz-plugin.com\/docs\/message-variables\/#primaryimage","url":"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/copy-message-variable-1024x493.webp","contentUrl":"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2024\/09\/copy-message-variable-1024x493.webp"},{"@type":"BreadcrumbList","@id":"https:\/\/quiz-plugin.com\/docs\/message-variables\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/quiz-plugin.com\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/quiz-plugin.com\/docs\/"},{"@type":"ListItem","position":3,"name":"Message Variables"}]},{"@type":"WebSite","@id":"https:\/\/quiz-plugin.com\/#website","url":"https:\/\/quiz-plugin.com\/","name":"Quiz Maker by AYS","description":"The best WordPress Quiz plugin","publisher":{"@id":"https:\/\/quiz-plugin.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/quiz-plugin.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/quiz-plugin.com\/#organization","name":"Quiz Plugin","url":"https:\/\/quiz-plugin.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/quiz-plugin.com\/#\/schema\/logo\/image\/","url":"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2022\/08\/quizmakerr_logo-pdf.png","contentUrl":"https:\/\/quiz-plugin.com\/wp-content\/uploads\/2022\/08\/quizmakerr_logo-pdf.png","width":256,"height":256,"caption":"Quiz Plugin"},"image":{"@id":"https:\/\/quiz-plugin.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/quiz-plugin.com\/wp-json\/wp\/v2\/docs\/4479","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/quiz-plugin.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/quiz-plugin.com\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/quiz-plugin.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/quiz-plugin.com\/wp-json\/wp\/v2\/comments?post=4479"}],"version-history":[{"count":43,"href":"https:\/\/quiz-plugin.com\/wp-json\/wp\/v2\/docs\/4479\/revisions"}],"predecessor-version":[{"id":6878,"href":"https:\/\/quiz-plugin.com\/wp-json\/wp\/v2\/docs\/4479\/revisions\/6878"}],"wp:attachment":[{"href":"https:\/\/quiz-plugin.com\/wp-json\/wp\/v2\/media?parent=4479"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/quiz-plugin.com\/wp-json\/wp\/v2\/doc_category?post=4479"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/quiz-plugin.com\/wp-json\/wp\/v2\/doc_tag?post=4479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}