Pause Autoplaying Videos When Off Screen
Pauses background and autoplaying videos when they scroll out of view or the browser tab is hidden, and resumes them when they come back, saving battery and 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.
Pauses background and autoplaying videos when they scroll out of view or the browser tab is hidden, and resumes them when they come back, saving battery and data.
Removes Jetpack modules you never want used, such as Likes, Comments or Stats, from the list of available modules, so nobody can turn them on by accident.
Adds preconnect hints so the browser opens connections to external hosts (Google Fonts by default) earlier.
Preloads the font files used above the fold, so text appears in the right font sooner and the layout shifts less.
Tells the browser to fetch the featured image of the current post or page right away, which improves Largest Contentful Paint when it is shown at the top.
Preloads the logo set in the theme or Site Editor so it appears with the first paint of the header.
Upgrades WordPress speculative loading (6.8+) from prefetch to prerender with moderate eagerness, so pages open almost instantly after a hover.
Adds an HTML comment at the bottom of front-end and admin pages with the number of database queries, generation time and peak memory. Visible to administrators only.
Gives memory-hungry admin tasks like image processing and imports more room, without raising the limit for every front-end visit.
Increases the number of variations WooCommerce loads with the page (30 by default), so large variable products update price and stock instantly and hide unavailable combinations.
Stops the block library, classic theme and global styles stylesheets from loading on the front end. For classic themes and page builders that do not use blocks.
Stops the Dashicons icon font from loading on the front end for visitors, saving a request. Logged-in users still get it for the admin bar.
Dequeues every stylesheet loaded from Google Fonts and removes the related preconnect hints, for speed and GDPR compliance.
Stops chosen plugin or theme scripts and stylesheets from loading on the front end, optionally everywhere except the pages where they are needed.
Removes WooCommerce's "Status" and "Recent reviews" boxes from the WordPress dashboard, which also skips the queries they run on every dashboard visit.
Drops the jQuery Migrate compatibility script from public pages. Only use it when your theme and plugins work with current jQuery.
Drops the "All dates" dropdown from post and media lists, saving a slow query on sites with many thousands of posts or files.
Keeps a different number of revisions for each content type, for example many for posts and none for products.
Stops WordPress from checking for scheduled tasks on every page view; you trigger wp-cron.php from your server's cron instead, which is faster and more reliable.
Makes WordPress generate WebP versions instead of JPEG and PNG for every image size it creates on upload, which usually cuts image weight by a quarter or more.
Shows a soft animated "skeleton" shimmer in the space of content images until each image has loaded, so pages feel faster and less jumpy on slow connections.
Collapses the comments section behind a "Show comments" button, so long discussions do not distract from the article or load avatars until wanted.
Counts the external HTTP requests WordPress, plugins and themes make while building a page, and lists each URL, status and time in an admin bar menu for administrators.
Replaces the WordPress version in the bottom right of admin screens with the PHP version, peak memory use and database query count of the current page.