June 14th, 2011
Sometimes in a WordPress network, you may wish to have a theme enabled just for one site, and restrict access to this theme by other sites. The main blog is a good example, because you do not want users able to choose the exact same layout as the main blog with any custom coding it [...]
Filed under: how to | Comments Off
April 18th, 2011
Before I get into the how, I think I may need to explain the why. One of the tough job in running a large network of sites with multisite is controlling spam on the sub sites. Add that to users who come and go, abandoning their blogs with open settings, and very quickly your database(s) [...]
Filed under: how to | Comments Off
April 5th, 2011
Astute users of multisite have noticed that the blog ID column is no longer visible in network admin. You can still see the blog ID when you hover over the site name, however. Frank at wpengineer has written up a quick mu-plugin if you’re happier with the whole column showing up. Check it out. View [...]
Filed under: how to | Comments Off
November 30th, 2010
Coming in 3.1, the Super Admin menu will be shuffled off to its own admin area, thus making the distinction really clear between global network actions and site-specific ones. I wrote about this back here. “But Andrea,” some of you have said, “My menus for my plugin are in the wrong place, how do I [...]
Filed under: how to | Comments Off
October 11th, 2010
Running multiple sites like this may not be for everyone. You may have decided to switch back. It’s pretty easy, so here’s how. Delete any extra sites you may have created. Move the content and users to the main blog or wherever you desire. Remove the lines we added in the wp-config.php file. Restore the [...]
Filed under: how to | Comments Off
July 22nd, 2010
Here’s a simple internal function that will return a list of all sites in the network. The code below just shows them all and unlinked.
Filed under: how to | Comments Off
July 20th, 2010
I remembered this really neat internal function that is handy to display anywhere you want to show how many sites and users you have in your network. $stats = get_sitestats(); echo ‘There are currently ‘.$stats[ 'blogs' ].’ sites running on this network and ‘.$stats[ 'users' ].’ users.’; Surround that in php tags. For added snazziness [...]
Filed under: how to | Comments Off
July 18th, 2010
There’s a new and very little documented feature in 3.0 for changing the default theme. And? This will work on single WordPress installs as well as being handy for a network of sites. The magic line is this in your config file: define(‘WP_DEFAULT_THEME’, ‘classic’); In this example, the classic theme is used as the default [...]
Filed under: how to | Comments Off
May 12th, 2010
Our buddy Pete went and wrote up a very detailed post on how to upgrade from WPMU to WordPress 3.0 if you are brave enough right now to try out the beta2. Pete steps through it manually, so be prepared for that. (and backup your site first). These instructions will still be relevant for the [...]
Filed under: how to | Comments Off
March 8th, 2010
A very little-know and hidden feature in WordPress MU is the ability to add a customize page that is displayed when a blog is suspended or archived. Only Site Admins can archive or suspend a blog, and you can do this in the Site Admin -> Blogs menu. Hover over the blog in question and [...]
Filed under: how to | Comments Off