[wp-hackers] Disabling character conversions

Mika A Epstein ipstenu at ipstenu.org
Mon Aug 20 00:00:37 UTC 2012


<code>blah</code> ... Unless they slipped a code shortcode in there.

I actually use http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/

----
Mika A Epstein (aka Ipstenu)
http://ipstenu.org | http://halfelf.org

On 19 Aug 2012, at 6:54:38PM, Brian Layman <wp-hackers at thecodecave.com> wrote:

> 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
> 
> _______________________________________________
> 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