[wp-hackers] Disabling character conversions

Brian Layman wp-hackers at thecodecave.com
Sun Aug 19 23:54:38 UTC 2012


OR a better way to fix that is to wrap the code you are putting into 
your post in any of these tags:
<pre>, <code>, <kbd>, <style>, <script>, <tt>

or try putting it in:
[code] [/code]

That should fix the problem for you..

Brian Layman

On 8/19/2012 7:43 PM, Mika A Epstein wrote:
> It's a filter you can turn off.
>
> remove_filter('the_content', 'wptexturize');
>
> ----
> Mika A Epstein (aka Ipstenu)
> http://ipstenu.org | http://halfelf.org
>
> On 19 Aug 2012, at 6:39:02PM, John Elliot <jj5 at jj5.net> wrote:
>
>> WordPress automatically converts double quotes to sixty sixes and ninety
>> nines but I need to post code content in my articles and don't want
>> quote characters converted. Is there some way to disable the default
>> character conversion?
>>
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list