Posted By

scribbleitdesigns on 07/03/10



Versions (?)

Who likes this?

2 people have marked this snippet as a favorite


Remove wordpress auto formatting

 / Published in: PHP

Removes wordpress auto

tags from content...additional line to clean curly quotes as well.`

  1. /* remove autoformatting - you can remove from comment_text as well, but whitespace there is a good thing */
  2. remove_filter('the_content','wpautop');
  3. // remove curly quotes
  4. remove_filter('comment_text','wptexturize');
  5. remove_filter('the_title','wptexturize');
  6. remove_filter('the_content','wptexturize');

Report this snippet  

You need to login to post a comment.