[WPMU Tutorials] Enable a theme for one site only

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 [...]

[WPMU Tutorials] Close Comments across the network

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) [...]

[WPMU Tutorials] View Blog ID

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 [...]

[WPMU Tutorials] Adding a menu to the new network admin

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 [...]

[WPMU Tutorials] How to disable multisite

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 [...]

[WPMU Tutorials] Return a list of sites on the network

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.

[WPMU Tutorials] Get some simple Network stats

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 [...]

[WPMU Tutorials] Change the default theme for sites without a plugin

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 [...]

[WPMU Tutorials] Upgrading to 3.0

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 [...]

[WPMU Tutorials] Customize the Suspended blog page

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 [...]

Planet WordPress Canada theme by WPDesigner, syndication by Pipes, FeedWordPress, and Feedburner, powered by ?