Remove “Edit Profile” Link

Updated 3 years ago
by Dave Warfel

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 that link goes, but if you want to just remove it altogether, there are two ways to go about it.

The best way is to use the built-in setting in the LearnDash Profile block. In the right sidebar, under Settings, toggle Show Profile Link to off. This will remove the “Edit profile” link.

If that doesn’t work for you, you can also do it with the following CSS:

.learndash-wrapper .ld-profile-summary .ld-profile-card .ld-profile-edit-link {
	display: none;
}

We highly recommend using the built-in toggle in the LearnDash block. That is the best method.

All CSS code should either be placed in a child theme’s main CSS file (typically style.css), or the Additional CSS area of the WordPress Customizer.

How to Add CSS to Your Site

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.