Find the Largest Custom Field Values (WP-CLI)
Adds a "wp largest-meta" command listing the biggest post, user and term meta rows with their key and owner, the quickest way to find plugins bloating the database with huge serialized data.
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 "wp largest-meta" command listing the biggest post, user and term meta rows with their key and owner, the quickest way to find plugins bloating the database with huge serialized data.
Shortens how long WooCommerce's Action Scheduler keeps finished tasks from 31 days to 7, which keeps its database tables small on busy stores.
Excludes scripts you list, such as a consent banner, chat widget or analytics loader, from WP Rocket's "Delay JavaScript execution" so they run right away.
Removes the font families you do not use from the theme's font list, so editors see a short list and the unused fonts are never loaded.
Adds CSS selectors and stylesheet URLs that WP Rocket's Remove Unused CSS must always keep, such as classes added by JavaScript for menus, sliders and pop-ups, so those elements do not lose their styling.
Loads background images only when their section is about to scroll into view, for any element marked with data-wpide-bg="image-url", saving bandwidth on long landing pages.
Keeps only the five most recent revisions of each post, which stops the database from growing with old copies.
Prints an HTML comment at the bottom of each page, visible to administrators, listing every script and stylesheet handle loaded and its source, to find what to optimize.
Replaces the single large block stylesheet with small per-block styles that load only when a block is actually used, which helps classic themes most.
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.
Loads the stylesheets you choose in the background so they no longer delay the first paint, ideal for CSS of things below the fold like sliders or forms.
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.
Marks the background image of the first Cover block on a page with fetchpriority="high" and turns off lazy loading for it, which speeds up hero sections (better LCP).
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.
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.
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.
Ignores searches shorter than a few characters, which return huge, useless result lists and put extra load on the database.
Moves the scripts you list from the page head to the footer, so they stop blocking the page from rendering.
Shows administrators the object cache hit rate, hits and misses for the current page in the admin bar, to check whether Redis or Memcached is actually helping.