Now, the admin can preview the certificate directly on the Edit Page using a new meta field “Preview” located at the top-right corner of the edit page.
Note: The admin must save or update the certificate before previewing the latest changes.
Admins will see two buttons for previewing the certificate:
- “Preview Certificate with Placeholders”
- “Preview Certificate with Static Values”
Preview Certificate with Placeholders
- In this preview mode, shortcodes within the certificate will be replaced with placeholders. Example, [courseinfo show=”course_title”] will replace with “{course_title}”
- Placeholders will represent dynamic elements such as course, group, lesson, quiz, or user information.
- User-related shortcodes will reference LearnDash default values.
Preview Certificate with Static Values
- In this mode, shortcodes within the certificate will be replaced with static sample data. Example, [courseinfo show=”course_title”] will replace with {course_title} “Digital Marketing Essentials”
- Instead of placeholders, the preview will display sample course, group, lesson, quiz, and user data.
- This helps admins visualize how the final certificate might appear for an actual user.