LifterLMS Social Learning Shortcodes
Description
Generates a paginated directory of WordPress users. Each user’s avatar, @handle, and display name.
Options
None
Usage
[llms_sl_directory]
Description
Display a list of recent stories for the given post (course or membership).
Useful in a course or lesson sidebar or on a membership page to automatically display recent social activity related to the course or membership.
Options
Name | Accepts | Default | Description |
count | int |
5 |
Determines how many recent stories to display |
post_id | int |
null |
WP Post ID of the post to display recent stories from. If none supplied, will use the current post’s ID. If used on a lesson, displays content from the lesson’s course. |
Usage
[llms_sl_recent_stories]
[llms_sl_recent_stories count="10"]
[llms_sl_recent_stories post_id="1234"]
Description
Displays the social learning timeline (activity feed).
Options
Name | Accepts | Default | Description |
fitler | string |
'' |
Filter timeline to the activity of a specific course or membership. Accepts the “slug” or “post name” of a course or membership. |
Usage
[llms_sl_timeline]
[llms_sl_timeline filter="my-course"]