Articles of multisite

Integrating WordPress to my website, while keeping my own authentication system

I’ve recently integrated WordPress to my website and I’ve been trying to find out the correct way to replace WordPress’ authentication system with the one on my website. My website already has a user database, and the user is authenticated through PHP sessions. My goal is simply to remove WordPress’ integrated register/login form, and make […]

WordPress multisite apply different options over each site from same plugin

I created a plugin for the bootstrap navbar. Then I created option page for my plugin. In my options page, I have two types of navbar (Default navbar and Full-width navbar) only can choose one of them. I want to use WordPress multisite and create two sites within it. Then in first site show (Default […]

Unable to install theme recommended plugins on Multisite

I uploaded and activated the theme on my multisite network successfully. After this, I was trying to install the plugins that come bundled with the theme but when I clicked on install, it is showing this error. Here’s a small gif of the error

Forgot your password points to main blog on multisite install

This question already has an answer here: Password Reset for Users on a Multisite Subsite 1 answer

How to add class in plugin only for network site?

I created an input field in general – settings. It’s in a plugin for a for a local ngo network site. It looks like this, and it works great. $ngob_sitelist_slug = new ngob_sitelist_slug(); class ngob_sitelist_slug { function ngob_sitelist_slug( ) { add_filter( ‘admin_init’ , array( &$this , ‘ngob_register_slug’ ) ); } function ngob_register_slug() { register_setting( ‘general’, […]

Using Two Themes – One for Main Site, One for Ecommerce

I have a question that I haven’t been able to find a great answer to. Hoping you guys can help me out. I am in the process of rebuilding our company website. I have a WP theme picked out that I really love (Create from ThemeTrust). I want to use that as the theme for […]

wp-activate.php causing white screen of death

I’m developing a site for a client that will be part of a multisite. I’ve added a number of new users, but when those users try to confirm their accounts they get the dreaded “white screen of death” and their accounts aren’t activated. Can anyone help me figure out why this is happening?

Use another author.php if different multisite subsite?

I have a multisite installation with 2 subsites (site A, site B) using same theme. Is it possible to use a different author.php if Im on the site B? Assuming the second author template exists. For exeample.. if (blog_id == 2){ // use this template diff-author-template.php } else { //use this author.php} Thanks

How to use same email for multiple users in Multisite version 4.7

I tried the code listed in this answer, and this allowed me to create 2 users with the same email address, but not a third. add_filter(‘wpmu_validate_user_signup’, ‘skip_email_exist’); function skip_email_exist($result){ if(isset($result[‘errors’]->errors[‘user_email’]) && ($key = array_search(__(‘Sorry, that email address is already used!’), $result[‘errors’]->errors[‘user_email’])) !== false) { unset($result[‘errors’]->errors[‘user_email’][$key]); if (empty($result[‘errors’]->errors[‘user_email’])) unset($result[‘errors’]->errors[‘user_email’]); } define( ‘WP_IMPORTING’, ‘SKIP_EMAIL_EXIST’ ); return $result; […]

How To Remove Dashboard Menu Items for Multisite Users?

I’m trying to remove some menu items in the Dashboard of Multisite users. For example my domain name is xyz.com, his site will be xyz.com/user. When he logs in to WP Dashboard under xyz.com/user/wp-admin, how can I (the admin of xyz.com) remove some options from xyz.com/user (left sidebar) menu? For example, I would like to […]