Running multiple sites with one installation and one central management. Also known as network and WPMU.

learn more… | top users | synonyms (4)

10
votes
2answers
9k views

How To Add Custom Form Fields To The User Profile Page?

The user profile page has the following fields: Username First Name Last Name Nickname Display name Contact Info E-mail Website AIM Yahoo IM Jabber / Google Talk How can more fields be added to ...
11
votes
4answers
6k views

WordPress Multisite - global categories

Setting up a WP multisite instance - the client has an existing ontology / set of categories that they want to classify all content across the set of blogs. Also the desire is that any new categories ...
8
votes
2answers
2k views

restore_current_blog() vs switch_to_blog()

After every instance of switch_to_blog() you should call restore_current_blog() to restore the current (actually, previous) blog. But if you're looping through two or more blogs and calling ...
8
votes
1answer
3k views

How to use same email for multiple users

I have a very big multisite. And I got a request to enable option that multiple users can use the same email. I found a plugin "Allow Multiple Accounts" which doesn't work properly. I should figure ...
5
votes
7answers
3k views

What are options are there to implement a multi language site

What is the best way to have multiple languages on a site? I was thinking of using WP3.0 and then having each language of the site being a seperate blog in a sub directory. I.E. example.com ...
5
votes
1answer
5k views

Get posts from sites in Multisite?

I'm trying to pull multiple sites posts. For example, I can pull out a single site posts by a category and total posts 10. But I'm trying to pull out both posts from two separate Multisite blogs 1 ...
0
votes
2answers
644 views

How to Structure Wordpress for an Organization and its Departments?

I want to make a wordpress site for an organization (main) that has many departments. The requirements are There is only one website ( or maybe same theme for the main site and its department site) ...
12
votes
3answers
2k views

How to add Custom Blog Options to new blog setup form?

Seems like a simple enough requirement, but I'm struggling: I want to add an option field to the "Add New Site". A simple text option is fine. How do I do this? I need to save this custom blog ...
3
votes
1answer
240 views

Inherit plugin settings to new site in Multisite

I use the Breadcrumb NavXT plugin for a WP Multisite. I activated the plugin for all sites so I can use it throughout my network. My problem is that every time I add a new site I have to change the ...
1
vote
1answer
64 views

Multisite list all pages in site

I have a WP Multisite that contains 3 sites - sites 1, 2, 3 Site 1 and 2 are just one page but site 3 has multi pages inside. I would like to show a navigation on the top of each site to the other ...
0
votes
1answer
495 views

Filters 'request' and 'parse_query' not firing in sites.php nor link-manager.php

I'm trying to make sortable columns in Sites and Links listings admin pages. /wp-admin/network/sites.php and /wp-admin/link-manager.php The problem is the following filters are not firing up in ...
7
votes
1answer
2k views

Multisite on Windows with wildcard subdomains

I want to create a local network on a Windows machine using subdomains. I do not want to edit the hosts file for each new subdomain. But Windows does not support wildcard subdomains, and the Codex ...
5
votes
3answers
3k views

How to list all network sites on one page

Can I list all the blogs in my network on one page?
5
votes
1answer
562 views

How to set up wordpress domain mapping on MAMP Pro

I am trying to set up a wordpress multisite with MAMP Pro that will allow me to have two different domains (one domain for each language): dev.domainenglish.com dev.domainfrench.com I have already ...
7
votes
2answers
9k views

How do I create a custom role capability?

I wish to create a custom capability for accessing the interface of my plugin. Should the plugin manage adding this capability to all the administrator accounts on activation? If so: Does WordPress ...
5
votes
1answer
4k views

How to set permalink structure via functions.php

I'm setting up a Wordpress Network and wanted all new sites to have the same permalink structure (i.e. "/%year%/%monthnum%/%postname%/"). I'm wondering if this is possible to do via hooks or hacks in ...
5
votes
2answers
3k views

Can I set some default pages to be created on every creation of a new blog

The pages like "about" will be created automatically when a new blog is created. Likewise I need some other pages which should appear automatically when a blog is created under my multisites. How can ...
1
vote
1answer
1k views

Fatal error: Call to undefined function wp_get_current_user()

I have some strange error or may be I do not have the skills to tackle this issue. I am building a plugin for Multisite. When is use is_admin(), my plugin works fine but when I use is_super_admin it ...
5
votes
3answers
618 views

Basic Multisite Question - Managing Content Centrally

Is it possible to manage content on multisite installations centrally? If I have a network of 20 sites, is it possible to change the content on one site and have it update across the network, or will ...
3
votes
2answers
3k views

Custom Post Type, WP_Query and 'orderby'

I do have a custom post type with the following setup: $supports = array( 'title' , 'editor' , 'thumbnail' , 'revisions' , 'page-attributes' ); $args = array( 'hierarchical' ...
3
votes
1answer
386 views

4 single sites VS multisite wordpress

We're currently running a multisite wordpress install for 4 sites. Running into problems with pretty much every plugin ever made (mostly issues with user account creation etc), I'd really like to ...
1
vote
1answer
492 views

BuddyPress on Multisite [closed]

Does having BuddyPress installed on a Multisite setup mean that users in each of the different sites can interact or view the actions or content of users on other sites in the network?
4
votes
3answers
4k views

Help - Why my roles are not showing? Multi-site/Network

My network is showing roles in some sites and not in others. For some reason that I can't explain, when I add a new user, I have no role to choose from on the drop down box of a sub-site in my ...
3
votes
1answer
331 views

How to use alias domain for multisite installation?

Is it possible to use alias-domain for multisite installation? I have tried domain-mapping plugin and Multi Domains plugin for WordPress, but this does not solve this problem. Example: I have ...
2
votes
2answers
1k views

How to disable Multisite sign-up page?

If we try to access a non-existant Multisite site, e.g., http://site1.example.com or http://example.com/site1/, we are redirected to http://example.com/wp-signup.php?new=site1. How to block this and ...
2
votes
1answer
1k views

WP Multisite: Adding pages on blog creation by default

I’d like to have a page added by default when a new site is created with WP Multisite. So I have my function that creates two pages: function my_default_pages() { $default_pages = ...
2
votes
2answers
1k views

How Can I Centralize Content Usage and Approval in a WordPress Multi-Site installation

I am working with a non-profit client that runs several charities under one umbrella. A good metaphor would be to think of the United Way (but it's not the United Way). Can a WordPress multi-site ...
2
votes
2answers
2k views

Error 101 after upgrading Wordpress

We have just updated to WordPress 3.1.3 by following the WP manual install tutorial. Note: This is a Network-enabled (multi-site) install. After uploading the new files, we now get the following ...
2
votes
1answer
2k views

Infinite loop problem with the WordPress MU Domain Mapping plug-in

When I'm logged out, everything works fine. When I'm logged in, I'm unable to visit the front-end of my site. My main page is actually located in a sub-folder of my multisite installation: ...
0
votes
2answers
4k views

Can i merge 2 new WP_Query($variable) 's?

I am running a multisite network and i have setup a sql query that uses swith_to_blog(); and queries the posts. Is there a way that i can declare the query inside a new WP_Query and actually merge ...
10
votes
2answers
2k views

How to add field for new site-wide option on Network Settings screen?

I'm working on a plugin, and part of it involves setting an option value that applies to all sites in a WordPress network. I know about the add_site_option and get_site_option functions that let you ...
5
votes
3answers
558 views

Set default avatar network-wide

I've seen plugins and snippets on how to set a new default avatar for a site. I'm wondering if this can be done network-wide, such that every new site on the network will have the network's avatar as ...
5
votes
2answers
2k views

BLOG_ID_CURRENT_SITE vs. SITE_ID_CURRENT_SITE in WordPress Multisite?

I've been trying to figure out why we have the constants BLOG_ID_CURRENT_SITE and SITE_ID_CURRENT_SITE (vs. hardcoding them to be equal to 1), what exactly the differences are, and when either of them ...
4
votes
2answers
193 views

How can I display all Multisite blogs where this user is administrator?

Given the user ID, how can I display all the blogs where this user is administrator? I tried: <?php $user_id = 2; $user_blogs = get_blogs_of_user( $user_id ); echo '<ul>'; foreach ...
4
votes
1answer
709 views

Restrict Admin Capabilities in MultiSite

update_core update_plugins update_themes install_plugins install_themes delete_themes edit_plugins edit_themes Hi, I want to restrict those capabilities to user_id = ...
3
votes
1answer
451 views

Outputting Canonical Resource URLs Across a Multisite Network?

Say a theme "foo" is used on across a network of sites. In each site, all the theme resources (.css, .js, etc.) will have distinct URLs: http://network/siteA/wp-content/themes/foo/style.css ...
2
votes
2answers
327 views

Add site options UI in Multisite Sites > Infos page

I want to add meta fields for the sites in my network (such as a thumbnail and a category). I know how to do this using get/add/update_site_option, but I'm wondering where I could put the UI to manage ...
1
vote
2answers
505 views

Protect Uploads in Multisite

I am using WordPress multisite (3.3.1) and am trying to protect uploads from certain blogs from being hotlinked and directly accessed. This is loosely related to How to Protect Uploads, if User is not ...
3
votes
2answers
2k views

Remove the blog slug from Wordpress Multisite root node

I have been looking at whether it is possible to remove the blog from the post & caetegory URL's in a multisite setup on the root node. I have found the Multisite sites settings and removed the ...
3
votes
2answers
295 views

Lock one of WP Network sites for not registered users

I have a blog network (Multisite), with domain mapping plugin installed, and some of my sites are under development, so I want to lock them from not registered users. I tested a few plugins designed ...
3
votes
2answers
595 views

How to Check If A Plugin Is Enabled Through API?

How to find out if a particular plugin is enabled in a sub-blog in a multisite blog?
1
vote
1answer
828 views

“Upgrade Network” error: stuck with SSL certificate verification

When trying to update one Network/MU install, I got the following error. Warning! Problem updating https://subdomain-A.example.com. Your server may not be able to connect to sites running on it. ...
1
vote
1answer
322 views

Allowing logged in users to comment without moderation across a multisite installation

I currently do web admin for an internet community based on BuddyPress and Multi Site, and use the Comment author must have a previously approved comment setting to make it easier for users to comment ...
1
vote
1answer
104 views

subdomain archiving

I've been trying to figure out if this can be done through Multisite, but I'm pretty new to this concept so please forgive any ignorance. I'm looking for a way in which my client can easily archive a ...
0
votes
1answer
77 views

Redirect all users, except network administrators, from the main site to a subsite

I have a WP Multisite / Multi Network installation. What I need is to redirect all non-logged and also all logged in users, except logged in network administrators, from the main site example.com ...
0
votes
2answers
243 views

List all sites in multisite

I want to list all sites in the multi site network in alphabetical order? Right now, the code lists by registered date <?php // Query for getting blogs $blogs = $wpdb->get_results( ...
0
votes
2answers
1k views

Redirect Site Geologically

I am using WordPress mu and need to redirect my site based on the users geo location. For example if you go to yahoo from the US it will goes to yahoo.com, but if you visit the site from India it ...
0
votes
3answers
110 views

How does WP decide how to evaluate database integrity

I've upgraded a handful of WPMU sites from 2.9 to WP3. I've never had problems with that process .. until today, when all of a sudden, one install tells me that the DB is missing some tables. The ...
6
votes
1answer
257 views

How do I transition multiple installations to a single Multisite installation?

I have a client who runs 8 different blogs, currently on 8 separate installations of WordPress. I'm trying to encourage them to move to a single MS installation instead to make it easier (mostly on ...
5
votes
1answer
716 views

Programmatically create blogs with dummy content on a WPMU site

I'm trying to set up a WPMU test environment with 5-6K blogs, lots of posts comments, users etc. Browsing trough the WP's functions, I picked up wp_insert_post, wp_insert_comment, ...