Friday, October 15, 2010

TutZone- Tutorials, Design news and Inspiration

TutZone- Tutorials, Design news and Inspiration

Link to TutZone

How To Disable Automatic Formatting

Posted: 15 Oct 2010 08:53 AM PDT


WordPress automatically do formatting of codes which can surely become a huge problem for many blogger. But this can be disabled easily. Just follow this one step tutorial and you should be good.

Procedure:

Note: Do take backup of your theme before you try this.

01. Just Add below code in your functions.php file:

remove_filter('the_content', 'wptexturize');
remove_filter('the_excerpt', 'wptexturize');

This concludes this simple and useful tutorial. Hope you like it.

No comments:

Post a Comment