LearnDash Snippets

A collection of CSS & PHP snippets to improve your LearnDash design and alter some functionality. Brief explanations of what each snippet does, along with the code to copy/paste.

How to Add Excerpts for LearnDash Courses

WordPress has a built-in feature called excerpts. Excerpts are designed for creating shorter descriptions of your content—think of them as a brief summary. LearnDash disables

Hide Course Content on Course Pages

LearnDash outputs a list of course content automatically on the course page. This includes all of your lessons, topics and/or quizzes. You might want to

Custom Course Grid Button URLs

You can use the following code to redirect all course grid buttons to a different URL. This will redirect ALL course grid buttons, not send

LearnDash Profile Avatar Style

If you just want to remove the avatar that is displayed with the LearnDash profile block/shortcode, you can do so with the following CSS: .learndash-wrapper

Filters

Snippet Type

Category

Tags

Membership Level

Forum Rules

Be Kind & Patient

We’re here to learn and/or help each other. Please don’t be mean, rude, or condescending. Treat all members the way you should be treating dogs and your elders—with the utmost love & respect.

External Links

✅ Other websites that add value, help solve problems & contribute to the discussion. ❌ Affiliate links are prohibited. (Site owners may use affiliate links to help support the site.)

Promotion

✅ You may promote your own products/services if they are relevant to an existing discussion. You must disclose your relationship with the product(s).
❌ You may not create new posts simply to promote your products.

Non-LearnDash Topics

❌ General (free) Forum: Only LearnDash-specific topics are allowed.
✅ Premium Forums: You are allowed to post other questions tangentially related to LearnDash. Please use the appropriately named forum. If it doesn’t exist, use the “LearnDash Integrations” forum.

Our Right to Remove

We reserve the right to remove any content, at any time, for any reason. We can also merge one post with another. We will exercise caution when removing content and always try to provide an explanation.