I should have written a Smarty modifier to display those pictures in the first place, but now I’ll probably delve into WordPress plugins and hook into
the_content() to do the same.
I want AutoBR back!
4 thoughts on “I want AutoBR back!”
Autop is done as a filter, so you can add or modify the filter or access the post text directly using $post->post_content.
Check out my WP Unformatted plugin.
So, it’s all or nothing then? All comments have them or not?
After looking around the backend I realised that using the custom fields functionality is probably where I should be putting the referernce to picoftheday.
Ooh.. Smartyised the comments form! Fairly simple but it annoyed me that some of the comment functions used
globalto pass parameters. I had to write a small Smarty plugin that “globalises” a Smarty variable.
If you want to set filters on a per-post basis (for either post-content or comments), check out my Text Filter Suite plugin.
It wouldn’t be hard to add code that would let you *turn off* default filters based on a post custom field…