Skip to main content
24 votes

How do I remove/delete an old super admin user?

Oh I feel fairly stupid now. When looking at the user page again I noticed a checkbox for demoting the users access rights: Super Admin - Grant this user super admin privileges for the Network. Since ...
Ryan Coolwebs's user avatar
7 votes
Accepted

Can wp-cli display all users and their roles across all sites in a multisite instance?

List all the admins of each site Side note: Dividing these up by site would also be handy. Let's do that here: We can list the url of each site with: wp site list --field=url We can list all ...
birgire's user avatar
  • 67.8k
3 votes
Accepted

How do I use different domain for subdomains in WP Multisite?

Let's establish the baseline: it is possible to have the main site in example-domain-x.com and all subsites subdomains in example-domain-y.com. You just add subdomain1.example-domain-y.com (or ...
Celso Bessa's user avatar
  • 1,118
3 votes
Accepted

I want to create a 300 multi-site wordpress network using subdomains

300 sites within a multisite shouldn't be a problem by itself. Just be aware that things scale out quickly when you are operating that many sites. In particular, the number of posts will grow fast, ...
joetek's user avatar
  • 343
2 votes
Accepted

Assign role to user on first login, if they are first (after admin)

To set is the connected user belongs to the blog, you need to do that on hook wp_login that means the user is connected : const ROLE_ADMINISTRATOR = "administrator"; const ROLE_CONTRIBUTOR = "...
Jeanne Kidaw's user avatar
2 votes

Can you have multi-site WP and keep users separate?

No, in a multisite, all sites have the same users table and user meta. Keep in mind if you did manage this though, it would be trivial for them to find out it was a multisite based on code, and they ...
Tom J Nowell's user avatar
  • 60.6k
2 votes
Accepted

Network of multisites in Wordpress, create new site with all the contents of the main

You can use Multisite Clone Duplicator plugin.
KAGG Design's user avatar
  • 1,852
1 vote
Accepted

How to use wp_set_password in a plugin?

I was using the wrong action hook. Replaced send_headers with init and it works. Wrong add_action('send_headers', array($this, 'do_things')); Right add_action('init', array($this, 'do_things'));
Kirkland's user avatar
  • 298
1 vote

Add the site's name as prefix when adding new users? Multisite

I have noticed that the code our friend shares has an error. Add the prefix twice. I share other code with this error resolved. <?php add_filter( 'pre_user_login', 'sneakily_add_prefix_to_username'...
Edgar Rodriguez's user avatar
1 vote

How to change user starting role in WordPress MultiSite?

I just follow these steps. And its done now. So if you want to change this, you’ve got a few options open to you: Go to “My Sites” –> “Network Admin” –> “Sites” –> “All Sites” and select “Edit” on ...
Talha khan's user avatar
1 vote
Accepted

What is meant by Multisite in WordPress?

Wordpress Multisite allows you to use one WordPress code installation to run multiple websites. mywebsite1.com mywebsite2.com mywebsite3.com etc All run from the same code, can share the same ...
Slam's user avatar
  • 343
1 vote
Accepted

Buddypress profile pictures sync across Wordpress Multisite Network

After activating multisite I installed and network activated BuddyPress. I also added this line to wp-config.php: define ( 'BP_ROOT_BLOG', 2 ); where 2 is ID of your communitycommunity.mysite.com ...
Marko Jezernik's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible