Less Filters Plugin for WordPress
April 5, 2009
I made this plugin a while ago but I didn't have time to upload it. So please forgive me.
Download
Here is the link to download it: less-filters.
Quick instruction:
What you need to do is extract the less-filter.php file to /wp-content/plugins/ folder then activate the plugins. You will then be able to include javascript and other advanced codes into the wpmu post body and widgets. I will give more instruction soon. If not, please remind me.
Property right:
I made this plugin, so please kindly give me some credit if you talk about it or reproduce it. Thanks.

Subscribe via RSS

Very good and important little plugin! Thanks a lot!
Was having a nightmare trying to embed Slide.com slideshows into my site till I came across this plugin. Thank you!
Thanks for the plugin, it simplified the process of removing the filters! Nice work!
Thanks for rolling this into a plugin, I searched high and low for a fix. Ps...the grammatically correct version would be called "Fewer Filters."
Hi Binh.
Nice Plugin esp. for wordpress mu. But does it affect filtering of html/js from comments?
Thanks for your work,
Patrick
Hi I tried your pluggin in WPMU, still I cannot use Viva Zoom in my WP Installation
Thanks 4 this, i hew truble with wordpress MU this is ok in post bot dont work in widgets. pls any help with widgets its not workting on my users widge they not abel tu ad adsens code??
Thanks
Thank you for the plugin it works when entering php directly in my textboxes, unfortunately it still strips out php tags when doing a XMLRPC call and e.g. "add page", can you add the remove filter for XMLRPC calls also?
this plugin works to enter PHP code. It also executes the PHP code (using php-exec). However, apart from XMLRPC still stripping out the tags:
includes do not work
Is there a ways to also let the includes work under WPMU+PHPEXEC?
[...] sprendimas Less filters įskiepio [...]
Does this work with WPMU?
Thank you very much for your plugin. I wish it was a default option in WordPress.
You should submit it to the WordPress plugins database so more people can find this useful plugin!
[...] Problemos sprendimas Less filters įskiepio pagalba. Tuomet nereikia keisti pačio wordpress kodo ir Jūsų pakeitimai pasidaro [...]
is there any way to keep php code in content on saving a post?
When I make post content from html to visual, it removes all php code from content area.
Plase let me know by email.
Thanks.
Arpita
Thanks for this plugin, there are some errors, I am not sure but you seem to be pointing your add_action('init' at a non existing function because you've put your function inside a class, 2nd is that the disable_kses_content is also not working for the same reason here is my fix, untested:
ID, 'noautop', true);
if ( $noautop == '1' || $noautop = '') {
return $pee;
}
else {
return wpautop($pee);
}
}
// disable auto-p
function less_filters()
{
// add conditional auto-p
// disable auto-p
remove_filter('the_content', 'wpautop');
// add conditional auto-p
add_filter('the_content', 'wp_noautop');
// disable texturize
remove_filter('comment_text', 'wptexturize');
remove_filter('the_excerpt', 'wptexturize');
remove_filter('the_content', 'wptexturize');
#remove_filter('the_title', 'wptexturize');
$this->disable_kses_content();
}
// disable KSES for content, Working now
function disable_kses_content() {
remove_filter('content_save_pre', 'wp_filter_post_kses');
remove_filter('excerpt_save_pre', 'wp_filter_post_kses');
remove_filter('content_filtered_save_pre', 'wp_filter_post_kses');
}
}
endif;
if(is_admin() && !isset($lessFilter))
$lessFilter = new lessFilter();
?>
Lame, please email me for a copy you have my email in WP admin