LearnDash Attendance Add-on - Overview


Installation / Setup Instructions:

The following are the step by step instructions to setup Learndash Attendance Addon.

  • Install the LearnDash plugin & activate it.
  • Install BadgeOS plugin and activate it (it isn’t necessary but if you want to award badges and achievements on attendance activity then it must be activated).
  • Install Learndash Attendance Addon and activate it.
  • A new sub-menu “Attendance” and “Attendance Logs” will be added under the LearnDash menu.


After activating the LearnDash Attendance add-on, a Mark Attendance button will be visible to the registered students in the courses. By clicking the Mark Attendance button,  a student/user can mark his/her attendance in that particular course.

Note: Only those students can mark their attendance who are registered in that particular course.


General Settings:

For general settings, you have to follow path WP Dashboard > LearnDash > Attendance > General Option.

Restrict IP:

If enabled, students will be allowed to mark attendance from a single static IP address only.

“Restricted IP” message will be shown if a student/user mark the attendance with another IP address.

Enable Admin Mark Attendance:

If enabled `Admin` and `Group Leaders` can mark attendance for students from the course page and a Mark Attendance tab will be added at the course page (only `Admin` and `Group Leaders` can view this tab).

Under Mark Attendance tab, there is a field “Mark attendance for selected enrolled students”, select the enrolled students and click the “Mark Attendance” button. The  `Admin` and `Group Leaders` can mark attendance of multiple students at a time.

By clicking the “Mark Attendance” button, the message “Students attendance marked successfully.” will be shown.

Delete Attendance On Uninstall:

If enabled it will delete all courses and users’ attendance data.


License Option:

The license key can be configured from here. License keys can be found at your email address when you purchased the addon.

Place your Email address and license key in the field and click on Activate.


Disallow Attendance For Any Single Course:

To disallow attendance for any single course, you have to follow these steps:

  • Navigate to any desired single course edit page from LearnDash > Courses.
  • Search a meta box Disallow Attendance on the right side of the edit page.
  • Check the Disallow Attendance option.

  • Publish/Update the course.


Attendance Logs:

Admin can view the attendance count of all the registered students/users at the Attendance Logs page. 

Admin can view attendance reports in groups "By User" or "By Course". Then hover at a particular user or course and click “View Detail Logs”.

Admin attendance reports table has the following filters: User Role, Course, Category, Tag, Course Category, Course Tag, and Date Range. So the admin can narrow down his/her search easily and export the filtered attendance logs CSV file format.

Attendance Shortcode:

The LearnDash Attendance add-on allows you to display the attendance records on the frontend using a dynamic shortcode.

Shortcode Options:

  • Title: Enter title to display.
  • Display: table/list.
  • Count: number/percentage.
  • Time_frame: week/month/comma-separated date range.
  • Limit: Enter the number of records to show.
  • User_ids: comma-separated user IDs / current (to use current logged in user ID).
  • Course_ids: comma-separated course IDs / current (to use current course ID).
  • Wrap_id: Assign an id to a wrapping div.

Shortcode With All Possible Options:

[ld_attendance display="table" course_ids="xxx" user_ids="current" title="Week top attendance" time_frame="13-01-2020,17-01-2020" count="percentage" wrap_id="attendance_week_table_wrap" limit=xxx ]


Award BadgeOS Achievements:

Achievement on ‘Marking Attendance Greater than or Equal to Specific Percentage’:

To award achievement to students/users based on marking attendance greater than or equal to a specific percentage, you have to follow these steps:

  • Navigate to BadgeOS from the WP dashboard.
  • Navigate to the desired achievement type.
  • Click Add New.
  • Name the achievement.
  • Scroll down to Required Steps.
  • Click Add New Step.
  • Select the LearnDash Attendance Activity for Required field.
  • Select the Attendance Percentage Activity trigger.
  • Select the Marking Attendance Greater than or Equal to Specific Percentage trigger.
  • Select Course and Percentage.
  • Click on Save All Steps.
  • Select a featured image for that achievement from the Featured Image meta-box.
  • Publish/Update.

Note: You can also award points along with the achievement. To award points, you have to enter the number of points for the field Points Awarded under Achievement Data on the same edit page.

Achievement on ‘Marking Attendance Less than or Equal to Specific Percentage’:

To award achievement to students/users based on marking attendance less than or equal to a specific percentage, you have to follow these steps:

  • Navigate to BadgeOS from the WP dashboard.
  • Navigate to the desired achievement type.
  • Click Add New.
  • Name the achievement.
  • Scroll down to Required Steps.
  • Click Add New Step.
  • Select the LearnDash Attendance Activity for Required field.
  • Select the Attendance Percentage Activity trigger.
  • Select the Marking Attendance Less than or Equal to Specific Percentage trigger.
  • Select Course and Percentage.
  • Click on Save All Steps.
  • Select a featured image for that achievement from the Featured Image meta-box.
  • Publish/Update.

Note: You can also award points along with the achievement. To award points, you have to enter the number of points for the field Points Awarded under Achievement Data on the same edit page.

Achievement on ‘Marking Attendance Greater than or Equal to Specific Count:

To award achievement to students/users based on marking attendance greater than or equal to a specific count, you have to follow these steps:

  • Navigate to BadgeOS from the WP dashboard.
  • Navigate to the desired achievement type.
  • Click Add New.
  • Name the achievement.
  • Scroll down to Required Steps.
  • Click Add New Step.
  • Select the LearnDash Attendance Activity for Required field.
  • Select the Attendance Percentage Activity trigger.
  • Select the Marking Attendance Greater than or Equal to Specific Count trigger.
  • Select Course and Percentage.
  • Click on Save All Steps.
  • Select a featured image for that achievement from the Featured Image meta-box.
  • Publish/Update.

Note: You can also award points along with the achievement. To award points, you have to enter the number of points for the field Points Awarded under Achievement Data on the same edit page.

Achievement on ‘Marking Attendance Less than or Equal to Specific Count:

To award achievement to students/users based on marking attendance less than or equal to a specific count, you have to follow these steps:

  • Navigate to BadgeOS from the WP dashboard.
  • Navigate to the desired achievement type.
  • Click Add New.
  • Name the achievement.
  • Scroll down to Required Steps.
  • Click Add New Step.
  • Select the LearnDash Attendance Activity for Required field.
  • Select the Attendance Percentage Activity trigger.
  • Select the Marking Attendance Less than or Equal to Specific Count trigger.
  • Select Course and Percentage.
  • Click on Save All Steps.
  • Select a featured image for that achievement from the Featured Image meta-box.
  • Publish/Update.

Note: You can also award points along with the achievement. To award points, you have to enter the number of points for the field Points Awarded under Achievement Data on the same edit page.

Award BadgeOS Ranks:

Rank on ‘Marking Attendance Greater than or Equal to Specific Percentage’:

To award rank to students/users based on marking attendance greater than or equal to a specific percentage, you have to follow these steps:

  • Navigate to BadgeOS from the WP dashboard.
  • Navigate to the desired rank type.
  • Click Add New.
  • Name the rank.
  • Scroll down to Required Steps.
  • Click Add New Step.
  • Select the LearnDash Attendance Activity for Required field.
  • Select the Attendance Percentage Activity trigger.
  • Select the Marking Attendance Greater than or Equal to Specific Percentage trigger.
  • Select Course and Percentage.
  • Click on Save All Steps.
  • Select a featured image for that rank from the Featured Image meta-box.
  • Publish/Update.

Note: You can also award that specific rank if the student/user earned a specific number of points of specific point type. To do so, you have to navigate to Rank Data on that rank edit page. Enable the option Allow reach with points?. Enter the number of points and select point type for the Points to Unlock option. 

Rank on ‘Marking Attendance Less than or Equal to Specific Percentage’:

To award rank to students/users based on marking attendance less than or equal to a specific percentage, you have to follow these steps:

  • Navigate to BadgeOS from the WP dashboard.
  • Navigate to the desired rank type.
  • Click Add New.
  • Name the rank.
  • Scroll down to Required Steps.
  • Click Add New Step.
  • Select the LearnDash Attendance Activity for Required field.
  • Select the Attendance Percentage Activity trigger.
  • Select the Marking Attendance Less than or Equal to Specific Percentage trigger.
  • Select Course and Percentage.
  • Click on Save All Steps.
  • Select a featured image for that rank from the Featured Image meta-box.
  • Publish/Update.

Note: You can also award that specific rank if the student/user earned a specific number of points of specific point type. To do so, you have to navigate to Rank Data on that rank edit page. Enable the option Allow reach with points?. Enter the number of points and select point type for the Points to Unlock option. 

Rank on ‘Marking Attendance Greater than or Equal to Specific Count:

To award rank to students/users based on marking attendance greater than or equal to a specific count, you have to follow these steps:

  • Navigate to BadgeOS from the WP dashboard.
  • Navigate to the desired rank type.
  • Click Add New.
  • Name the rank.
  • Scroll down to Required Steps.
  • Click Add New Step.
  • Select the LearnDash Attendance Activity for Required field.
  • Select the Attendance Percentage Activity trigger.
  • Select the Marking Attendance Greater than or Equal to Specific Count trigger.
  • Select Course and Percentage.
  • Click on Save All Steps.
  • Select a featured image for that rank from the Featured Image meta-box.
  • Publish/Update.

Note: You can also award that specific rank if the student/user earned a specific number of points of specific point type. To do so, you have to navigate to Rank Data on that rank edit page. Enable the option Allow reach with points?. Enter the number of points and select point type for the Points to Unlock option. 

Rank on ‘Marking Attendance Less than or Equal to Specific Count:

To award rank to students/users based on marking attendance less than or equal to a specific count, you have to follow these steps:

  • Navigate to BadgeOS from the WP dashboard.
  • Navigate to the desired rank type.
  • Click Add New.
  • Name the rank.
  • Scroll down to Required Steps.
  • Click Add New Step.
  • Select the LearnDash Attendance Activity for Required field.
  • Select the Attendance Percentage Activity trigger.
  • Select the Marking Attendance Less than or Equal to Specific Count trigger.
  • Select Course and Percentage.
  • Click on Save All Steps.
  • Select a featured image for that rank from the Featured Image meta-box.
  • Publish/Update.

Note: You can also award that specific rank if the student/user earned a specific number of points of specific point type. To do so, you have to navigate to Rank Data on that rank edit page. Enable the option Allow reach with points?. Enter the number of points and select point type for the Points to Unlock option.