Archive for May, 2009

Multiple WP Blogs On One WP Core

Last Saturday I had the opportunity to listen to Mike Krotscheck talk about techniques for advanced WordPress installations. One of the most interesting things I took away from his talk was a way to install multiple WordPress blogs on one WordPress core. Note we’re not talking about WordPress MU. When you only need 2 or 3 blogs, WordPress MU can be a bit overkill, but installing these blogs on the same WordPress core can save space and make updates easier. Here’s how you do it.

[More]

Short Comment Filter Update

After releasing the Short Comment Filter Plugin, I’ve gotten feedback from people at WP Tavern and I’ve finally gotten a chance to implement their suggestions. I’ve added enough features that I’m bumping the version number to 2.0. Get the new version here

New Features

  • Filtered Comment Count – Look at the settings page to see how many comments have been filtered
  • Customizable Filter Message – Specify a custom message to be displayed if a comment is too short. Use %type% and %length% for a dynamic message

Fixes

  • Email Notification – Notification emails are no longer sent out for filtered comments
  • Filtering Trackbacks – Trackbacks are no longer filtered. Only comments are required to meet the minimum length requirement

Again, here’s the download link

WordPress Tip: Obscure get_option Parameter

Any WordPress Plugin developer worth their salt knows about the get_option function, which allows options to be retrieved from the database. What I recently discovered is that this function accepts a second parameter, indicating a default value to be returned if the option doesn’t exist in the database.

[More]