With the LearnDash Certificate Verify & Share add-on, you can create verifiable LearnDash certificates that are easily validated from a verification link. The verification link can be used to give anyone access to relevant data regarding the earned certificate, such as the name of the student, the name of the course, the name of the instructor, and the date of completion. Furthermore, the add-on enables your users to share their LearnDash certificates directly on Facebook, Twitter, and LinkedIn.
In this article, you’ll learn how to set up the LearnDash Certificate Verify & Share add-on and enable your students to earn verifiable certificates. Additionally, we’ll walk you through the steps your students must follow to post earned certificates on their social media accounts.
Table Of Content
- Installation
- LearnDash Certificate Verify & Share Settings
- Shortcodes
- Verification Page
- Social Media Sharing
- Certificate sharing from Quiz page
- Certificate sharing from Course page
- Certificate sharing from Group page
- FAQ
- Changelog
Installation
- The LearnDash plugin should be installed & active.
- Install the LearnDash Certificate Verify & Share add-on & activate it.
- After activation, a new “Certificate Verify & Share Settings” sub-menu will be added under the LearnDash menu.
LearnDash Certificate Verify & Share Settings
Please note that If you are using any cache plugin please purge the cache after every update (after updating the course, certificate, add-on settings, etc). Also, please exclude the verification page URL from the cache.
License
License keys can be found in the email received when you purchased the add-on. To activate your license, place your license key in the License Key field and click on Activate.
General
Verification Page
Select the page used to display certificate verification information, containing the certificate verification shortcode.
Verification Page Template
You can choose between two templates to configure the appearance of the certificate’s verification page, found through a search on your site’s verification page.
Template 1:
Template 2:
Certificate Issue Date
You can change the date format.
The default format is:
F = represents the name for the month.
J = represents the day of the month.
Y = represents the year in 4 digits.
Images Social Sharing
Enable this option if you want to generate an image of the certificate that students can share on their social media posts.
LinkedIn Settings:
Configure the LinkedIn Company’s ID in these settings. This article will help you to find it.
Description of your Certificates
Our add-on adds an extra field on the certificate edit page where you can add a description for any certificates created with the Legacy certificate builder. The description will be displayed on the verified certificate’s search result page.
Note: This add-on is compatible with the LearnDash Certificate Builder add-on.
Here’s how the excerpt will be displayed on the front end:
Shortcodes
The add-on has three different shortcodes:
- [certificate_verification]
Insert this shortcode on any page on which you want to display the certificate verification. - [ld_cvss_certificate_id]
Insert this shortcode within any certificate to display the certificate ID. - [ld_cvss_certificate_qr_code]
Insert this shortcode within any certificate to display a specific QR Code.
Verification Page
This is what the main verification page looks like on the front end:
To find a Course Certificate using the verification search page, enter the certificate ID and click on the search button. If the certificate ID is valid then it will show the result otherwise it will show the “Certificate doesn’t exist” or “ID is incorrect” error.
Here’s how the result will be displayed on the front end:
To verify the certificate’s details, click on the “Verify Certificate” button and it will redirect you to the Certificate unique verification page.
Note: To download the certificate the user has to visit the verification page where he/she can download the certificate as a PDF.
Share Course Certificate From A Course Page
Users can share their earned certificates directly from the course page. To do this hover over the share icon located next to the “Download Certificate” button and then click on any of the social sharing options.
The social sharing options available are Facebook, Twitter, and LinkedIn. Follow the instructions below to share your certificate on any of these social platforms:
To share your certificate on Facebook, click on the Facebook button. As a result, another browser tab will open where you’ll need to log in to your Facebook account. After logging in, you can edit your post and privacy settings before sharing. When you are ready, simply click on the post button.
To share your certificate on Twitter, click on the Twitter button. As a result, another browser tab will open where you’ll need to log in to your Twitter account. After logging in, you’ll be able to edit your tweet before sharing it. When you are ready, simply click on the tweet button.
When sharing your certificate on LinkedIn, you have the option to either add the certificate to your profile or share it with your network on the newsfeed. After clicking on the share button, you will see two icons representing these two options.
To display the certificate on your LinkedIn Newsfeed, select the LinkedIn icon. Login to your account and then determine whether you want to share the post to your feed or as a private message.
If you choose to add the certificate to your profile, follow these instructions:
- Click on the LinkedIn Add to profile button.
- This will redirect you to LinkedIn, where you must log in to your account.
- You will be redirected to the Add Certification page.
- The blank fields on this page will be filled automatically with the certificate’s information.
- Finally, click on the save button.
Share Quiz Certificates From A Quiz Results Page
Users can share their certificates directly from the quiz results page. To do this hover over the share icon located next to the “Download Certificate” button and click on any of the social sharing buttons.
The social sharing options available are Facebook, Twitter, and LinkedIn.When sharing both the certificate’s image and the verification page link will be posted. Follow the aforementioned instructions to share your certificate on any of these social platforms.
Share Quiz Certificates From Course Page
Users can share their certificates directly from the course page, directly from the “Course Content” section, using the social sharing buttons. . To do this, click on the icon corresponding to the social network you want to share the certificate on. The available social networks are Facebook, Twitter, and LinkedIn.
When sharing, both the certificate’s image and the verification page link will be posted.
Share Group Certificate from the Group’s page
Users can also share their group certificates directly from the public group page after completing all of a group’s courses. To do this hover over the share icon located next to the download certificate button and then click on any of the social sharing buttons.
The social sharing options available are Facebook, Twitter, and LinkedIn. Follow the aforementioned instructions to share your certificate on any of these social platforms.
Note: The LearnDash group pages are not public by default, but you can make them public by navigating to the LearnDash > Groups > Settings, and enabling the group to be Public so that the group members can share their group certificates.
FAQ
On which platforms can users share their certificates?
Users can share their LearnDash certificates to their Facebook, Linked In, and Twitter accounts directly.
Which LearnDash certificates are verifiable and shareable?
LearnDash course, quiz, and group certificates are all verifiable and shareable.
Why are the certificate verification fields not displayed on the front end even after adding the shortcode on the page?
Please make sure to select the page containing the shortcode from the dropdown menu on the Verification Page tab from the add-on settings page.
Will there be a preview of the certificate on the social platforms where the certificates are shared?
Yes, a preview image of the certificate will be displayed on the social media posts if you enable the “Generate Certificate Image for social sharing” option on the general settings page.
How can I add the description for the certificates if there is no certificate description field included by default in LearnDash LMS?
This add-on provides an additional “Excerpt” field where you can add a description for your certificates. This description will be displayed on the certificate’s verification result page.
Can we use our own template to display the certificate verification search result?
No, you can only choose between the two templates provided by the add-on.
Can we provide an interface for direct/normal visitors to search for a specific user certificate on our site?
Yes, you can add the certificate verification page into the site header, footer, or any menu, so visitors will see the search form, and they will be able to search a specific student course, quiz, or group certificate, and the search result will display the certificate with details.
Can non-logged-in visitors see the certificate details on the verification page?
Yes, any site visitor can search for any student’s course, quiz, or group certificates from the Verification Search Page and see their details.
Is the LearnDash Certificate Builder supported by this add-on?
Yes, version 1.0.1 of the LearnDash Certificate Verify & Share add-on is tested with the latest version of the LearnDash Certificate Builder add-on.
Are quiz and group certificates also supported?
Yes, this add-on supports all types of LearnDash certificates i.e course, quiz, and group certificates.
I am using Cache plugins, will they conflict with this add-on?
If you are using any cache plugin please purge the cache after every update (after updating the course, certificate, add-on settings, etc). Also, please exclude the verification page URL from the cache.
Is there any recommended size for the image to be used as a certificate image?
Yes, It is recommended to keep the certificate image size less than 600 pixels.
Does the add-on support multi-language?
Yes, the add-on is fully multi-language supported.
Does the addon support multi-language sites like WPML or Polylang etc based sites to verify the certificate?
Currently, the add-on does not support the WPML or Polylang, etc based multi-language site for certificate verification. But we will add the multi-language site support soon in the upcoming versions.
Can I create a custom template for the certificate verification page?
To use a custom template (congratulation page template) for the certificate verification page you need to create a new PHP file in your theme folder and the HTML code you need there.
or
To customize one of the plugin templates for the certificate verification page you need to copy the file template-01.php or template-02.php from /wp-content/plugins/learndash-certificate-verify-and-share/templates and move it to your theme folder and add the changes you need there.
After that, add the following code to functions.php of your theme:
add_filter( 'ld_cvss_template_file', function( $path, $template, $template_data ) { // Use template-01.php or template-02.php depending on your plugin settings. if ( $template == 'template-01.php' ) { // Where template-01.php is your template file in your theme folder. // Change to the name of your template file if necessary. $path = get_stylesheet_directory() . '/template-01.php'; } return $path; }, 10, 3 );
In your template, $template_data will be available to manipulate the HTML code.
How can you change the QR code attributes?
You can use this hook to change the QR code attributes:
ld_cvss_certificate_qr_code_atts
This hook can be found in this file:
\learndash-certificate-verify-and-share\includes\frontend.php
How I can modify the instructor and recipient display name on the verification page?
We have provided the following two new hooks in version 1.0.12.
- ld_cvss_verfication_page_instructor_display_name
- ld_cvss_verfication_page_recipient_display_name
The following example shows how you can modify the instructor display name on the verification page:
/** * The instructor display_name can be modified by using the hook ld_cvss_verfication_page_instructor_display_name * @param $display_name * @param $instructor * @return string * * @since 1.0.12 */ function update_verfication_page_instructor_display_name( $display_name, $instructor ){ return $instructor->first_name. ' '.$instructor->last_name; } add_filter('ld_cvss_verfication_page_instructor_display_name', 'update_verfication_page_instructor_display_name', 10, 2 );
The following example shows how you can modify the recipient display name on the verification page:
/** * The recipient display_name can be modified by using the hook ld_cvss_verfication_page_recipient_display_name * @param $display_name * @param $recipient * @return string * * @since 1.0.12 */ function update_verfication_page_recipient_display_name( $display_name, $recipient ){ return $recipient->first_name. ' '.$recipient->last_name; } add_filter('ld_cvss_verfication_page_recipient_display_name', 'update_verfication_page_recipient_display_name', 10, 2 );
How I can modify the recipient display name on the search result page?
We have provided the following new hook for the search result page.
- ld_cvss_search_result_page_recipient_display_name
The following code snippet shows how you can modify the recipient display name on the search result page:
/** * @param $display_name * @param $recipient * @return string */ function update_search_result_page_recipient_display_name( $display_name, $recipient ){ return $recipient->first_name. ' '.$recipient->last_name; } add_filter('ld_cvss_search_result_page_recipient_display_name', 'update_search_result_page_recipient_display_name', 10, 2 );
Can I change the certificate verification page course ‘Read More’ URL for a specific course or certificate types like group, course, or quiz?
Answer: Yes, version 1.0.6 allows 3rd party developers to modify the course ‘Read More’ URL for a specific course or certificate type by using the following filter hook:apply_filters('ld_cvs_verfication_page_course_read_more_url', $course_permalink, $course_id, $certificate_type );
Hook usage example:
The following script will change the course ‘read more link on the verification page when you place this code inside the active theme functions.php file:
function update_verfication_page_course_read_more_url( $course_permalink, $course_id, $certificate_type, $certificate, $certificate_post, $student, $instructor ){ $course_permalink = 'https://www.google.com; return $course_permalink; } add_filter('ld_cvss_certificate_verification_page_show_instructor','update_verfication_page_course_read_more_url', 10, 7 );
Can I remove the instructor profile box from the certificate verification page?
Yes, version 1.0.7 provides a filter hook ‘ld_cvss_certificate_verification_page_show_instructor’ that 3rd party developers can control the instructor visibility on the
Hook Definition:
apply_filters( 'ld_cvss_certificate_verification_page_show_instructor', true, $certificate, $certificate_post, $student, $instructor );
Hook usage example:
The following script will prevent the instructor visibility on the verification page when you place this code inside the active theme functions.php file:
function show_instructor_on_verification_page( $status, $certificate, $certificate_post, $student, $instructor ){ $status = false; return $status; } add_filter('ld_cvss_certificate_verification_page_show_instructor','show_instructor_on_verification_page', 10, 5 );
Changelog
1.0.12
New Features:
- New: Added the WPML multi-language CMS support.
- New: Updated the verification page RTL layout.
- New: We have provided new hooks to update the instructor and recipient display name on the verification page.
Bug Fixes:
- Fix: The Yoast SEO issue has been fixed.
1.0.11
Bug Fixes:
- The Quiz Certificate verification page URL issue on quiz completion has been fixed.
- The Elementor conflict on the_content hook has been fixed.
1.0.10
Bug Fixes:
The LearnDash Certificate shortcode [quizinfo] issues are fixed.
1.0.9
New Features:
- The shortcode for generating certificate QR Codes is added.
- Compatibility with the LearnDash Pay for Quiz & Certificate plugin is added.
1.0.8
New Features:
- The new method for displaying/downloading certificate PDFs is added.
- Added certificate ID to the certificate verification page.
- The certificate search form is changed to search by certificate ID.
- The settings page layout is changed.
- The new shortcode to display certificate ID inside PDFs is added.
Bug Fixes:
- The issue related to website slowdown is fixed.
- Displaying the certificate image on the certificate verification page is fixed.
- Displaying the certificate image built with the LearnDash Certificate Builder on the certificate verification page is fixed.
1.0.7
New Features:
- The 3rd party developer can hide the instructor from the verification page by using the filter hook “ld_cvss_certificate_verification_page_show_instructor”.
Bug Fixes:
- The social sharing meta tags conflict has been resolved for these SEO plugins ‘Yoast SEO’, ‘All In One SEO’, ‘SEO Press’, ‘Rank Math SEO’.
- The BuddyPress forum file upload issue has been fixed.
- The All-in-One-SEO plugin conflict with the verification page shortcode has been resolved.
- The certificate verification page “issue date” translation issue has been fixed.
1.0.6
New Features:
- The certificate verification page course ‘read more’ url is allowed to be populated by using filter-hook “ld_cvs_verfication_page_course_read_more_url”.
Improvements:
- The admin settings verification page dropdown now lists all published pages instead of 10.
- The certificate search box user dropdown search input is limited to 3 characters.
Bug Fixes:
- The plugin activation errors have been fixed.
- The plugin admin settings layout issues have been fixed.
- The certificate search box issues have been fixed.
- The group verification page issues have been fixed.
1.0.5
Bug Fixes:
- The social buttons layout has been fixed.
- The certification page layout has been fixed.
1.0.4
Bug Fixes:
- The Builder Certificate to Legacy Switch issue has been fixed.
- The PHP Fatal Errors regarding the site server image processing have been fixed.
1.0.3
New Features:
- The multilingual translation support has been added.
- The certificate image processing at Wooninjas remote server option has been added.
- The quiz certificate sharing icon on the course listing page has been added.
Bug Fixes:
- The LinkedIn profile sharing issuing organization title issue has been fixed.
- The compatibility issue with LD Certificate builder 1.0.3 has been fixed.
- The WordPress 5.8 compatibility issues have been fixed.
1.0.2
Bug Fixes:
- The Certificate Verification Page Issue Date correction issue has been fixed.
- The Divi builder js conflict issue has been fixed.
- FB Social Sharing Typo issue has been fixed.
- The Quiz result not generating if the quiz doesn’t have a certificate attached issue has been fixed.
- The BadgeOS conflict issue has been fixed.
- The search Box Users List issue has been fixed.
1.0.1
New Features:
- The LearnDash Certificate Builder Add-on’s support is added.
- The certificate description field on the edit screen is updated with the classic editor.
Bug Fixes:
- FrontEnd search loading icon issue fixed.
1.0
Initial Release