MainWP Blog

Easy Cron for MainWP
MainWP Customization
Sebastian Moran

Disable WP Cron and use an external cron service for your MainWP Dashboard

The first step to use an external cron service like EasyCron to run MainWP crons, is this constant needs to be set in the MainWP Dashboard wp-config.php file. MainWP has a post which will help with this setting. define( ‘DISABLE_WP_CRON’, true ); For more information about WP Cron, see here. EasyCron is a task scheduler which provides services of calling specified URLs at a specified time or by a time interval. It eliminates the dependence on traditional Cron service and related knowledge to set up scheduled tasks. EasyCron offers free plans. After you have signed up for a free plan,

Delete Expired Transients
MainWP Customization
Sebastian Moran

Delete expired transients automatically on all of your MainWP connected child sites

What are transients are and why WordPress uses them WordPress uses transients to store data, that can be retrieved short-term from the options database table. But the problem ends up being when different plugins are using transients, but then not deleting that data when it has expired. It can cause performance issues over-time and cause the options database table to group. So ideally you would want to delete expired transients on any of the MainWP Child Sites you manage to improve performance. Delete Expired Transients Log into your MainWP Dashboard site Go to the MainWP > Plugins > Install page Search for Delete

mainwp & zapier
MainWP Customization
Sebastian Moran

How to use Zapier for your MainWP Dashboard Site

Zapier is a hosted service where you can mostly connect any 3rd party service with any 3rd party service. So, in this case, Zapier will enable us to filter emails and then based on the subject line, send an SMS to a mobile number that you select. We are going to use Zapier to send the MainWP email notification as SMS messages, so you can check on those instead of having to filter through all of your emails. SMS Notifications About Available Updates Zapier has a number of actions that can be used, in this example, we are going to send an

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 customised to your needs. The ability to customise 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. MainWP Customisations Plugin The MainWP Customisations plugin is designed to contain your custom code snippets for your MainWP Dashboard. By adding custom snippets to this plugin, you can easily extend your MainWP Dashboard functionality or change the way it looks. It

MainWP Customization
Sebastian Moran

How to use SendGrid on your MainWP dashboard site

SendGrid offers a free plan which provides 40,000 emails a month, which should be more than enough for most MainWP dashboard sites. Using a transactional email provider like SendGrid, SparkPost or SendinBlue. Go to https://signup.sendgrid.com/ After you have signed up for a free plan you will be in the main app. On your MainWP dashboard site look for SendGrid and install it as a new plugin on the site. Go back to the SendGrid app and then click on Settings > API Key then click on the Create API Key button. Create the API, then on the next screen the

MainWP on Vultr using Cloudways
MainWP Customization
Sebastian Moran

Why should you run your MainWP dashboard site on Vultr using Cloudways?

Cloudways is a solid option to use for WordPress site hosting. In this example, we are going to use it for hosting a MainWP dashboard site. You want to use a separate server for hosting your MainWP dashboard site, so that the server or servers you are using for your client/customer sites do not have to share resources. Go to login into Cloudways. From Servers. The cheapest-priced option is based on only 2GB of RAM. If you feel like you will need more RAM and server space, then you can go up a plan. Launch the server. Then it will

Looking for something?