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.

Remove “Edit Profile” Link

When using the LearnDash Profile block/shortcode, there’s an “Edit profile” link below the user’s avatar. There’s a PHP snippet to change the URL to where

Custom “Edit Profile” Link

When using the LearnDash profile block (or ld_profile shortcode), there is an “Edit Profile” link that appears beneath the user’s avatar. By default, this link takes the user to the backend of WordPress, to the WordPress profile page.

Quiz Question Text Styles

You can adjust the text of your quiz questions… without affecting the answers, or any of the surrounding text. You can change its color, make

Course Grid Ribbon Styles

On the LearnDash course grid, there are several different types of ribbons (in the top-left corner), and the CSS to style each type is a

Course Grid Button Styles

There are several aspects of buttons that you have control over. background: change the background color (or use transparent) color: change the text color border-radius:

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.