WordPress MU Blog Topics Plugin

Updated! Please view the new post here.

As we’re preparing to launch a WordPress MU site, we realized we needed a way to categorize blogs by topic, so we could create a portal of sorts that didn’t rely on user-generated categories or tags. We wanted to control a taxonomy for the portal. After searching the existing plugins, I found one that got us close, but it wasn’t done in a very efficient way. So, I took that base, and re-wrote the code. Props to Ezequiel Conte (http://code.google.com/p/cetsopensource/), for the base code that got me started.

Without further ado, here is the Blog Topics plugin and widget.

Full instructions are in the read me file.

Brief instructions:

  • Unzip the file somewhere
  • Upload the cets_blogtopics.php file to the wp-content/mu-plugins folder
  • Log in as site admin and go to “Blog Topics Management” to add your topics.

New blog creators will be asked to pick a topic. Existing blogs will be defaulted to topic id 1.

Upload the widget file if you want to use the widget, or use the two additional files provided to create topic portal pages.

Enjoy!

18 thoughts on “WordPress MU Blog Topics Plugin

  1. It would be difficult to reuse the stuff from the certi_blog_categories. He was storing categories in the blog_options tables. Theoretically, you could do some sql magic to go through each of those tables, find the appropriate category, and add it to the blog topics relationships table. But, it would definitely be a bit of a hassle.

  2. line 177 of cets_blogtopics.php shoud be if ($potential_tags_blog == (int) $potential_tags_blog && $potential_tags_blog””) {
    otherwhise it could create an erroneus select

  3. Hi,
    I install a mu-wordpress and upload plagins in wp-content/mu-plugins directory but i cat see those in admin panel. If i upload a plugin in wp-content/plugins directory i can see that. can you help me please?

    Thanks in advanced
    mehrdad

    1. Plugins that are uploaded into mu-plugins are automatically activated for all blogs. They won’t show up as a plugin. The blog topics plug in is an MU plugin. It really wouldn’t be relevant as a blog-by-blog plugin.

  4. I am a newbie to this forum site. I hope you guys help me always if I fall in trouble. And I’m really happy to join with you. Pls share your valuable tips and tricks with me.

  5. I cannot get the Blog Topics plugin to work I am afraid becuase of my own lack of knowledge. I have read the directions to create a page for the category or topics list to be placed in but I am not sure of the code that needs to be put in that page so that it will show this list when viewed in a browser. My apologies but I am somewhat new to wordpress and have little experience and knowledge with the more in depth stuff. You wouldn’t mind giving me an example would you? Thanks . . . Lana

    1. I can’t really give you a sample…. If you follow all the directions, and put the various files where they need to go, you should be able to create a page using the built-in wpmu interface, and select the template to show the topics. Make sense?

  6. I’ve created the template page for the plugin and a topics page in the admin. In the template page do I use something like . . .

    ?

  7. hello and merry xmas to every one – hope yous had a nice one – iv blew 3 months of dieting in one day ha , all the best for the comming year – mick

  8. An outstanding share! I have just forwarded this onto a colleague who has been conducting a little homework on this.

    And he in fact bought me dinner due to the fact that I stumbled
    upon it for him… lol. So let me reword this…. Thank YOU for the meal!!
    But yeah, thanx for spending some time to discuss this subject here on your web page.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s