Daily Archives: Saturday, June 13, 2009

Easily import sitewide comments – WPMU

One of my work responsibilities is the administration and development of a WordPress MU installation, Puget Sound Blogs. Someone suggested adding a feed of the most recent comments onto the front page, but obviously this isn’t terribly easy to do with WPMU, unless you have the sitewide comments plugin. http://wpmudev.org/project/Sitewide-recent-comments

Now the problem with this plugin becomes: What do I do to import my old comments. It’s fairly easy to simply export and re-import the comments, but I found this to be rather time consuming. So I wrote this script to do it all for me. Keep in mind that you’ll need to change which tables you use if they are different and whatnot, but it sure saved me a lot of time anyway.

Continue reading