📢 Now you can audit the Performance, Accessibility, SEO, & best practices of ALL connected websites on one screen. Introducing Lighthouse

MainWP Blog

Remove Unused CSS WordPress
Tips & Tricks
Sebastian Moran

How to Remove Unused CSS on Your WordPress Site

When you are auditing your WordPress website speed with the performance audit tools such as Lighthouse or GTmetrix, one of the most challenging recommendations that will show is to remove unused CSS that is being loaded on your WordPress site. There are several WordPress plugins that claim to remove unused CSS but many fail. Here are the two easy plugins to be able to remove unused CSS that is loading on your WordPress website. 1. Core Web Vitals & PageSpeed Booster Core Web Vitals & PageSpeed Booster – WordPress plugin The Core Web Vitals & PageSpeed Booster is a new

How to Improve Facebook Pixel Load Times on Your Site
Tips & Tricks
Sebastian Moran

How to Improve Facebook Pixel Load Times on Your Site

When you are using the Facebook Pixel for tracking how effective the Facebook advertising campaign that might be running for your site the request can slow down the load time of your site. In the case of the Facebook Pixel tracking code, it can add almost up to a second on the site’s load time when you are testing the site using site load testing like GTmetrix or WebPageTest. The simplest way to improve the Facebook Pixel load times on your site is to use the Flying Scripts plugin. After you have installed and activated the Flying Scripts plugin on

WordPress New Features 2022
Tips & Tricks
Sebastian Moran

New Features in WordPress in 2022

With WordPress 5.9 on track to be released on the 29th January 2022, it will bring with it Full Site Editing (FSE). In order to be able to use the full site editing feature in WordPress, you will need to be using a block-based theme. If you want to watch a preview of new features coming to WordPress then you should watch the State of the Word for 2022 from the 14th of December. Full Site Editing Full site editing will allow you to directly edit all parts of the site from templates to how the site looks. It will

Tips & Tricks
Sebastian Moran

Easily Removing the Bloat in WordPress

WordPress by default can enable a number of back-end and front-end features which can lead to performance issues but there are code snippet and plugin methods to easily remove the bloat. MainWP has an extension for being able to save and then run code snippets on all connected child sites. There are a vast number of code snippets that will allow you to remove front-end and back-end bloat in WordPress and a number of plugins on the MainWP GitHub code snippets repository. A number of code snippets are also posted on the MainWP community you can filter by tags to

Easily Delete Jetpack Options and Transients on Your Site
Tips & Tricks
Sebastian Moran

How to Easily Delete Jetpack Options and Transients on Your Site

Jetpack is a commonly used plugin on-sites the plugin will not remove all of its data when it is uninstalled. You can use a simple plugin that will delete two of the common option names in Jetpack. In order to delete the two main options for Jetpack, the plugin will need to be installed from the locally downloaded zip file and activated and it will delete the two options and then delete itself. jetpack_options Jetpack_private_options A complete list of the Jetpack options is as follows; jetpack_activated jetpack_activation_source jetpack_available_modules jetpack_connection_active_plugins jetpack_dismissed_connection_banner jetpack_options jetpack_private_options jetpack_sync_https_history_home_url jetpack_sync_https_history_site_url jetpack_tos_agreed Another plugin option to easily

Tips & Tricks
Sebastian Moran

How to Improve Site Performance when using Stripe in WooCommerce

The WooCommerce Stripe Gateway is a widely used plugin for adding Stripe integration to your WooCommerce store. A recent release in version 5.7.0 of the Stripe plugin would cause a number of Stripe-related assets requests and external Stripe requests to load on single product pages and cart pages on your site. This would cause product pages and the cart page of the site to be much slower due to the extra requests being loaded from Stripe on them. The express checkout options can be controlled in the Stripe payment gateway from; WooCommerce > Settings > Payments > Stripe If you

Tips & Tricks
Sebastian Moran

How to use the Fluent Support Plugin on Your Site

Self-hosted support plugins are available for WordPress but a number can be limited. One of the newest support plugins that were launched is Fluent Support. The company behind the plugin WP Manage Ninja is also behind well-built plugins such as FluentCRM, Fluent Forms, WP Social Ninja, and Ninja Tables. To get going to setup the support portal setup you will need to create a support portal page and use the shortcode on it. The Portal page in Fluent Support uses the following shortcode. [fluent_support_portal] To show the built-in login form use [fluent_support_login] For the user registration use this shortcode [fluent_support_signup]

Tips & Tricks
Sebastian Moran

How to use the Human Presence Service on Your Site

Stopping spam comments for spam form submissions is normally solved using an anti-spam plugin or service or in the case of a form plugins using reCaptcha or another captcha service. One of the newer options for protecting spam on your site is Human Presence. Unlike using a captcha service on-site forms the spam protection is invisible to site users and a frictionless experience. The service also integrates with a number of other platforms and CMS such as Magento, Drupal, and Shopify. The free version of the Human Presence plugin and service supports the following WordPress, WooCommerce, and form types. If

Tips & Tricks
Sebastian Moran

What Data Does WooCommerce Usage Tracking Send

WooCommerce can send a bunch of site data out if usage tracking is enabled on your site. This might have been enabled when your first setup WooCommerce on your site when you used the setup wizard. An example of some of the site data that is being sent out when WooCommerce usage tracking is enabled; Site URL Admin email address Active payment gateways Active shipping methods Activated plugins in list form MySQL version PHP version PHP Settings, such as maximum post size, maximum input vars, if suhosin is enabled, if cURL, SOAP and fSock are enabled Template overrides Theme Total

MainWP Extensions
Sebastian Moran

Handy Wordfence Constants

Wordfence is a commonly used plugin for site security that has a free version and a premium version. Wordfence includes a number of constants that can be added to the site’s wp-config.php file to turn off specific features and change some of the defaults. MainWP has an easy-to-use code snippets plugin that will allow you to save these constants to any of the connected child sites into the child sites wp-config.php file. The Wordfence scan results page will show up to 100 results by default this can be increased or decreased by using the following constant and setting the value

Looking for something?