by andrea

How to make a theme demo site

One thing I get asked occasionally, which is really easy to do, is how do you make a theme demo site? Maybe you’re getting into the premium theme business (jump in, just do something different 😛 ), maybe you have a bunch of pro / developer packages and just want a white label site for…

Continue Reading »

by Ron

switch themes with a filter

A while back someone asked on twitter if there were an easy way to change all sites in a network to a different one. Yes, that’s fairly easy to do with a simple plugin that you put in the mu-plugins* folder. [code]function ra_switch_to_twentyten() { global $wpdb; $last_id = get_site_option( ‘ra_twentyten’, 1 ); if( $last_id <…

Continue Reading »

by andrea

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…

Continue Reading »

by andrea

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…

Continue Reading »

by andrea

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…

Continue Reading »

by andrea

Firefox search engine plugins for WordPress

Contrary to popular belief, I do not have the entire codex and support forum contents in my head. There are a couple of tools that make searching for WordPress specific information a whole lot faster, and my job as tech support a whole lot easier. Even if you’re not looking up plugins and codex references…

Continue Reading »

by andrea

Using a hosts file

One of our handy development trick is the judicious use of the hosts file on our local computer. This file controls access to various domains by the use of specifying alternative IP addresses. Usually, this file has very few entries, with the most common being this one: 127.0.0.1 localhost Look familiar? This is how your…

Continue Reading »

by andrea

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…

Continue Reading »

by andrea

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…

Continue Reading »

1 2 3 7