Branding Master Reset

If your Child Site gets disconnected from your MainWP Dashboard and you are not able to see the MainWP Child plugin because it has been hidden by the MainWP Branding Extension or any other branding option gets “stuck”, you will need to Master Reset branding options on your child site.

  1. Access your child site server with your favorite FTP Client
  2. Locate the class-mainwp-child.php file on your Child Site
    site_root/wp-content/plugins/mainwp-child/class/
  3. Download the file
  4. Open the file in any Code EditorBranding Master Reset
    1. Locate the public function __construct( $plugin_file ) function around line 173
    2. Locate this–>update(); about 2 lines lower
    3. Directly after that line, add the following code:
      delete_option('mainwp_branding_child_hide');
  5. Save the changes in the file
  6. Upload file back to the site_root/wp-content/plugins/mainwp-child/class/ directory on your child site.
    Be sure to overwrite the current file.

If the delete_option( 'mainwp_branding_child_hide' ); code doesn’t help, try to use this delete_option('mainwp_child_branding_settings'); instead.

Important Note

After adding that code, you will be able to re-activate the child plugin and reconnect it to your MainWP Dashboard. After successfully reconnecting, download the file again and remove the code you added earlier. This needs to be done so the Branding Extension can be used properly again.