How To Add Single Quotes In WordPress Posts如何添加單引號在WordPress職位
Single quotes are a royal pain when using WordPress to post your code.單引號是一個皇家疼痛時,使用的WordPress後您的代碼。 WordPress, in its infinite wisdom, does some really bad things to it.在WordPress ,在其無限的智慧,是否真的壞的東西。 And anyone who attempts to simply cut-n-paste your code sample is in for a rude surprise and you are in for some really trivial support calls.和任何人誰企圖簡單地削減氮貼上您的代碼示例是在一個粗魯感到驚訝和你是在為一些瑣碎的真正支持的來電。 So here is how you write your single quotes in WordPress:因此,這裡是你如何撰寫您的單引號在WordPress :
' '
This is safe from WordPress mangling logic.這是從安全的WordPress壓延邏輯。 For other such codes refer其他這些守則是指 here這裡 . 。
Filed under提起下 CMS Software CMS軟件 , , How To如何 , , Pro Blogging贊成Blogging , , Tech Note技術說明 , , Web網頁 , , Web Services Web服務 , , WordPress在WordPress | |
| |
RSS 2.0 2.0 | |
Trackback Trackback跟踪 this Article |此文章|
Email this Article電子郵件此文章
You may also like to read您也可以想讀 |





September 4th, 2006 at 2:08 am 2006年9月4日在上午02時08分
This plugin does this automatically:此插件,這是否自動:
http://www.semiologic.com/software/unfancy-quote/
September 4th, 2006 at 10:01 am 2006年9月4日在上午10時01分
Unfortunately your plugin does the same for double quotes too, which may or may not be what the user wants.可惜您的插件是否相同雙引號太多,這可能是也可能不是什麼用戶希望。 It would be better to have it as an option, quicktags would be a better way I think.最好是將它作為一個選項, quicktags會是一個更好的方法,我認為。