Categories

Certificate Shortcodes

Certificate shortcodes are exclusively for creating certificates. They allow you to display dynamic information about the user, as well as the course or quiz that you’re awarding the certificate for. You can insert the user’s name, course title, date of completion, quiz grade and much more.

There are 4 main shortcodes, and then each shortcode has a handful of parameters to output various information.

  •  displays user info
  •  displays course info (only works with certificates assigned to a course)
  •  displays quiz info (only works with certificates assigned to a quiz)
  •  displays group info (only works with certificates assigned to a group)

The  shortcode has a handful of options to display user information. Let’s take a look at each one.

  •  – Displays a user’s first name
  •  – Displays a user’s last name
  •  – Displays a user’s full display name, which is often a combination of {first_name} and {last_name}.
  •  – Displays a user’s username
  •  – Displays a user’s nickname (might not be captured upon user signup)
  •  – Displays a user’s email address
  •  – Displays a user’s website address (likely not captured upon user signup)
  •  – Displays a user’s bio (likely not captured upon user signup)

The most common  shortcodes you’ll use are  and , as almost all certificates should include the student’s name.

NOTE
Not all of these values are collected when a student registers for or purchases a course. Different registration methods collect different info. Check with your ecommerce or checkout solution to see which fields are collected upon signup. You can also check this yourself by going to USERS > ALL USERS, and clicking on a user to edit their profile.

The  shortcode should only be used for certificates assigned to a course. Let’s quickly define a few terms:

  • aggregate refers to the sum of all quizzes assigned to the course
  • cumulative refers to the average of all quizzes assigned to the course

Here are all the possible values:

  •  – Displays the course title
  •  – Displays the course price (only for one-time payment courses)
  •  – Displays the Access Mode for the given course
  •  – Displays the course URL
  •  – Displays the total available points for the course
  •  – Displays the amount of points the user earned for the course
  •  – Displays the course enrollment date (this does not apply to OPEN courses)
  •  – Displays the date the course was completed
  •  – Displays the total time spent on a course
  •  – Displays the average score for all graded parts of the course
  •  – Displays the average points earned
  •  – Displays the average points earned
  •  – Displays the average percentage of all quizzes taken in the course
  •  – Displays the average time spent on each part of the course
  •  – Displays the final score received for the course
  •  – Displays the total points earned for the course
  •  – Displays the total points earned for the course
  •  – Displays the total percentage score for all quizzes taken as part of the course
  •  – Displays the total time spent on quizzes for the course as a whole

When using the completed_on parameter, you can also customize the date format. (See available date formats)

[courseinfo show="completed_on" format="F j, Y"]

The  shortcode should only be used for certificates assigned to a quiz. They will not work if used for a certificate assigned to a course.

Here’s a list of all available options to output quiz information on a quiz certificate:

  •  –  Displays the score received for that quiz
  •  – Displays the number of questions within the quiz
  •  – Displays the score required in order to pass the quiz
  •  – Displays the day/time when the quiz was completed
  •  – Displays the points received by the user on the quiz
  •  – Displays the total possible points that can be received for a given attempt
  •  – Displays the percentage grade received by the user on the quiz
  •  – Displays the name of the quiz
  •  – Displays the name of the course that the quiz is associated with
  •  – Displays the time spent taking the quiz

Again, you can customize the date format when using the timestamp option.

[quizinfo show="timestamp" format="F j, Y"]

The  shortcode should only be used for certificates assigned to a group. They will not work if used for a certificate assigned to a course or a quiz.

Here’s a list of all available options to output quiz information on a group certificate:

  •  – Displays the group’s title
  •  – Displays the group’s URL
  •  – Displays the group’s Access Mode
  •  – Displays the group’s price
  •  – Displays the number of group enrollees
  •  – Displays the number of courses in the group
  •  – Displays the group progress status of the user
  •  – Displays the date the user enrolled into the group
  •  – Displays the date the user completed all courses assigned to the group
  •  – Displays the score achieved in the group’s courses

Again, you can customize the date format when using the timestamp option.

[groupinfo show="timestamp" format="F j, Y"]