LifterLMS: Turn Off Comments on Lessons and Quizzes
Closes and hides comments on LifterLMS lessons and quizzes without affecting comments on your blog posts.
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.
Closes and hides comments on LifterLMS lessons and quizzes without affecting comments on your blog posts.
Replaces the Gravity Forms AJAX loading spinner with a small inline SVG spinner in your brand color, with no extra file to download.
Opens linked images in post content in a full-screen overlay instead of a new page, with keyboard and click-to-close support and no external library.
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.
Stops checkout when an address line is longer than your carrier's label allows (often 35 characters) and asks the customer to use the second line.
Allows only a few Contact Form 7 submissions per IP address each hour and treats the rest as spam, which stops bots and angry repeat senders flooding your inbox.
Allows only one of each product in the cart, as if "Sold individually" were ticked on every product. Useful for licenses, courses and bookings.
Allows only a few Fluent Forms submissions per IP address each hour and shows a polite message after that, which stops flooding and repeated spam.
Stops a visitor from sending more than a few Gravity Forms entries per hour from the same IP address, with a polite message, to block flooding and repeat spam.
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.
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.
Caps uploads at 30 files per hour for each user who is not an administrator, which limits the damage a compromised author account or a buggy front-end upload form can do.
Stops a user from signing up for another site once they already own the number you set; super admins are never limited.
Caps the number of accounts for chosen roles, such as a maximum of 3 Editors, and blocks adding or promoting anyone beyond that limit.
Blocks a customer from placing more than a set number of orders in 24 hours, matched by billing email, to stop card testing and reseller bots.
Allows only a few password reset requests per hour from the same IP address, which stops reset-email flooding.
Keeps only the five most recent revisions of each post, which stops the database from growing with old copies.
Cuts long post titles to two lines and excerpts to three lines in blog grids and Query Loop blocks, so cards line up neatly whatever the text length.
Keeps every post in exactly one category: when several are ticked, only the most specific one is kept on save, which keeps URLs, breadcrumbs and archives tidy.
Replaces WordPress's permissive cross-origin (CORS) headers with an allow-list, so only the browser apps you name, such as a headless front end, can call the REST API with credentials.
Restricts front-end search results to blog posts, leaving out pages and other post types.
Allows only a few new accounts per IP address per day, which stops bots and people from creating piles of accounts.
Allows only a few WPForms submissions per IP address each hour and blocks the rest with a polite message, to stop flooding and repeat spam.
Gives authors and contributors a short list of everyday blocks (text, headings, lists, images, quotes, embeds) while editors and administrators keep every block.