MainWP Blog

Creating a WordPress Plugin

I’m going to dive right into this blog post on creating a plugin for WordPress. There are countless tutorials out there and ways to code and structure a plugin, but for the purposes of these articles I’m going to make it short and simple. Once we’re done this series of blog posts, you’ll have a working plugin recognized by WordPress that is also recognized by MainWP as an extension. It will be able to interact with your WordPress installation as well as your MainWP plugin (which by the way does amazing things for client management, if you haven’t checked it

How MainWP Will Save You Time and Money

MainWP is a WordPress management suite developed to be the most effective, self-hosted WordPress central dashboard. From the MainWP dashboard a user can control virtually all aspects of WordPress management including updating all of their sites with just one click of a button, schedule automated backups, monitor their sites, manage content across their network and much more. 1. Effortless Upgrades Do you have a busy schedule and dread all of the work you’ll be putting into upgrading sites, plugins and themes to the latest version? Worry no more! With the click of a button from your MainWP dashboard, all of your WordPress sites

Check if your Extensions are Properly Activated

Since the old MainWP extension licensing system is going to be retired make sure your extension are properly activated with an API key. To do that go to the MainWP extensions page and check for each extension if it shows the green “Activated” sign: If it shows “Enable” or “Disable” button it means that you need to activate it with an API key: Please follow this link if you need help with activating your extensions.

Use Tokens in your Boilerplate Pages

MainWP Boilerplate Extension allows you to use tokens in your Boilerplate pages and posts. Simply add your token in the title field and the correct value will be set on your child sites. Combination of tokens and custom text will enable you to have custom page title on each of your child sites.      

How you Can Make Sure That your Dashboard Can Communicate With your Child Site

You can use the Test Connection tab to see what response the Main plugin is receiving from a site. Test Connection 1. Go to Sites from the MainWP Dashboard menu, 2. Click the Test Connection tab, 3. Enter your sites URL, 4. Click Test Connection. The test will then tell you success or failure and the response received from the server.

Quickly Access WooCommerce Pages from your Dashboard

The MainWP WooCommerce Shortcuts Extension adds a useful widget to your child sites individual dashboards. The widget contains a set of links which will bring you directly to WooCommerce pages on your child site without logging into the site. [box] MainWP WooCommerce Shortcuts Extension requires the WooCommerce plugin installed on your child sites. [/box] If you don’t have the WooCommerce plugin installed on the child site, links won’t be available and the widget will display the notification for you.

Bulk Delete Child Sites

Bulk Actions dropdown provides you ability to Delete one or more child sites. To use the feature, select wanted child sites by checking the checkbox next to the child site, select the Delete action in dropdown menu and click the Apply button:

MainWP WooCommerce Status Extension Overview

MainWP WooCommerce Status extension provides you ability to see the WooCommerce status right from the MainWP Dashboard site. It enables you to monitor all your stores from one place. WooCommerce Status Dashboard On this page (MainWP > Extensions > MainWP WooCommerce Status Extension) you can see all your child sites with the WooCommerce plugin installed. Here you can see for each child site: Income for the current month Top Seller product for the current month Number of orders awaiting for the processing Number of orders on hold Number of products low on stock Number of products out of stock By clicking

Publishing Posts and Pages with SEO Settings

With the WordPress SEO extension, you can publish your Posts and Pages with your custom SEO settings. The SEO metabox from the WordPress SEO by Yoast plugin will be added to the MainWP > Posts/Pages > Add New page: If you want to apply the custom SEO settings for the post/page 1. Enter your custom values in the metabox fields 2. Before publishing the content, click the Set the SEO Values button:     3. Click the Publish button.   [box] In case you don’t click the Set SEO Values, either you forget or you do it on purpose, after clicking the

How to Scan Child Sites with the MainWP WordFence Extension

The Wordfence extension enables you to trigger scanning process on child sites directly from your dashboard. To do this go to: Wordfence Dashboard page (MainWP > Extensions > MainWP Wordfence Extension ). In the upper part of the page, you will be able to find the Start a Wordfence Scan button: This button will start a scan process on all child sites.    

Looking for something?