WordPress Bits

Hacking WordPress. Keeping the bits together.

Archive for the ‘Filters’ Category

A look at WordPress filters. Disable wpautop() on post formatting.

Posted by Leonid Mamchenkov on August 6, 2007

WordPress provides a number of ways to control how content is stored and displayed. There are themes, which I’m sure everybody has already heard of. There are widgets, which are picking up the fame. But there are things deeper in, which aren’t as famous. They are called filters. And WordPress has quite a few of them.

There are some default filters in WordPress, which work behind the scenes, formatting the content the best possible way. The thing is though, while this formatting suits most users out there, sometimes you want to have control over how things are done. In this post, we’ll see how to gain that control.

Read the rest of this entry »


Posted in Filters, Plugins, WordPress | 32 Comments »