Remove Smart Quotes in WP

I don’t want to use smart quotes in my wordpress blog because most of the people can’t copy easily. In HTML code and XML code are changed and people need to replace a text again. So, I decided to disable smart quotes in my wordpress blog. I use wordpress blog in My english blog is using habari.


Ok.. Go to your Admin Panel > Apperance > Editor and then click the function.php from the right sidebar. Add follwoing two line below of the <? .

remove_filter(‘the_content’, ‘wptexturize’); remove_filter(‘comment_text’, ‘wptexturize’);


It work in my blog and I can disable smart qutoes in this way.



comments powered byDisqus