new WPMS site not working / Q setting up new site/subdomain

You don’t need a new directory for your subdomain. Both your main URL (www.americanthought.org) and your subdomain URL (www.technology.americanthought.org) should point to the same directory. Multisite will serve the sites from the same set of WordPress files. (I took a quick peek, and it appears that you’ve got your subdomain’s DNS entry pointing at an … Read more

Define default settings for new sites on multisite network with mu-plugin

So I figured it out: I added the default theme in wp-config: // Setting default theme for newly created sites define( ‘WP_DEFAULT_THEME’, ‘theme-child’ ); for the static front page I added: # ON SIGNUP OF NEW SITES A NEW PAGE IS CREATED CALLED “Homepage” AND SET AS THE STATIC FRONT PAGE add_action( ‘wpmu_new_blog’, ‘process_extra_field_on_blog_signup’, 10, … Read more

Remove node from multisites?

Here, try this: add_action( ‘admin_bar_menu’, ‘remove_nodes_from_mysites’, 999 ); function remove_nodes_from_mysites( $wp_admin_bar ) { $user_blogs = get_blogs_of_user( get_current_user_id() ); foreach ( $user_blogs as $user_blog ) { $wp_admin_bar->remove_node( “blog-” . $user_blog->userblog_id . “-n” ); $wp_admin_bar->remove_node( “blog-” . $user_blog->userblog_id . “-c” ); } }