I Need To Make A Change With My IT Support! Call (225) 706-8414

Disable Fancy Quotes Smart Quotes in WordPress Posts

You are using quotes (“) in your posts, but WordPress is using fancy quotes and this breaks copy&paste, introduces weird characters into your headlines, etc.

Solution

You can turn this off site-wide by disabling smart quotes.

For your theme, locate the functions.php file.

Add this to the top:

remove_filter(‘the_content’, ‘wptexturize’);

remove_filter(‘comment_text’, ‘wptexturize’);

remove_filter (‘single_post_title’, ‘wptexturize’);

remove_filter (‘the_title’, ‘wptexturize’);

remove_filter (‘wp_title’, ‘wptexturize’);

Concerned About Cyber Attacks?

CLICK HERE >

Want to Migrate to the Cloud?

CLICK HERE >
Office 365

Ready to Experience Microsoft Office 365?

Want the latest IT news directly in your inbox? Subscribe now!