This shortcode allows you to display a list of LearnDash courses together to create a single “course library” page for your membership site. Three LearnDash courses are listed per row. Requires the latest version of the Memberium page templates to work. We recommend this be used with the ‘Elementor‘ page builder plugin. It can also be used with other page builder plugins. If you’d prefer to not use a page builder plugin at all, you can use the [membc_course-grid-learndash-basic] shortcode instead.
Here’s an example of this shortcode being used to list multiple LearnDash courses on a single WordPress page to make a single ‘course directory’ or ‘course library page.
Members that can access a course will be able to click through and track their course progress once started, as the first two courses are shown above here. If a member doesn’t have access to a course, that course will appear as being “locked”, as the bottom course does above.
Here’s an example use of this shortcode completely filled out…
[membc_course-grid-learndash membership_level="Silver" course_completion_tag_id="198" lms_course_id="587" course_link="https://your-course-link-goes-here.com/course-1" course_image_url="http://via.placeholder.com/600x600" course_title="Your Course Title Goes Here" course_description="Insert a brief description of what a member will learn from completing this section of your membership site or delete this sentence if you don't want to include one."]
membership_level: The membership level name(s) that can access this course. If you’d like to include multiple membership levels, include a comma separated list of membership names within this parameter. The membership level name used must exactly match the “Level Name” set in your site’s ‘Memberium Membership Settings.’
course_completion_tag_id: The ActiveCampaign tag ID of the course completion tag that gets applied when this specific course is completed. Once added correctly, a green check box will appear over the course image for members who have completed this course.
lms_course_id: The LearnDash course ID, or LearnDash course ‘post ID’, that you’re linking to. Here’s where to find the LearnDash course ID for a specific course. Once set, a LearnDash progress bar will automatically appear below the description to display a logged in members course progress.
course_link: The URL of the LearnDash course that you want to link to.
course_image_url: The image URL you would like to display as the image shown for the course. You can use WordPress’ media editor to easily manage your images and copy the image URL from, here’s an example.
course_title: The course title that you want to have listed.
course_description: A brief, optional description of the course.
This shortcode and css styling used comes pre-packaged with the latest version of Memberium’s page templates. If you’d like to have them installed please contact support and ask to have them installed on your site. The installer adds a group of Memberium Custom Shortcodes that are pre-built for you.
If you’d like to edit or modify the way this specific shortcode works, you can do so under Memberium > Custom Shortcodes > then edit the “Course-Grid-LearnDash” shortcode. This is only recommended for advanced users or if you’re comfortable editing HTML.
How do I create my own course library page with this shortcode?
Just repeat the shortcode and fill in the info for each course that you want to list in your course library. To learn how to do this and decide which shortcode you should use, we recommend you check out this in-depth post on this: How to Easily Build a Responsive Course Library Page for Your Membership Site With Memberium
How do I make my course library page full width like the example picture shown for this shortcode?
If you’re theme comes with a “Full Width” page template you’ll want to set the page template to the Full Width option. If you’re theme doesn’t come with a ‘Full Width’ page template and you still want to use one, you can download the plugin Fullwidth Templates for Any Theme & Page Builder and select the “FW Fullwidth” page template that you’ll be able to use once you’ve activated that plugin.