Multi-plugin Plugin

Multi-plugin is a very simple script that allows you to add small bits of PHP scripts, such as WordPress filters, without having to make a plugin for them.

Download Multi-plugin

Installation is as simple as renaming the file to .php, uploading it to your server, activating it, and adding some script to the textbox (for example, I use the following code to remove the nofollow attribute from comments.)

< ?php
add_filter('get_comment_author_link', 'aoi_follow');
add_filter('comment_text', 'aoi_follow');
function aoi_follow($link){
   return preg_replace('/(<a.*?rel[^>]*)nofollow(.*?)/','${1}${2}',$link);
}

?>

You can also use the following to add the trailing slash back onto feeds, categories, pages, etc. in WordPress 2.2+.

< ?php
add_filter('user_trailingslashit', 'aoi_slashit',10,2);
function aoi_slashit($string, $type=''){
  if($type == 'page' || $type == 'category'|| $type == 'month'|| $type == 'day'|| $type == 'paged'|| $type == 'feed'){
    return trailingslashit($string);
  }else{
   return $string;
  }
}
?>

Blogging for Change…

No, this post isn’t about making a difference; it is about the blogger (specifically myself) and advertising, so be warned that this post will be in a far more conversant style than I usually use. In a perfect world people would throw money at me like confetti for every word that flows like poetry out of my keyboard, unfortunately as those extremely annoying commercials reminded us, we don’t live in perfect and are forced to live in reality.

I would love to be able to make money with this site, but the average blogger has only three basic ways to make money through their efforts–selling ad space, reviews, or just hoping loyal readers will contribute. (Assuming, of course, that the blogger only writes content and doesn’t sell tangible products or services.) However, each of these methods are fundamentally flawed and are just as likely to backfire as create a steady income (income of any sort, not just the quit-your-day-job amounts).

Continue reading. »