MainWP Blog

Tips & Tricks
Sebastian Moran

How to use the WP Project Manager Plugin

If you need a simple self-hosted project management plugin for being able to deal with client projects a solid option is to use the WP Project Manager plugin. After you have installed and activated the plugin on your site it will add a new admin menu; Project Manager The first thing you will need to do is create a project once you have created a project you can add tasks, milestones, and even discussions. One of the free integrations is with Trello. Where you can import projects, task lists, subtasks, and even users into WP Project Manager. In the settings

Tips & Tricks
Sebastian Moran

Why You Should Wait to Update to WooCommerce 4.0

WooCommerce 4.0 was released on the 10th March. It is a major new release and the two major changes are the merging of the WooCommerce Admin and updating the Action Scheduler to version 3.1. The WooCommerce Admin has existed as a featured plugin since April 2019. The WooCommerce Admin uses code now in WordPress 5.3 to be able to use React for powering some of the UI elements. The WooCommerce Admin uses a number of custom database tables in order to store the analytics data in those lookup tables in order to improve the reporting that is included in WooCommerce.

Tips & Tricks
Sebastian Moran

Using Statically CDN for Performance Gains

If you are looking for a free solid CDN option for your child sites then one of the best options out there is Statically. Statically is powered by Fastly, Cloudflare, BunnyCDN, CDN77 which means it has a higher number of PoPs that will be serving the site assets. Statically now has a plugin for WordPress which is very easy to setup. After you have installed and activated the Statically plugin you will need to go ahead and add your email address, site URL and then you will be able to generate an API key for the plugin. The plugin settings

Tips & Tricks
Sebastian Moran

Using the PhastPress Plugin to Improve Site Performance

If you are looking for a very lightweight plugin to help improve your site performance. The PhastPress plugin is worth taking the time to check out. After you have installed and activated the plugin it will add a new sub-menu under settings in wp-admin; Settings > PhastPress The PhastPress plugin settings are broken down into plugin, Images and HTML, CSS and JS. The plugin includes image optimization using a free image optimization service API, being able to inline critical CSS, load all JS script asynchronously. You can also minify HTML, defer iframe loading by being able to lazy load them.

About
Sebastian Moran

Using Flying Images Plugin to Improve Image Loading Time on Child Sites

Flying Images is a fairly recent plugin which by default will enable a lot of image-based gains for your child site. After you have installed and activated the plugin it will add a new sub-menu item under settings in wp-admin; Settings > Flying Images The tabs it will add are broken down as the following; Lazy load CDN Responsive Compression WebP The default lazy loading enabled is native and JavaScript. Native is only for supported browsers like Google Chrome at the moment. JavaScript will work in all browsers. The CDN which Flying Images provides at no cost is Statically.  Statically

Tips & Tricks
Sebastian Moran

Jetpack Plugin Database Cleanup on Sites Where the Plugin Has been Uninstalled

Jetpack is a well-used plugin on a number of sites and has over 5+ million active installs. But will all modules active it can cause extra requests on load as well as adding a number of extra external requests on load. When you uninstall the Jetpack plugin it will not remove any of the 108 created options that will be left in your sites options database table. You can search for the option_name which matches the following option name patterns; _transient_jetpack% _transient_timeout_jetpack_% jetpack_% Once you can then select the option names that match then select those options to be deleted.

Tips & Tricks
Sebastian Moran

Handy WooCommerce Code Snippets

WooCommerce is a very heavily used plugin to turn your WordPress child site into a full eCommerce store. MainWP offers a very easy to use code snippets extension which makes it easy to run code snippets over all of the connect child sites. A couple of common of handy code snippets if you needed to temp disable all products from being purchasable on your child site you can use this code snippet; add_filter( ‘woocommerce_is_purchasable’, ‘__return_false’); You would then need to deactivate that code snippet from the child sites where it was running. Another common code snippet fix would be for

Tips & Tricks
Sebastian Moran

Disable the MainWP Child plugin from Showing the Site Health Info

The site health check feature is a new feature in WordPress 5.2. If you have the MainWP child plugin already hidden from the list of plugins on the child site using the branding extension for MainWP, you may also want to hide the MainWP child plugin from showing on the info tab of the Site Health page. There is now an easy way to hide themes and plugins from showing in the site health info tab, using the Site Health Manager plugin. First, you will need to install and activate the Site Health Manager plugin on all the connected child

Tips & Tricks
Sebastian Moran

Blocking Bad Bots on your Child Site using Booter Plugin

Like something out of a sci-fi movie, bots will inevitably hit your site to index it, trying to add products to cart and create spam accounts if you are using WooCommerce on a child site. One of the easiest ways to block bot crawlers on your child site is to use the Booter plugin to boot those bots. After you have installed and activated the plugin, it will add a new sub-menu in wp-admin on the child site. Settings > Booter – Bots & Crawler Manager Which will take you to the general option settings of the plugin: General Bad

Tips & Tricks
Sebastian Moran

How to Cleanly Remove the Really Simple SSL Plugin

Really Simple SSL is a plugin that is used and installed on a number of sites that have a valid SSL cert to make the site load over HTTPS. But the plugin does not need to be used if the site database already has had a search-replace run from HTTP to HTTPS. If you have used WP-CLI then you can very easily run a search and replace in the sites database before baking a site database backup. wp db export wp search-replace ‘http://sitedomain.com’ ‘https:/sitedomain.com’ –recurse-objects –skip-columns=user_email,guid –all-tables wp option update home ‘https://sitedomain.com’ wp option update siteurl ‘https://sitedomain.com’ wp rewrite flush

Looking for something?