/ Published in: PHP

Removes wordpress auto <p> tags from content...additional line to clean curly quotes as well.`
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* remove autoformatting - you can remove from comment_text as well, but whitespace there is a good thing */ remove_filter('the_content','wpautop'); // remove curly quotes remove_filter('comment_text','wptexturize'); remove_filter('the_title','wptexturize'); remove_filter('the_content','wptexturize');
Comments
