MainWP Blog

Blowing the Bloody Doors Off!
MainWP Updates
Sebastian Moran

Blowing the Bloody Doors Off!

Screen acting legend and all round top dude Michael Caine recently published a new book, which includes many amazing life lessons. The lessons can be applied to WordPress, clients and client projects. Using the Difficulty During a negative situation, “Using the Difficulty” is when you look hard, and find something positive within the problem. For example, if a client project did not quite work out the way you intended it to, take the positive elements from it and learn what did go well and how those lessons learned can be applied for future projects. If you make a mistake, learn

Troubleshoot WP Cron Job Issues
MainWP How To's
Sebastian Moran

Using WP-CLI to Troubleshoot WP Cron Job Issues on a Child Site

Sometimes you will run into issues on your child sites which are being caused by active cron jobs. Cron jobs are recurring tasks that need to be run on a site. Most of the time, cron jobs are created by the active plugins (e.g., these cron events all running due to WooCommerce): woocommerce_cancel_unpaid_orders woocommerce_cleanup_sessions woocommerce_cleanup_personal_data woocommerce_cleanup_logs woocommerce_scheduled_sales woocommerce_geoip_updater delete_expired_transients delete_version_transients Cron Events There are ways to view all cron jobs on a child site by using a plugin like WP Crontrol. In this post, we are going to use the many options that WP-CLI has related to cron jobs. There

MainWP How To's
Sebastian Moran

Staying Positive in 2019

With 2019 upon us, now is the time to focus on the new year. One of the best ways to have a healthy mental attitude is to keep a positive outlook. Life will throw you a few curve balls, and how you deal with those really does improve how you can stay driven and happy in the year ahead while maintaining a positive mental attitude. Positive thinking is not a new concept; there are thousands of self-help books and seminars out there for the taking, but focusing your mind to think positive helps carry you through adversity and anything that

wp profile - WP CLI Command
MainWP How To's
Sebastian Moran

Why Use the wp profile WP-CLI Command?

What is the wp profile Command in WP-CLI? wp profile command is designed for finding where and what is slowing a site down. As with any performance benchmarking, multiple runs will need to be used. Start by running the common commands for wp profile multiple times. This will help you find what is causing WordPress to load slowly on a site. wp profile stage This command will output a number of options in the table. They are broken down as: bootstrap is where WordPress is setting itself up, loading plugins and the main theme, and firing the init hook. main_query

WP-CLI - wp doctor
MainWP How To's
Sebastian Moran

WP-CLI wp doctor Command Why it Might Really Help Your Sites

What is the wp doctor command in WP-CLI? wp doctor lets you easily run a series of configurable checks to diagnose what’s ailing with WordPress. Without wp doctor, your team has to rely on their memory to manually debug problems. With wp doctor, your team saves hours identifying the health of your WordPress installs by codifying diagnosis procedures as a series of checks to run with WP-CLI. It comes with dozens of checks out of the box. name description autoload-options-size Warns when autoloaded options size exceeds the threshold of 900 kb. constant-savequeries-falsy Confirms expected state of the SAVEQUERIES constant. constant-wp-debug-falsy

WP-CLI
MainWP How To's
Sebastian Moran

What is the WP-CLI and why should I use it?

What is the WP-CLI? The WP-CLI is a way of doing anything that you would be able to do in the back-end of a WordPress site in wp-admin, but using command lines. A number of hosts have WP-CLI installed on new servers. One great example is on Cloudways. Common WP-CLI commands If a client site has a white screen issues from an active plugin or theme and you have sFTP/SSH access on the site, then you can change the active plugins. You can also change the site to a new theme, or install a new default theme to test if

WordPress wisdom from Gremlins
Roundup
Sebastian Moran

Life Lessons and WordPress Wisdom from Gremlins

Warning: This post may contain Gremlins. With Christmas around the corner, one of the classic Christmas movies is still Gremlins (1984), a mid-eighties mix of comedy and horror, set with a very Christmas theme. With the film’s mix of Frank Capra and Speilbergisms, the setting is a riff of Bedford Falls from It’s a Wonderful Life, even if it does look like the back-lot of Universal Studios. The film is a classic mix of director Joe Dante’s best work and an amazing soundtrack by the late Jerry Goldsmith. Here are the top five life lessons from Gremlins that apply to

WordPress 12 Days of Christmas
Roundup
Sebastian Moran

WordPress 12 Days of Christmas

With Christmas only a few days away, now is the time to reflect on the many nuggets of joy that WordPress has sprinkled over our lives. As well as the frustrations and the many, many things that can break on clients site, as well as the things that WordPress core updates can break. On the 1st day of the Christmas, WordPress gave to me – A way to delete the Hello Dolly plugin on client sites, so clients did not activate it by mistake. On the 2nd day of Christmas, WordPress gave to me – Maybe a reason to update WordPress core

MainWP Customisations
MainWP Customization
Bogdan Rapaic

MainWP Customisations

The beauty of open source lies in the fact that code is open and can always be tweaked, modified, and customized to your needs. The ability to customize an open-source project (in this case your MainWP Dashboard) is one of its greatest benefits. An open code base of the plugin allows you to reshape and re-outfit the plugin at any time. Example 1 – Simple MainWP Customisation In this example, I will show you how you can easily rename the MainWP admin menu header and reflect your own company title in your centralized WordPress management Dashboard. Basically, instead of having

WordPress 5.0
MainWP How To's
Sebastian Moran

How to make sure your child sites are ready for WordPress 5.0

With the WordPress 5.0 release less than two weeks away from being shipped, the release is going to be pushed back to be later than November 27, 2018. You need to make sure that your child sites have been updated to deal with the new version of WordPress. The major changes being the new default Gutenberg block editor. WordPress 5.0 release data has been pushed back due to certain issues, with issues found in the beta, and release candidate being delayed till 22nd November, to warrant more time for beta testing a major WordPress update. The Gutenberg default block editor

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