is_multisite(); Support for WordPress 3.0

Looking for a variable to use to differentiate between sites in a WordPress 3.0 Multisite installation. I saw the function “is_multisite();” in some blogs, but not sure if its supported yet. I have one theme I’d like to use on all the Network’s sites, but need a way to use conditions between them.

Thanks for the help.

Related posts

Leave a Reply

2 comments

  1. This article dicusses a few different techniques for determining if the site is in a Multisite installation. Below is a cleaned up version of their custom function:

    function yourtheme_is_multsite() {
        global $wpmu_version;
        if (function_exists('is_multisite'))
            return is_multisite();
        return !empty($wpmu_version));
    }