User Page Settings Shortcode

The User Page Settings shortcode lets you see all the details of the quizzes’ result history of the current user in the table on the front end. Go to General Settings > Shortcodes and find the shortcode.

Shortcodes WordPress Quiz

Shortcode options #

Tick the Hide correct answer option if you don’t want the correct answers to the quiz to be displayed in the detailed report.

You’ll see a few checkboxes in the User Page results table columns option of the shortcode. Tick the checkboxes for the data that you want to show in the table.

User Page Settings Shortcode Table Columns  WordPress Quiz

How to create custom fields in the table #

To add other fields in this option, go to the Custom Fields page. If you already have the custom field created, then click to Edit it, tick the Show custom field on your shortcodes checkbox, and tick User Page. Save the changes.

Custom Fields  WordPress Quiz
Add Custom Field  WordPress Quiz

If you want to create a new field, click the Add New button, write down the name, choose the type of the data, tick the Show custom field on your shortcodes checkbox, and tick User Page. Make sure the Attribute status option is checked on Published. Then click on the Save and Close button.

Add New Custom Field WordPress Quiz
Add Custom Field  WordPress Quiz

Use the shortcode to display the table #

Copy and paste the shortcode in the post you want. You can paste it into a new post or in an already existing post.

Add New Post WordPress Quiz
Publish Post With Shortcode  WordPress Quiz

Replace “Your_Quiz_Category_ID” with your preferred quiz category ID. To check it, head to the Quiz Categories page and find the ID of the corresponding quiz.

Quiz Category WordPress Quiz

If you are creating a new post, then publish it and click on the View Post to see the result. If not, then update the post.

This is what it will look like:

User Page Settings Shortcode Result WordPress Quiz

You can download the quiz certificates if you have ticked the corresponding checkbox.

Click on the Details button to see more information about the quiz or to export it to a PDF file.

User Page Settings Shortcode Details Page WordPress Quiz

This was all about the usage of the User Page Settings Shortcode. You can also check this video for a detailed explanation of how to set the shortcode.

Powered by BetterDocs

Leave a Reply

Your email address will not be published.

Don՛t Miss Out...

FoxLMS Plugin Now Available!

Easily create, manage, and sell courses on WordPress with the new FoxLMS plugin.

Get 30% Extra Discount

Get 30% OFF Now!

This will close in 0 seconds