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.)
<?phpadd_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+.
<?phpadd_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;}}?>- Use the following to copy and paste the code.
No Comments
| Add a Comment

