Log Slow Page Loads
Writes a line to the PHP error log for every request that takes longer than a set number of seconds, with the URL, time, memory and query count.
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.
Writes a line to the PHP error log for every request that takes longer than a set number of seconds, with the URL, time, memory and query count.
Adds a [wpide_login_form] shortcode that shows a login form on any page, or a "you are logged in" message with a logout link.
Covers the login page with a full-screen background photo and a dark overlay that keeps the form readable.
Adds a [wpide_lost_password] shortcode with a "reset your password" form and points WordPress's "Lost your password?" links to the page that holds it.
Saves small thumbnails with stronger compression and large images with higher quality, so grids load fast while hero images stay crisp, instead of one quality for everything.
Sends Gravity Forms entries to the Spam list when any field contains a word or phrase from your block list, so they skip notifications and stay out of your entries.
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.
Serves any post or page as clean Markdown when .md is added to its address (or ?format=markdown), and publishes an /llms.txt index of your pages and recent posts for AI tools.
Adds wpide_timer_start() and wpide_timer_stop() helpers that measure the time and memory a piece of code uses and write the result to the PHP error log, to find slow functions.
Hides the coupon code field on MemberPress registration forms so visitors without a code don't leave to hunt for one; coupon links keep working.
Shows your own notice above the login form, for example to point customers to the shop account page or announce maintenance.
Adds a "Minimal" toolbar choice to ACF WYSIWYG fields with only bold, italic, link and lists, for short formatted text where full editing is too much.
Rejects a Gravity Forms date of birth that makes the person younger than the age you set, for age-restricted sign-ups and applications.
Requires message fields to contain a few real words, which stops one-word and empty-looking submissions and gives you enough detail to reply.
Requires the message field of Fluent Forms to contain at least a few words, so you get enough detail to answer and fewer junk submissions.
Requires WPForms paragraph fields to contain at least a few words, so you get enough detail to reply and fewer one-word junk messages.
Ignores searches shorter than a few characters, which return huge, useless result lists and put extra load on the database.
Gives Contact Form 7 forms clean full-width fields, clear focus outlines, readable error messages and a solid submit button that work in light and dark themes.
Gives Fluent Forms fields consistent borders, rounded corners, a visible focus ring, clear errors and a bold submit button that follow your theme's fonts.
Gives WPForms fields consistent borders, rounded corners, a visible focus ring, clear errors and a bold submit button that follow your theme's fonts.
When a visitor submits a form with missing or invalid fields, moves keyboard focus to the first problem field and announces the browser's error message to screen readers.
Moves the scripts you list from the page head to the footer, so they stop blocking the page from rendering.
Reorders the comment form so visitors fill in their name and email before writing the comment, the order many themes used before WordPress 4.4.
Adds a simple sign-up box at the end of post content that links to your newsletter page or form.