MainWP Blog

Remove WPCode WordPress Plugin Data
Tips & Tricks
Sebastian Moran

How to Remove the WPCode Plugin Data on Your Site

The WPCode plugin is a commonly used plugin for adding code snippets into the header and footer of your WordPress site but for some reason, you may want to move to a different code snippets plugin. In that case, you need to export the existing code snippets, add the existing code snippets into site-specific, or import them into the different code snippets plugin. To export existing code snippets, navigate to; Code Snippets > Tools > Export To delete the stored code snippets in the WPCode plugin, you will need to delete those in wp-admin; Code Snippets > Code Snippets Additionally,

Set up Biometric Logins and Passkeys on WordPress
Tips & Tricks
Sebastian Moran

How to Use the Biometric Logins and Passkeys on WordPress

The iThemes Security Pro plugin added new beta biometric logins and passkey support. This now means that it is much easier for passwordless login to your WordPress site. Passkeys work on Apple and iOS devices and are also supported by Microsoft and Windows. Android support for Passkeys should be coming by the end of 2022. As part of the FIDO alliance, Google, Apple, and Microsoft are all committed to expanding the FIDO standard for passwordless sign-in. The WebAuthn standard is supported in Apple and Google devices. To check if your browser supports this, then use this site. The Face ID,

Tips & Tricks
Sebastian Moran

How to Reduce CPU Usage from the WP Rocket Plugin

The WP Rocket plugin is a commonly used solution for full-page caching, minification, and CDN integration. The plugin has two features that can contribute to higher CPU usage on the site’s server if used without changes to the default settings. 1. Preloading Resources The first feature is preload, this is when the cache is created based on a sitemap of the site. First, make sure to adjust the cache lifetime to a more extended period, such as 24 hours this will mean that the cache does not have to be regenerated so frequently. The preload feature has parameters that can

Remove FluentSMTP Email Logs
Tips & Tricks
Sebastian Moran

How to Remove Email Logs for FluentSMTP WordPress Plugin

If you are using the FluentSMTP plugin for sending site emails using a transactional email provider such as AWS SES, Postmark, Sendinblue, SendGrid, or SparkPost then the logs database table could cause a lot of bloat on your site. The below database table for FluentSMTP logs could increase to 5-12 GB in size: wp_fsmpt_email_logs You can use the WP-Optimize plugin or phpMyAdmin to check how large the email logs database table is. With the WP-Optimize plugin installed and activated, go to; WP-Optimize > Database > Tables Then search for fsmpt or fluent, and the plugin will find the table and

EWWW Image Optimizer - Constants
Tips & Tricks
Sebastian Moran

Useful Constants for the EWWW Image Optimizer Plugin

The EWWW Image Optimizer plugin is a commonly used plugin and service for optimizing images on your WordPress website. The plugin includes a large number of constants that can be defined in your site’s wp-config.php file. EWWW Image Optimizer Plugin If you want to enable the native lazy loading in the EWWW Image Optimizer plugin, then you can use this constant; define( ‘EIO_ENABLE_NATIVE_LAZY’, true ); To disable the lazy loader auto-scaler, you can use this constant; define( ‘EIO_LL_AUTOSCALE’, false ); To load the lazysizes.js file in the header rather than the footer, then use this constant; define( ‘EIO_LL_FOOTER’, false );

Enable | Disable Debugging WordPress
Tips & Tricks
Sebastian Moran

How to Check Debug Log File on WordPress

WordPress debug logs any errors detected on your website. This is a key to finding the source of an error or learning more details about any possible errors on your site. One issue with keeping debugging enabled on a WordPress site is that the debug.log file could grow up to 30GB or more in size resulting in eating up a lot of disk space. This is why it is always recommended to enable debugging only when needed and disable it when done. To enable or disable debugging in WordPress, navigate to wp-config.php file from your web hosting File Manager and

WordPress Developer Plugins
Tips & Tricks
Sebastian Moran

Useful WordPress Developer Plugins for Your Site

With the massive amount of plugins available for WordPress, it can be hard to know the most useful ones if you are a WordPress developer. 1. WP Crontrol WP Crontrol is a plugin that allows you to see and control the CRON events in wp-admin that are running on your WordPress site. The cron events will be broken down from one native to WordPress core. The CRON events from active plugins on the site would show in the custom cron events section. The plugin will allow you to remove left-over cron events from plugins that were uninstalled and no longer

ShortPixel Critical CSS Plugin for WordPress
Tips & Tricks
Sebastian Moran

How to Use the ShortPixel Critical CSS Plugin on Your Site

Generating critical CSS on your site can help improve front-end performance and remove float issues. Being able to generate critical CSS quickly can be painful if handled manually, or the process can be slow if run locally. There is a new stand-alone plugin for critical CSS generation from ShortPixel. After the plugin has been installed and activated on your site, you will need to add the ShortPixel API, which you can grab from your ShortPixel account. The API key and the settings can be configured in wp-admin from: Settings > SP Critical CSS You can cache Critical CSS for templates

Lazy Loading Background Images WordPress
Tips & Tricks
Sebastian Moran

How to Lazyload Background Images in WordPress

A fast loading website is an integral part of building websites nowadays as it may help site visitors stay and explore more. Lazy loading images is one of the techniques which may result in better performance. One of the easy plugins to enable lazyload of background images is called Lazyload Background Images. 1. Lazyload Background Images In the plugin settings, you can also add the selectors for elements that contain background images. By default, the plugin will lazyload background images that are contained in inline CSS. To enable background images to lazyload, navigate to wp-admin, and get into “Lazyload Backgrounds”

Remove Broken Link Plugin Data
Tips & Tricks
Sebastian Moran

How to Remove the Broken Link Checker Plugin Data on Your Site

If you are using the Broken Link Checker plugin on your site, it may cause resource and CPU issues on the hosting server. The blc_installation_log option could get as large as 1MB with 50kb of autoloading data if you have many posts on the site. The options values that the Broken Link Checker plugin uses are; wsblc_options blc_activation_enabled blc_installation_log The Broken Link Checker plugin uses the following database tables to store the data; wp_blc_filters wp_blc_instances wp_blc_links wp_blc_synch The database tables should be removed when you deactivate and uninstall the plugin. However, if they still exist, you can use a plugin

Looking for something?

Privacy laws apply to businesses that collect personal information. Since no personal information is collected by the MainWP plugins, no privacy laws apply to the MainWP plugins. This includes GDPR, UK DPA 2018, PIPEDA, Australia Privacy Act 1988, LGPD, PIPL, and other privacy laws.
Donata Stroink-Skillrud
Donata Stroink-Skillrud
President of Agency Attorneys

Your Download Is Just One Click Away

…or just download the plugin.

By entering your email, you agree to our Terms of Service and Privacy Policy.