[wp-hackers] Disabling character conversions
Brian Layman
wp-hackers at thecodecave.com
Mon Aug 20 00:13:25 UTC 2012
I wasn't sure if [code][/code] got added to core or not. The codex
definitely does reference it in the wptexturize() article. I've had it
via plugin forever, but a quick set of tests shows that naked WP core
doesn't have that shortcode.
(And btw wordpress.com does of course have [code][/code].)
Brian Layman
On 8/19/2012 8:00 PM, Mika A Epstein wrote:
> <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
> _______________________________________________
> 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