MainWP Blog

Tips & Tricks
Sebastian Moran

Using the Kadence Theme and Kadence Blocks Plugin on Your Site

Clean theme options are really useful when you dealing with changing a theme on an existing site or using a clean theme for a new site build for a client. One of the more recent clean themes is Kadence. The free version of the Kadence theme includes a huge range of features, whilst the premium version addon for the Kadence theme expands on those features with even more options. Some of the Kadence Pro addon features include header addon, hooked elements, ultimate menu, fixed elements, header/footer scripts as well as WooCommerce addon. Kadence features can all be controlled using the

Tips & Tricks
Sebastian Moran

Easy Lazy-loading Plugin Options for Your Sites

Lazy-loading site images are one of the easiest ways to improve the perceived site load times as well as improving the customers’ or users’ experience on the site. WordPress added a lazy-loading feature enabled by default in the 5.5 release. There are a number of solid plugin options for WordPress and those plugins include additional features like image optimization and free CDN integration. Optimole is a plugin and service that we have covered before but it does cover lazy-loading. The Lazy Loader plugin includes a number of lazy loading options for image and video assets on your site. After you

Tips & Tricks
Sebastian Moran

Using the SecurityWP plugin on your Sites

With the new year upon us and having a forward focus in 2021 now would be a good time to look at new security plugin options for your child sites. One of the newer plugin options for a security plugin is SecurityWP. The plugin includes a number of very useful security features and a very easy to use settings UI. After you have installed and activated the SecurityWP plugin on your site it will add a new menu item to; Settings > SecurityWP You can export out the SecurityWP plugin settings and then import those in on other sites that

Roundup
Sebastian Moran

MainWP Most Useful Posts of 2020

With 2021 a few days away it seems about right to include some of the most useful posts over the last 12 months on the MainWP blog. Five of the most useful posts from 2020 cover subjects related to WordPress major versions like 5.6 and 5.5. How to disable the auto-updates opt-in feature that was added in WordPress 5.5 for plugins and themes. With the last post covering how to use Statically to get some decent performance gains on your site. Useful Code Snippets for WordPress 5.6 https://mainwp.com/useful-code-snippets-for-wordpress-5-6/ How to Disable Major WordPress Core Updates in WordPress 5.6 https://mainwp.com/how-to-disable-major-wordpress-core-updates-in-wordpress-5-6/ Handy

Tips & Tricks
Sebastian Moran

Dealing with the PS5 and XBox Series X/S Effect on your Site

This holiday season two of the hardest to purchase tech products have been the PlayStation 5 and the Xbox Series X/S. Major retailers have been struggling to deal with issues like their e-commerce sites crashing or creating errors on cart or checkout or having to turn cart and checkout off on the sites or adding default pages in place of product pages to cope with the demand of customers and scalper bots. We are going to deal with one of the most commonly used plugins for e-commerce in WordPress which is WooCommerce. WooCommerce on a solid host with a well-selected

Tips & Tricks
Sebastian Moran

Useful Code Snippets for WordPress 5.6

The newest version of WordPress version 5.6 was released on the 8th of December. Some of the new features and changes added in the 5.6 release relate to block patterns in the block editor, a new default theme, application password, better video captioning, and PHP 8.0 support. To disable the application passwords feature in WordPress you can use this code snippet; add_filter( ‘wp_is_application_passwords_available’, ‘__return_false’ ); The reason you might need to disable the application password feature in WordPress is that can be a security risk. You can disable the application passwords feature for specific users as well using this code

Tips & Tricks
Sebastian Moran

Using the CompressWP Plugin and Service on your child sites

With Black Friday and Cyber Monday coming up very soon one of the easiest ways to improve the front-end load times on your sites is to make sure that all site images have been optimized. There is a pretty recent new service and plugin for WordPress called CompressWP. After you have installed and activated the plugin it will add a new menu called; CompressWP CompressWP will be able to optimize JPG and PNG images which are two of the most popular image formats that exist in your media library. Other image formats will be supported in the future. In order

Tips & Tricks
Sebastian Moran

Using the ImageKit Service on your Child Sites For Faster Site Images

If you are looking for an alternative option for being able to serve images in the correct optimized image format for customers then ImageKit is worth checking out. ImageKit includes automatic image optimization, will work with a number of external object storage options such as AWS S3, Digital Ocean Spaces, Google Cloud Storage, and Firebase. ImageKit uses AWS Cloudfront as the built-in global fast CDN for serving out site images. Imagekit will also integrate with a number of CDN providers such as Azure, Fastly, and Google CDN. First, you will need to signup for an ImageKit account on their site.

Tips & Tricks
Sebastian Moran

Using a plugin to help serve WebP Images on your site

Having a fast site which serves the smallest sized optimized images is something that everyone wants. We have already covered options within the ShortPixel CDN and if using the Polish feature in the Cloudflare CDN. We are going to cover two other plugin options to be able to serve site images in the next-gen WebP image format. The first plugin that we are going to cover is the WebP Express plugin. After you have installed and activated the plugin you can access the settings from; Settings > WebP Express The operation mode by default will be set to be varied

Tips & Tricks
Sebastian Moran

How to Disable Major WordPress Core Updates in WordPress 5.6

WordPress 5.6 which is on track to be released on the 8th December includes a new opt-in feature for major WordPress core auto-updates. There is a filter that will be added in WordPress 5.6 which means that the auto-updates feature can be disabled using a code snippet. MainWP offers a solid extension that allows code snippets to be executed on all connected child sites. add_filter( ‘allow_major_auto_core_updates’, ‘_return_false’ ); If you want to keep the UI but not have it checked by default then you can use this constant in the sites wp-config.php. This would mean that auto-updates for WordPress core

Looking for something?