Skip Navigation

[Resolved] Display Custom Field Added to Learn Dash Quiz in Certificate

This support ticket is created 3 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 1 reply, has 2 voices.

Last updated by Jamal 3 years, 8 months ago.

Assisted by: Jamal.

Author
Posts
#2008931

I created custom fields added to the Quiz Post Type for Example

These are just standard text fields
Certificate Code:
Certificate Authors:

If I wanted to display these fields that were filled in on the quiz after completion how might I go about this.
Please take a look at this video for some explanation hidden link

#2009059

Hello and thank you for contacting the Toolset support.

Thank you for the video, it explains very well what you intend to do. You tried, in the video, to add the fields using the Toolset shortcodes, but the issue is that you are using the shortcodes inside of the certificate post, and you want to pull the custom fields from the quiz post. If the LearnDash plugins offers a shortcode to get the quiz ID from the certificate post, you can use the ID in Toolset shortcodes in the item attribute. Check this article https://toolset.com/documentation/user-guides/views-shortcodes/item-attribute/

So, you can end up with something like:

[types field="author-names" item="[quizinfo show='ID']"][/types]

Assuming that the quizinfo shortcode will return the quiz post's ID:

[quizinfo show='ID']

Basically, the trick is the get the ID of the quiz post. You may need to contact LearnDash support team to help you with that.