Use the Single Quiz Results Settings shortcode if you want the results of a particular quiz to be displayed on the front end. To use the shortcode, go to General Settings > Shortcodes.
Shortcode options #
Enable the Show to guests too option if you want the users who are not logged in to see the table of the quiz results. Otherwise, it will be seen only by logged-in users.
In the Table Columns option, tick the checkboxes for the fields you want to include in your table.
How to create custom fields in the table #
If your preferred field of the quiz data isn’t present, you can add custom fields. To do this, go to the Custom Fields page and edit the needed field; tick the Show Custom field on your shortcodes option and then the Single Quiz Results option. Save the changes.
If you want to make a new field, click on the Add New button and fill in the Name and the Type of the field data. Enable the Show custom field on your shortcodes option and tick the Single Quiz Results checkbox. Click on the Save and Close button.
Use the shortcode to display the table #
Create a New Post or head to your post if you already have one. Copy and paste the shortcode in the post. Change “Your_Quiz_ID” to the ID of the quiz you want. You can find it from the list in the Quizzes page.
Then, publish the post or update it (if it’s already published). Click on the View Post.
Here is an example of a table of data on quiz results.
This is a tutorial on how to set Single Quiz Results Shortcode with the quiz plugin.