Share one taxonomy across multiple blogs in 3.0

I have a series of blogs that will use some, but not all, of the same posts. We have one blog where many of the posts are written, and then shared down to the other blogs, based on topic. We cannot accomplish this properly using categories, though we’ve thought of that.

All the blogs use the same theme, the theme changes slightly based on the blog. I would like to do something like this:

Read More
register_taxonomy(
    'some_categories',
    array('post'),
    array ('hierarchical' => true,
    'label' => __('Some Awesome Categories'),
    'singular_label' => __('Some Awesome Category'),
    'query_var' => 'some_categories')
    );

We’re using a path install so if I got to http://domain.com/blog1/wp-admin/ and add some categories, they do not show up at http://domain.com/blog2/wp-admin/.

Is this possible? I know that WP 3.0 has a different set of tables for each blog, so this may not be possible.

TIA

Related posts

Leave a Reply

2 comments

  1. My recommendation would be to place the code that defines your custom taxonomies into a plug-in and activate the plug-in site wide. This will cause the new taxonomies to become active on all the sites in your network.

  2. This might be of help. According to the function reference, you can “define custom taxonomies in a themes’s functions.php template file.”

    So, this could work regardless of whether you’re on a multi-site install or not (though, if I recall how multisites are setup, it might be slightly easier to share the templates across all blogs).