Return a list of sites on ...

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.

Theme Stats Updated...

I updated the theme stats plugin to work with new WordPress 3.0 networks as well as with MU installs upgraded to WordPress 3.0. You can download it here: WordPress Network Theme Stats.  

Get some simple Network st...

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 and extra bonus points on your homework, go grab a copy...

WordCamp Montreal...

Both Andrea & I will be speaking at WordCamp Montreal. Andrea & I have had a fantastic time at every WordCamp we have attended and we enjoy meeting other people who use WordPress. If you have never been to one, this will be a great one for you to attend. Whatever you are doing with WordPress, you can be sure that you’ll have a chance to talk to others who have been or are interested...

Change the default theme f...

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 when a site is created, or when a theme in use is removed. If you are...

Last updated sites widget...

This is a handy little widget that will pull a list of all the sites in your network and order them by last updated. The code for this was originally in the home theme of the WPMU download, so thanks to Donncha for that bit. Last Updated Sites widget (58) I tested it in the mu-plugins folder, but you should also be able to use it as a regular plugin as it only needs to run on one blog. It’s...

Recent From How To
Recent From News

Popular Articles