LearnDash: Course Progress Bar Shortcode
Adds a [wpide_ld_progress] shortcode that shows the logged-in student's progress in a course as an accessible bar with "4 of 10 steps (40%)".
Snippet Library
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
Adds a [wpide_ld_progress] shortcode that shows the logged-in student's progress in a course as an accessible bar with "4 of 10 steps (40%)".
Sends you an email whenever a user is given access to a LearnDash course, whether through purchase, a group or manual enrollment.
Gives users access to chosen LearnDash courses as soon as they are given a role, for example enrolling every new "Employee" in the compliance training.
Shows a notice at the top of course, lesson and topic pages telling enrolled students the date their access ends, for courses that use access expiration.
Gives editors access to Appearance > Menus and Widgets without letting them switch themes or open the Customizer.
Gives editors access to the Redirection plugin's screens so they can add and fix redirects themselves, without making them administrators.
Gives users an extra role when they join a LifterLMS membership and removes it again when they leave, so other plugins can use roles for access.
Adds a [wpide_llms_enrolled id="123"] shortcode that shows its content only to students enrolled in a course or membership, with an optional message for everyone else.
Adds a [wpide_llms_progress] shortcode that shows the logged-in student's progress through a course as an accessible bar with a percentage.
Adds a [wpide_wpml_switcher] shortcode that prints an accessible list or dropdown of your WPML languages, with native names, codes or flags, anywhere you can place a shortcode.
Shows only the heading levels you allow (for example H2 to H4) in the Heading block toolbar, so editors keep a clean document outline and never add a second H1.
Adds a "Already a member? Log in" link below the MemberPress access-denied message, returning members to the same page after login.
Ends all of a user's active sessions as soon as an administrator changes or removes their role, so a demoted account cannot keep using old access.
Adds a red asterisk after the label of every required field in standard HTML forms, so visitors can see at a glance what they must fill in.
Gives MemberPress members access to the LearnDash courses tied to their membership when they pay, and removes it when the membership expires.
Gives members an extra WordPress role when they buy a membership and removes it when that membership expires, so role-based plugins can follow MemberPress.
Lists your memberships with "Join" links right below the MemberPress unauthorized message, so visitors can upgrade without searching for the pricing page.
Hides navigation menu items from people who don't hold a given MemberPress membership, using a CSS class like wpide-mepr-123 on the menu item.
Sends logged-out visitors to the login page when they open entries or the archive of a chosen post type, and hides those entries from them in the REST API.
Makes the subsites you list visible only to logged-in members of that site; everyone else is sent to the login page and non-members see a friendly notice.
Adds a [wpide_modal button="Open"]...[/wpide_modal] shortcode that shows a button which opens its content in an accessible modal window, built on the native dialog element.
Gives every classic menu location its own accessible name (for example "Primary menu" or "Footer menu"), so screen reader users can tell navigation regions apart.
Gives links and buttons that contain only an icon an accessible name taken from their title attribute or the icon's label, so screen readers do not announce them as just "link" or "button".
Gives links in your content whose only content is an image with empty alt text an accessible name, using the title of the page they point to, so screen readers no longer announce just the URL.