B2B Articles - June 29, 2010
By default, Wordpress will convert your straight quotation marks into curvy quotation marks (Smart Quotes or left/right quotes). This function makes the quote marks much prettier than straight quotes, but they have a fundamental problem. When someone tries to cite your blog post or if you are posting a code snippet, the curvy quotes will cause errors and not display correctly as they are pasted into the new system, social media site or CMS/blog.
Unfortunately, we recently faced this problem, as users of this website (Webintel) could not replicate the code snippets that we were sharing. (Sorry about that!) So once we realized this, we had to find a fix...and quick!
We discovered this solution from Noob Cube's Jarod Taylor (www.noobcube.com/.../).
To remove the curvy (smart quotes) from your Wordpress post content, paste the following PHP snippet at the end of your functions.php page in your theme folder. Please note: we tested this on a few themes and noticed that this can cause errors with certain functions.php files that have been modified. Simply make a backup of your original file prior to trying this out.
Please the code at the end of your functions.php page:
<?php
remove_filter('the_content', 'wptexturize');
?>
You can also remove the curvy quotations from titles by adding this code:
<?php
remove_filter('the_title', 'wptexturize');
?>
Tel 212-993-7809
Ironpaper ®
10 East 33rd Street
6th Floor
New York, NY 10016
Map
New York Agency
B2B marketing
B2B Content
Demand generation agency
Digital Marketing
Account-Based Marketing
ABM for SaaS
ABM for energy
Demand generation campaigns
Industry marketing
Privacy Policy
First-party data marketing
SaaS marketing
SEO for B2B
IoT Marketing
B2B Marketing for IoT Companies
HubSpot Agency
B2B Product Marketing
B2B Software Marketing
IoT go-to-market strategy
IT Marketing
HubSpot for ABM
ABM for AI companies
Technology Marketing
Marketing for IT Companies
ABM Campaigns
B2B lead generation
B2B Marketing and Growth Agency.
Grow your B2B business boldly. Ironpaper is a B2B marketing agency. We build growth engines for marketing and sales success. We drive demand generation campaigns, ABM programs, B2B content, sales enablement, qualified leads, and B2B marketing efforts.