Blogging, Web Tools, Wordpress

Removing Curly Quotes in Wordpress

Posted by John Saddington on Mar 30, 2009

picture-118Here’s your Wordpress hack of the day: Removing curly quotes in Wordpress.

Curly quotes are nice, they are beautiful looking, but they suck for usability for your readers, especially if they are trying to copy and paste content and/or code from your blog.

So, I kill them. Kill them all, both in the content and the comments. This ensures the “safest” viewing experience for your readers.

It’s super easy. Just copy and paste the following into your “Theme Functions” php file:

<?php remove_filter(‘the_content’, ‘wptexturize’); ?>
<?php remove_filter(‘comment_text’, ‘wptexturize’); ?>

That’s it!

Here’s to making the blogging experience the very best. Oh, and you have to start with Wordpress.

;)

  • Buzz it!
  • Bookmark and Share

John Saddington

John is the Chief Editor @ The 8BIT Network and Senior Blog Junkie here at ChurchCrunch.He enjoys Triple-Tall Americanos, developing Wordpress Themes, and a few other Random Things.

Leave a Reply

4 Responses to “Removing Curly Quotes in Wordpress”

  1. always appreciate the hacks

  2. here, here, oh wordpress master!

  3. shot
    I will be experimenting with that