webmaestro
Sophomore
Just Getting Started
Member Likes (0)
We had an issue where RSS feeds showed funky characters when used to populate 'recent posts' listings on sister sites.
I found a couple of solutions involving disabling wptexturize, either by:
- editing
/wp-includes/formatting.phpto comment out the//add_filter('the_title', 'wptexturize');calls - editing a theme's
function.phpfile - adding a plugin like Disable wptexturize to disable the
wptexturizefilter.
I like the elegance of the Plugin method, as it is very concise (& doesn't require modifying CORE functions... ;-). However, I'd prefer that only RSS feeds be excluded from the wptexturize() functionality (I like curly quotes everywhere else).
Any ideas on how I might fix this so RSS feeds don't get wptexturize()'d, but everything else does?
NOTE: Modifying the Encoding for pages and feeds setting on 'Settings > Reading' helps, but only if the web page on which the RSS feed will be displayed matches the encoding specified.
Responses (1)
Keeper of the Dark Chocolate (joined July 2007) Likes (0)
This actually comes up rather high when one searches for it in Google.
Adding a reference link to help folks out:
http://stackoverflow.com/questions/3330800/wordpress-disable-wptexturize-everywhere-not-just-in-the-content-or-the-exce
WordPress Questions?
We've got answers!
Find out more »