Total Items

The Total Items Shortcode displays the total number of specific items in your LMS — such as Courses, Classes, Students, Instructors, Assignments, etc.

The [dtlms_total_items_count] shortcode is used to display the total number of educational items (such as classes, courses, quizzes, etc.) either globally or based on the logged-in user's contributions.

General Parameters

Parameter

Description

item-type

classes, courses, lessons, quizzes, questions, assignments, or packages – Choose the type of item for which you want to display count.

item-title

Custom title text. Overrides default titles like "Total Courses", "Total Classes", etc.

content-type

all-items or individual-items – Shows either total item count or count specific to the logged-in user. This applies only to administrators.

[dtlms_total_items item-type="classes" content-type="individual-items" item-title="Total Classes"]