Change default theme for multisites

When you create a new site in WordPress multisite it will automatically assign a theme to the new site. It does not use the theme that you have activate on the other sites or on the network setup but will use the default theme that is setup in WordPress.

/**
 * Snippet Name: Change default theme for multisites
 * Snippet URL: https://www.wpcustoms.net/snippets/change-default-theme-for-multisites/
 */
  // usage: paste in wp-config.php

define( 'WP_DEFAULT_THEME', 'Your-default-theme' );
require_once(ABSPATH . 'wp-settings.php'); 

0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x