MainWP Blog

MainWP How To's
Bogdan Rapaic

How to Update MainWP Child Plugin

To update the MainWP Child plugin, there are 2 simple methods: Stanard update method Update by overwriting the old version Stanard update method Once the MainWP Child plugin version is available, and after syncing your sites, the update will be available on the MainWP Updates page. To perform the update, follow these steps: Go to your MainWP Dashboard Go to the MainWP > Updates page Set the Show per updates option to per Plugin/Theme Locate the MainWP Child plugin in the list Click the Update All Button Update by Overwriting the old version Go to WordPress.org to download the latest

About
Bogdan Rapaic

Quick way to remove Broken Link Checker plugin from your Child Sites

Recently, WP Scan disclosed the vulnerability in the current version (1.11.8) of the Broken Link Checker plugin. As per WP Scan: “The plugin is still affected and won’t be fixed according to the original advisory”. Since the fix is not expected, we strongly recommend removing the plugin for your WordPress sites and finding an alternative. Here is how you can easily remove the plugin from your sites from your MainWP Dashboard: Go to the MainWP > Plugins > Manage Plugins page Select All your Child Sites Select Active status In the Search Options field, enter “Broken Link Checker” keyword Click

Tips & Tricks
Bogdan Rapaic

Remove Custom Branding for a Specific User on Child Sites

MainWP Child 4.0.3, released on October 1st, 2019, introduced one handy filter mainwp_child_branding_init_options that can be used to hide custom branding for a specific user on child sites. Let’s see the usage example: add_filter( ‘mainwp_child_branding_init_options’, ‘mycustom_mainwp_child_branding_init_options’ ); function mycustom_mainwp_child_branding_init_options( $option ) {        $current_user_id = get_current_user_id();        if ( $current_user_id == ‘1’ && is_array( $option ) && isset( $option[ ‘cancelled_branding’ ] ) ) {        $option[ ‘cancelled_branding’ ] = true;    }        return $option; } In this example, all custom MainWP Branding Extension options will be applied for all users no the child site except for the user with ID 1. Also, the filter

WordPress Auto Updates
MainWP How To's
Bogdan Rapaic

Not Ready For WordPress 5 But You Still Need Security Updates For The WordPress 4

A few days after the WordPress 5.0 release, the first security update (5.0.1) has been released which resolves vulnerabilities found in all previous versions of WordPress starting with 3.7. These vulnerabilities allow authors to alter metadata and delete files that they weren’t authorized to. Also, authors could create posts of unauthorized post types with specially crafted input which could be used to take over a site… WordPress team strongly suggests updating your sites immediately if you haven’t done so already… If you previously updated your sites to WordPress 5.0, you can easily update to 5.0.1 and you have nothing to worry about, however, what if

MainWP How To's
Bogdan Rapaic

Disallow Users to Switch Editors

Now, when the WordPress 5.0 has been released, even with the Classic Editor plugin installed, users are still being invited to switch to the newly introduced Block Editor despite assurances that this won’t be the case. This means that it’s not enough just to install the Classic Editor plugin, but one more step is required, you need to disable the option to switch editors. Changing this can be time-consuming when you need to do it on multiple sites, so we at MainWP made sure that this can be accomplished by using the MainWP Bulk Settings Manager Extension. To save you some

MainWP & Gutenberg
MainWP News
Bogdan Rapaic

WordPress Gutenberg’s impact on Your MainWP Dashboard

As you probably already know, WordPress 5.0 comes with the major change of the Post Editor. Gutenberg block editor is replacing the old Classic Editor that hasn’t had many changes over the years and for the most part, has stayed pretty much the same. MainWP plugin has been tested with WordPress 5.0 over the last few months and we are proud to say that the plugin is fully compatible with the new version of the most popular CMS. The functionality of the MainWP plugin and all of the MainWP Extensions is absolutely not affected by this major number update of the

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

remove gutenberg banner
Extension Tutorials
Bogdan Rapaic

How to hide the Gutenberg Banner from your child sites

WordPress 4.9.8 release, scheduled for July 31, 2018, will include a banner inviting website owners to try the new Gutenberg editing experience. This banner shows for all users with the back end access and each user needs to dismiss it individually. Hiding this banner on multiple sites can take you some time, however, MainWP Code Snippets Extension can come handy and save you some time. With the following snippet, you can hide the banner directly from your dashboard and hide it for all users. Code for removing Gutenberg Invite Banner Add the following information to your Code Snippets Extension and then

MainWP 3.0
Bogdan Rapaic

MainWP 3.4 Additions

MainWP Side Menu The biggest user interface improvement in the MainWP Dashboard 3.4 is the MainWP Side Menu. The Side Menu has 3 top level menus: MainWP Dashboard, MainWP Extensions, and Child Site. MainWP Dashboard menu allows you to quickly navigate through all MainWP Pages. MainWP Extensions menu shows all installed extensions and provides you the ability to quickly access any extension settings page. Child Sites menu lists all your child sites from where you can easily access any child site Individual Overview Page, Updates page for the Child site or the Edit page for the Child site. If the

MainWP Client Reports 2.0
Important Updates
Bogdan Rapaic

MainWP Client Reports 2.0

Last few months, MainWP Development team has been working on improvements for the MainWP Client Reports extension. The majority of implemented improvements have been based on feedback that we have been collecting from our user. Since the new version contains a lot of updates, we recommend creating a database backup of your MainWP Dashboard before updating the MainWP Client Reports extension. What’s New Merged Single Site Reports and Global Reports No more difference between reports generated for a single site and multiple sites. The unified New Report page will allow you to select one or multiple sites for your reports. If you

Looking for something?