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.

Table of content

  1. Installation
  2. Activate your License
  3. Settings
  4. Shortcodes
  5. Goal Widget
  6. How Can Students Set Or Edit Their Weekly Goal?
  7. FAQ
  8. Changelogs

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 and enable the switch of  “Enable Goal Setting Video Progression” which lets you enable the goal progression on that specific content.

LearnDash Goals – Enable Goal Video Progression

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

Set Time Goals:

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

Backend:

LearnDash Goals – Set Time Goals – Backend

Frontend:

LearnDash Goals – Set Time Goals – Frontend

Encouragement Notes:

You can customise 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

  Note: This add-on is not able to track time spent browsing through lesson pages, only minutes spent watching videos. As a result the add-on only works when video lessons are used. Any videos added directly to a lesson, without using the shortcode, won’t be eligible for student study-time tracking with this add-on.


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

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.4

New Features:

  • Added support for BunnyNet CDN HLS video format.

Bug Fixes:

  • Warnings on the LearnDash goal widget.
  • Made add-on compatible with the latest version of PHP, WordPress, and LearnDash.

1.0.3

Bug Fixes:

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

1.0.2

New Features:

  • Multilanguage support added.

Bug Fixes:

  • Made add-on compatible with the latest version of PHP, WordPress, and LearnDash.

1.0.1

New Features:

  • UI/UX changed for LearnDash goals Progress.
  • Now LearnDash goals can be added through a widget.
  •  Buddyboss compatible style is added for shortcode/widgets

Bug Fixes:

  • [ld_goals_user_goal_progress] shortcode is removed and merged into [ld_goals_user_weekly_goal] shortcode
  • Minor code fixes
  • Fixed compatibility issues with the latest WordPress and LearnDash version

1.0

  • Initial Release

How can we help?