[wp-hackers] Issues with wpautop and my plugin
r at robm.me.uk
Sat Aug 5 11:47:03 GMT 2006
> Yes, but then my quotes get turned into fancy quotes and such. Is the
> best solution to have a priority of 50 and then search for my
> WordPress formatted version of my placeholder?
Remove `wptexturize`, add your filter with a lower priority than
`wpautop`, then re-add `wptexturize` with an even higher priority than that.
add_filter('the_content', 'your_function', 25);
add_filter('the_content', 'wptexturize', 50);
http://robm.me.uk/ | http://kantian.co.uk/
More information about the wp-hackers