February 8, 2012

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.

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

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

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’, ‘theme-folder-name’); In this example, the classic theme is used as the default [...]

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 (313) I tested it in the [...]

Get a list of the latest sites or blogs in the network

From the archives (which are full of good things, btw) I revamped a post with an updated version of the List All plugin, and confirmed the Most Recent Blogs widget still worked. It does! So, if you’re looking to have a widget that will show the last ten blogs, go get it here.

WP125 Ads Plugin

We had a client who is using the WP125 Ads plugin. When they upgraded to WordPress 3.0, it was having an error. I fixed the error and forwarded it to our client. Other folks reported the same issue in this thread in the WP support forums. The author of the plugin posted and indicated he [...]

Did your user’s theme options and widgets page disappear?

Well here’s a little bug that was discovered, though it’s not really a bug in WordPress itself, rather a change. It shows up in themes with higher-level capabilities attached to certain menu items. In 3.0, this was made more stringent with the merge. the theme editor was left in with only Super Admins having access [...]