LearnDash: Body Classes for Course Status
Adds body classes such as wpide-ld-enrolled and wpide-ld-completed on course, lesson and topic pages, so you can style or hide things with CSS depending on the student's status.
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 body classes such as wpide-ld-enrolled and wpide-ld-completed on course, lesson and topic pages, so you can style or hide things with CSS depending on the student's status.
Removes LearnDash lessons, topics, quizzes and certificates from your site's search results so visitors only find courses, not locked lesson pages.
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.
Adds a [wpide_ld_students] shortcode that shows social proof such as "1,240 students enrolled" on a course page, cached so it stays fast.
Hides posts and pages that you set to noindex in Yoast SEO or Rank Math from your own site search, such as thank-you pages and thin landing pages.
Adds a small, separated disclaimer built from blocks at the end of posts and pages, for example a "not financial or medical advice" notice.
Stops The Events Calendar from adding a noindex tag to calendar pages that currently have no events, useful for seasonal calendars that should stay in search results.
Adds body classes such as wpide-llms-enrolled or wpide-llms-completed on course and lesson pages so you can tailor the design for each student.
Removes LifterLMS lessons and quizzes from your site's search results so visitors find courses instead of locked lesson pages.
Allows each visitor at most 10 password attempts on password-protected posts and pages every 15 minutes, which stops bots from brute-forcing the post password.
Restricts front-end search results to blog posts, leaving out pages and other post types.
Wraps featured images on blog, archive and search pages in a link to the post, for themes that show the image without one. Works with classic themes and the Featured Image block.
Keeps Contact Form 7 scripts and styles off every page except those that contain a form, removing two requests from most pages.
Stops the Google reCAPTCHA script that Contact Form 7 adds to every page from loading where no form is shown, which speeds up the rest of the site and hides the badge there.
Stops the Easy Digital Downloads stylesheet loading on blog posts and other pages without store content, trimming a request from most page views.
Stops WooCommerce stylesheets and scripts from loading on pages that are not part of the store, such as blog posts and the about page.
Registers a native JavaScript module with WordPress's Script Modules API and loads it only on pages that contain a chosen block, so modern ES module code needs no bundler and costs nothing elsewhere.
Enqueues a JavaScript or CSS file only on the pages you list, instead of on every page, to keep the rest of the site fast.
Stops the threaded comments script from loading on pages that have no open comments or where threading is turned off.
Removes the password strength meter script (about 400 KB with its dictionary) from every page except the account, checkout and password reset pages where customers actually choose a password.
Records front-end URLs that run more database queries than a limit you set, with the query count and load time, and lists the worst offenders under Tools > Heavy Pages.
Wraps tables in posts and pages in a scrollable container so wide tables no longer break the layout on phones.
Removes the public pages, archive and search presence of a post type registered by a plugin or theme while keeping it editable in the admin.
Adds a box to the editor where you list the URLs of a page's translations; the matching hreflang tags (plus x-default) are printed in the page head, for multilingual sites that do not use a translation plugin.