Use code PERFMATTERS for an extra 10% off!

General

How to disable emojis in WordPress

Emojis are fun and all, but if you are aren’t using them, they actually load a JavaScript file (wp-emoji-release.min.js) on...

How to disable or enable scripts with Regex

You can disable or enable scripts in the Perfmatters Script Manager using Regex (regular expressions). This is especially helpful for...

How to disable WooCommerce widgets

WooCommerce by default comes with a lot of widgets installed. A lot of times these aren’t used anywhere as themes...

How to change the Heartbeat frequency in WordPress

The WordPress Heartbeat API uses /wp-admin/admin-ajax.php to run AJAX calls from the web-browser. While this is great and all it can...

How to prefetch a link (URL) in WordPress using Instant Page

Our Instant Page feature lets you automatically prefetch URLs in the background after a user hovers over a link. This...

How to disable self-pingbacks in WordPress

A pingback is basically an automated comment that gets created when another blog links to you. A self-pingback is created when...

How to disable RSS feeds in WordPress

By default, WordPress generates all types of different RSS feeds for your site. While RSS feeds can be useful if...

How to preload a resource in WordPress

Preload allows you to specify resources (such as fonts, images, JavaScript, and CSS) that are needed right away or very...

How to enable CDN rewrite in WordPress

The CDN rewrite option allows you to easily use third-party CDN providers on your WordPress site. Rewrite means that it...

How to disable and limit post revisions in WordPress

WordPress automatically saves revisions when you are working on posts and pages. These can begin to add up pretty quick....

How to disable WooCommerce status meta box

By default, WooCommerce has a status meta box (widget) that loads in the WordPress dashboard. A lot of times this...

How to change autosave interval in WordPress

WordPress by default automatically saves a draft every 60 seconds (1 minute). There are reasons why you might want to...

How to optimize your WordPress database (a few simple clicks)

Optimizing your WordPress database is important when it comes to keeping your site healthy and running fast. Over time things...

How to defer JavaScript in WordPress

Due to the nature of how JavaScript works, you will most likely see an “Eliminate render-blocking resources” warning in speed...

How to delay JavaScript until user interaction in WordPress

While defer JavaScript pushes the script to the bottom of the page load, you can instead delay JavaScript based on user interaction. This...

WordPress add code to header, body, footer

There are times when you might need to add custom code to your WordPress site’s header (head), body, or footer....

How to create a blank favicon on your WordPress site

If you’re constantly benchmarking new WordPress sites, especially fresh installs, it can be annoying as a missing favicon will generate...

How to remove the WordPress author comment link and website field

WordPress comments, by default, include a website field. This also creates a link on the author’s name. First off, this...

How to use the Script Manager’s MU mode to disable WordPress plugins

The Script Manager is a very powerful tool and lets you easily disable front-end scripts on a per post/page or...

How to disable comments in WordPress

There are times when you have a WordPress site where you won’t need, want, or use comments. Opinions are good,...

CDN URL

Your CDN provider should be able to provide you with your CDN URL, which you can use in the Perfmatters...

How to delete WordPress transients (expired or all)

WordPress transients provide a simple and standardized way for developers to store cached data in the database temporarily, along with...

How to enable the Script Manager’s Testing Mode

We always recommend testing locally or on a staging site first when using the Script Manager, as you could break...

How to delete WordPress auto-drafts

WordPress automatically saves your post’s content while you are editing it. This is called an auto-draft. You might also see it...

How to add an exception based on user state: logged in or logged out

There might be times when you need to add an exception for a script or plugin based on the state...