Days
Hours
Minutes
Seconds
ūü§Ď¬†Get MainWP Pro LIFETIME license for only $399 $499.¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†¬†

MainWP Blog

WordPress 6.0 - Arturo
Tips & Tricks
Sebastian Moran

Some Useful Features in WordPress 6.0 “Arturo”

As you all know, WordPress 6.0 “Arturo” has been released with many improvements and new features. This is a perfect time to test it on a staging site before updating your production sites. You can use the MainWP WordPress staging extension to create a staging site for your Child Site(s). After updating your staging site to WordPress 6.0, head over to the Dashboard > Home, and you will see a screen as below: Export & Import Block-based Theme If you are using a block-based theme, you can now export the complete theme with all of the template changes made using

Code Snippets WordPress 6.0
Tips & Tricks
Sebastian Moran

Useful Code Snippets for WordPress 6.0

The WordPress 6.0, scheduled to be released on May 24th, 2022, will include several feature improvements. Disable “Lock Blocks” in WordPress 6.0 When editing content using the block editor, a new UI element allows blocks to be locked to prevent changes from being made on a site, but there is a setting that can be used to disable block locking by user role, specific users, or globally. To disable block locking globally on posts and pages then, you can use the following code snippet; add_filter( ¬†¬†¬†¬†‘block_editor_settings_all’, ¬†¬†¬†¬†function( $settings, $context ) { ¬†¬†¬†¬†¬†¬†¬†¬† ¬†¬†¬†¬†¬†¬†¬†¬†// Disable for posts/pages. ¬†¬†¬†¬†¬†¬†¬†¬†if ( $context->post &&

Lazy Loading Images WordPress Plugins
Tips & Tricks
Sebastian Moran

Two Useful Plugins to Lazy Load Images on WordPress

Lazy loading images can help improve a site’s front-end load times for visitors. WordPress had native lazy loading for site images added in version 5.0 and was enhanced in version 5.9¬†at the end of 2021. Besides the support for native lazy loading images, there are several solid WordPress plugins that will allow you to lazy load images on your site. 1. Flying Images Flying Images has been covered before in other articles, but besides allowing images to lazy load, it will automatically serve site images from Statically CDN. The plugin also includes on-the-fly image conversion and WebP image conversion. The

Download Monitor WordPress Plugin
Tips & Tricks
Sebastian Moran

Useful Code Snippets for the Download Monitor Plugin for WordPress

If you use the Download Monitor plugin on your site to manage downloads and uploads, you can control its options using code snippets. Download Monitor WordPress Plugin The Download Monitor WordPress plugin supports multiple versions of the same file, as well as being able to insert downloads into posts, log and track downloads and for being able to sell downloads on your site. To disable the force download, use this code snippet; add_filter( ‘dlm_do_not_force’, ‘__return_true’ ); By default, the Download Monitor plugin for WordPress will redirect empty downloads to the site’s homepage. To disable the empty redirects for download, use

Patchstack - WordPress Security Plugin
Tips & Tricks
Sebastian Moran

Using Patchstack Security on Your WordPress Website

Keeping a track of which plugins and themes have vulnerabilities on sites can be a pain to have to deal with. WordPress plugins and themes are responsible for up to 90% of all WordPress vulnerabilities. Patchstack WordPress Plugin Patchstack (previously WebARX) launched a WordPress plugin and a free plan containing features such as; Component Detection Vulnerability Monitoring Real-time Threat Alerts Actionable Suggestions After you have installed and activated the Patchstack plugin, it will add a new sub-menu item to; Settings > Security In order to use the plugin, you will need to create an account with Patchstack and then copy

Version Management iThemes Security Pro Plugin
Tips & Tricks
Sebastian Moran

How to Use “Version Management” in iThemes Security Pro

If you are already using the iThemes Security Pro plugin for site security on any of your Child Sites then you can use a built-in module to control automatic updates on your Child Site(s). The module is called “Version Management” which will give you control over automatic updates for WordPress core, plugins, and themes. The version management comes in handy if the site has a limited stack of installed plugins and includes mostly the static content without a lot of common breaking changes. Version Management in iThemes Security Pro You can find the module from the following admin menu item;

Remove MailOptin WordPress Plugin Data
Tips & Tricks
Sebastian Moran

How to Remove MailOptin Plugin Data on Your WordPress Site

If your site is using the MailOptin plugin which is used for lead generation, email automation, and newsletters. It is recommended to use a solid well built external platform for email automation and sending out newsletters than using a plugin that can cause performance issues on your site and cause database bloat. MailOptin WordPress Plugin The plugin will store data using the following custom database tables; wp_mo_campaign_log wp_mo_campaign_logmeta wp_mo_conversions wp_mo_email_campaignmeta wp_mo_email_campaigns wp_mo_optin_campaignmeta Wp_mo_optin_campaigns When the plugin is deactivated and deleted it will not remove the custom database tables that will be bloating out the site’s database. The database tables can

Clean Up WordPress Site
Tips & Tricks
Sebastian Moran

How to Clean Up WordPress Site for Better Performance

Now is the time of the year to clean up WordPress site for better performance and security. One of the easiest ways would be to remove unused plugins and themes. It is very easy for a site to have several inactive plugins on it. This could happen when plugins have been replaced with better-coded plugins, but the original plugins were not deleted on the site. Also if you have been testing plugins on a site for a specific feature but then the plugin is left on the site and not deleted. Why Remove Inactive Plugins? Removing inactive plugins that are

Time to First Byte - TTFB
Tips & Tricks
Sebastian Moran

How to Improve Time to First Byte (TTFB) on Your Site

Improving your site server’s Time to First Byte (TTFB) is key to fast a performant site. A slow TTFB will cause site users to experience a blank screen whilst the site then loads. Expected server TTFB times would be between 200 and 500 milliseconds. Some of the reasons why the TTFB could be over 500 milliseconds can be down to a high load on the site server, server infrastructure issues, and high latencies between DNS servers. TTFB slower than 1 second or even higher should be a cause of concern and worth looking into what is causing such a high

Two Popular Tools to Test Website Performance
Tips & Tricks
Sebastian Moran

2 Popular Website Performance Testing Tools

One of the most commonly known tool for website performance testing is GTmetrix but it allows only one location, Vancouver in Canada, to test from. To access more testing locations, you need to create an account so that you can select a testing location that is nearest to your targeted audience. The free plan includes seven locations but with the Pro plan, you have access to another fifteen test locations to select from. All of the covered performance test site tools work in similar ways but the key is using the results they provide and working to improve the site

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