1. Home
  2. Docs
  3. LearnDash Addons
  4. LearnDash Goals

LearnDash Goals

LearnDash Goals add-on allows students to set their own weekly study goals. Every minute learners spend watching lessons and topic videos on LearnDash courses are tracked and count towards their weekly goal.

Installation

  • Install and activate the LearnDash plugin.
  • Install and activate the LearnDash Goals Add-on.
  • A New Goals menu will be added to the LearnDash menu.
LearnDash Goals – Main Menu

License Option

You can configure your add-on’s license key from the license tab. Enter a valid license key in the corresponding field to receive automatic updates for this product.

LearnDash Goals – License

Goal Settings

Enable Goal Video Progression on Courses, Lessons or Topics

Navigate to the settings of any specific LearnDash course, lesson, or topic. There you will see following two options and only one can be enabled at a time.

LearnDash Goals – Progression
  1. LearnDash Goals Reading and Video Progression
    Enabling this toggle will include both, reading and video watch time in the LearnDash Goals.
  2. LearnDash Goals Video Progression
    Enabling this toggle will include only the video watch time. This works only when you place your videos in the LearnDash Goals shortcodes.

General Settings

User Progress Circle Color

Select the color you want the progress circle to be on the front end.

Backend

LearnDash Goals – User Progress Circle Color – Backend

Frontend

LearnDash Goals – User Progress Circle Color – Frontend

Time Lapse in hours

Enabling this checkbox will add hours instead of minutes in lapse.

Backend

LearnDash Goals – Time Lapse in Hours – Backend

Frontend

LearnDash Goals – Time Lapse in Hours – Frontend

Set Goal Options

Select the time goals (in minutes or in hours), you want to offer your students to count their progress.

Backend

LearnDash Goals – Add Goal Options – Backend

Frontend

LearnDash Goals – Set Goal Options – Frontend

Global Goal Time Tracking

By enabling this checkbox, you can enable and track all courses, lessons and topics reading progression.

LearnDash Goals – Global Time Tracking

When Global Goal Time Tracking is enabled then within the settings of courses, lessons and topics, the toggles related to LearnDash Goal Progress will be not usable.

LearnDash Goals – When Global Time Tracking is Enabled

Encouragement Notes

You can customize various messages as encouragement notes that are displayed on the frontend with the progress circle.

Default message

This message will be displayed if the user hasn’t set up any goals yet.

Backend

LearnDash Goals – Encouragement Notes – Backend

Frontend

LearnDash Goals – Encouragement Notes – Frontend

Get started note

This message will be displayed if the user just started or resets/edits his/her goal.

Backend

LearnDash Goals – Get Started Note – Backend

Frontend

LearnDash Goals – Get Started Note – Frontend

Resume progress note

This message will be displayed if the user has already started his goal but has not achieved his/her goal yet.

Backend

LearnDash Goals – Resume Progress Note – Backend

Frontend

LearnDash Goals – Resume Progress Note – Frontend

Congratulations note

This message will be displayed if the user has achieved his/her goal.

Backend

LearnDash Goals – Congratulation Note – Backend

Frontend

LearnDash Goals – Congratulation Note – Frontend

Email Templates

From this tab, you can customize the email templates which will be sent to the students in the following scenarios:

  • Get Started Email

This email will be sent to the user when the user just starts or resets/edits his/her goal from the frontend.

  • Congratulations Email

This email will be sent to the user when the user achieves his/her goal.

Customisable Options:

From Name: If not provided, It will use the default system email name.

From Email: If not provided, It will use the admin’s email.

Subject

Message: HTML is supported if you enable the “Allow HTML” option below.

LearnDash Goals – Email Template

Shortcodes

This tab displays the relevant information about the available shortcodes this add-on has to offer.

Available Shortcodes

[ld_goals_user_weekly_goal]

This shortcode displays the user’s weekly progress on any page or post from where he/she can start, edit or remove his/her weekly goals.

LearnDash Goals – Shortcode Preview
[ld_goals_video url=" insert valid URL here" video_type="specify video location here"]Goals Video[/ld_goals_video]
[ld_goals_video url="https://www.youtube.com/watch?v=ScMzIvxBSi4&ab_channel=BenMarquezTX" video_type="youtube"]Goals Video[/ld_goals_video]

This shortcode displays the goal settings video on any page or post. The time for the weekly goal will be recorded when the above-embedded video will be played.

Available Parameters and accepted values:

  • url=”Valid Video Url”
  • video_type = “vimeo”, “youtube”, “local”, “bunny_cdn_hls”

You can also insert video lessons by clicking on the “Goal Setting Video” button that appears on a lesson’s edit page when using the Classic Editor.

LearnDash Goals – Classic Editor

This button enables you to directly enter the video name, video URL, select the video type into corresponding fields to automatically generate the shortcode and insert it on the lesson’s page.

LearnDash Goals – Video Types

LearnDash Goals Widget

The LearnDash Goals Widget allows you to display the user’s weekly progress on any page or post. Using the widget, students can start, edit or delete their study goals.

To add the LearnDash Goals Widget, follow these steps:

  • Navigate to Appearance from the WordPress admin Dashboard.
  • Drag the LearnDash Goals widget from the Available Widgets, and drag and drop it to the desired location.  
LearnDash Goals – Widget
  • Enter a title for the widget area.
  • Click Save and Done.

How can students set or edit their weekly goal?

  • Navigate to the page or post where the [ld_goals_user_weekly_goal] shortcode or the LearnDash Goals widget is displayed. 

Shortcode

LearnDash Goals – Weekly Goal Shortcode

Widget

  • Click on the ”Set your goal” or “Edit Goal” button to set, edit or remove the weekly goals.
  • The following popup will be displayed from which the user can edit the weekly goals.
LearnDash Goals – Weekly Goal Widget
  1. Click anywhere on the number line to set the time lap for your weekly goal.
  2. Click on the “Set goal” button to confirm the configured time lap.
  3. Click on the “Remove goal” button if you want to remove the previously set time lap.
LearnDash Goals – Set the Weekly Goal

Here’s a video showing the goal setting process

LearnDash Goals – Goal Setting Process

Here’s what the process will look like when deleting a goal

LearnDash Goals – Goal Deleting Process

FAQ’s

How is the time spent watching video lessons recorded?

Time can be recorded when you embed a lesson’s video with the following shortcode.

[ld_goals_video url=” insert valid URL here” video_type=“specify video location here”]Goals Video[/ld_goals_video]

Can the same video be used in multiple courses at the same site?

Yes, you can embed the video’s URL using the add-on’s shortcode  on any page or post you want.

Should the time options available for goal setting be configured  in hours or minutes?

The time goal options should be  configured in minutes.

What video sources are supported by this add-on?

The add-on supports videos from YouTube and Vimeo and videos uploaded locally on your website.

How can I select the week for which the weekly activity towards the goal is recorded?

The add-on automatically selects the current week from the Gregorian calendar and marks the activity for that week. 

Why are emails sent with the site’s default name after I’ve configured a name in the “From Name” field on the email template?

Please make sure that the plugin you are using to configure your mail’s SMTP on the site doesn’t have the “force from name” option enabled and configured.


Changelogs

1.0.7

  • New: Added an option to set time lapse in hours.

1.0.6

  • New: Added global reading progression goals option to start time tracking on all courses, lessons and topics.

1.0.5

  • New: Added course, lesson and topic reading progression goals option.
  • Fix: UI/UX fixes for LearnDash goals Progress.

1.0.4

  • New: Added support for HLS video format.
  • Fix: Warnings on the LearnDash goal widget.
  • Fix: Made add-on compatible with the latest version of PHP, WordPress, and LearnDash.

1.0.3

  • Fix: License API issues.
  • Fix: Rating notice visibility issues.
  • Fix: Made add-on compatible with the latest version of PHP, WordPress, and LearnDash.

1.0.2

  • New: Multilanguage support added.
  • Fix: Made add-on compatible with the latest version of PHP, WordPress, and LearnDash.

1.0.1

  • New: UI/UX changed for LearnDash goals Progress.
  • New: Now LearnDash goals can be added a widget.
  • New: Buddyboss compatible style is added for shortcode/widgets.
  • Fix: [ld_goals_user_goal_progress] shortcode is removed and merged into [ld_goals_user_weekly_goal] shortcode.
  • Fix: Minor code fixes.
  • Fix: Compatibility issues with latest WordPress and LearnDash version.

1.0.0

  • Initial release.

How can we help?