久久精品水蜜桃av综合天堂,久久精品丝袜高跟鞋,精品国产肉丝袜久久,国产一区二区三区色噜噜,黑人video粗暴亚裔

WordPress: Using Smilies:修訂間差異

來自站長百科
跳轉(zhuǎn)至: 導(dǎo)航、? 搜索
無編輯摘要
無編輯摘要
第1行: 第1行:
== What Are Smileys? ==
Smileys, also known as "emoticons," are ''glyphs'' used to convey emotions in your writing. They are a great way to brighten up posts. [[WordPress:Image:icon_smile.gif|smile emoticon]]
== Smiley是什么? ==
== Smiley是什么? ==
Smiley,就是大家都知道的"字符組成的圖釋,"是在寫作時(shí)用來表達(dá)表情的''符號(hào)''。他們是讓你的文章更閃亮的好幫手。[[WordPress:Image:icon_smile.gif|表情字符]]。
Smiley,就是大家都知道的"字符組成的圖釋,"是在寫作時(shí)用來表達(dá)表情的''符號(hào)''。他們是讓你的文章更閃亮的好幫手。[[WordPress:Image:icon_smile.gif|表情字符]]。


Text smileys are created by typing two or more punctuation marks. Some examples are:
文本Smiley是通過輸入兩個(gè)或者更多的符號(hào)組成的,如下:
文本Smiley是通過輸入兩個(gè)或者更多的符號(hào)組成的,如下:
<tt>;-)</tt> is equivalent to [[WordPress:Image:icon_wink.gif|smile emoticon]]<br />
<tt>;-)</tt> is equivalent to [[WordPress:Image:icon_wink.gif|smile emoticon]]<br />
<tt>:-)</tt> is equivalent to [[WordPress:Image:icon_smile.gif|smile emoticon]]<br />
<tt>:-)</tt> is equivalent to [[WordPress:Image:icon_smile.gif|smile emoticon]]<br />
<tt>:-(</tt> is equivalent to [[WordPress:Image:icon_sad.gif|sad emoticon]]<br />
<tt>:-(</tt> is equivalent to [[WordPress:Image:icon_sad.gif|sad emoticon]]<br />
<tt>:-?</tt> is equivalent to [[WordPress:Image:icon_confused.gif|confused emoticon]]<br />
<tt>:-?</tt> is equivalent to [[WordPress:Image:icon_confused.gif|confused emoticon]]<br />
To learn more about emoticons and their history, see the [http://en.wikipedia.org/wiki/Emoticons Wikipedia entry on Emoticons].
參見[http://en.wikipedia.org/wiki/Emoticons Wikipedia Emoticons入門],以找到更多有關(guān)emoticon和它的歷史信息。
參見[http://en.wikipedia.org/wiki/Emoticons Wikipedia Emoticons入門],以找到更多有關(guān)emoticon和它的歷史信息。
== How Does WordPress Handle Smileys? ==
By default, WordPress automatically converts text smileys to graphic images. When you type <tt>;-)</tt> in your post you see [[WordPress:Image:icon_smile.gif|smile emoticon]] when you preview or publish your post.
== WordPress是如何管理Smiley的? ==
== WordPress是如何管理Smiley的? ==
默認(rèn)情況下,WordPress自動(dòng)轉(zhuǎn)換文本的Smiley為圖片,當(dāng)你輸入<tt>;-)</tt>時(shí),在你的文章中,當(dāng)你預(yù)覽或者發(fā)布文章時(shí),你可以看到一個(gè)[[WordPress:Image:icon_smile.gif|微笑圖標(biāo)]]。
默認(rèn)情況下,WordPress自動(dòng)轉(zhuǎn)換文本的Smiley為圖片,當(dāng)你輸入<tt>;-)</tt>時(shí),在你的文章中,當(dāng)你預(yù)覽或者發(fā)布文章時(shí),你可以看到一個(gè)[[WordPress:Image:icon_smile.gif|微笑圖標(biāo)]]。
== To Turn off Graphic Smileys ==
If you turn off graphic smileys, whatever you type in plain text will remain, and be displayed, as plain text.
# Go to your Admin Panel
# Select ''Options > Writing''
# In the ''Formatting'' section, '''uncheck''' the box for "''Convert emoticons like :-) and :-P to graphics on display''"


== 關(guān)閉圖形Smiley ==
== 關(guān)閉圖形Smiley ==
第37行: 第18行:
# 在''Formatting''部分, '''不要選中''' "''Convert emoticons like :-) and :-P to graphics on display''"前的復(fù)選框就可以了
# 在''Formatting''部分, '''不要選中''' "''Convert emoticons like :-) and :-P to graphics on display''"前的復(fù)選框就可以了


Turning off emoticons means that when you type <tt>;-)</tt> in a post you will see <tt>;-)</tt> when you preview or publish your post. So it doesn't stop you from using emoticons as plain text. [[WordPress:Image:icon_wink.gif|wink emoticon]]
關(guān)閉emoticon意味著當(dāng)你輸入<tt>;-)</tt>時(shí),當(dāng)你預(yù)覽或者發(fā)布文章時(shí),在這個(gè)文章中你會(huì)看到<tt>;-)</tt>。所以它不會(huì)阻止你使用把emoticons當(dāng)作純文本來使用。[[WordPress:Image:icon_wink.gif|眨眼]]。
?
關(guān)閉emoticon以為著當(dāng)你輸入<tt>;-)</tt>時(shí),當(dāng)你預(yù)覽或者發(fā)布文章時(shí),在這個(gè)文章中你會(huì)看到<tt>;-)</tt>。所以它不會(huì)阻止你使用把emoticons當(dāng)作純文本來使用。[[WordPress:Image:icon_wink.gif|眨眼]]。
?
== What Text Do I Type to Make Smileys? ==
Smiley images and the text used to produce them:


== 應(yīng)該輸入哪些文本來制作Smiley? ==
== 應(yīng)該輸入哪些文本來制作Smiley? ==

2008年4月23日 (三) 11:09的版本

Smiley是什么?

Smiley,就是大家都知道的"字符組成的圖釋,"是在寫作時(shí)用來表達(dá)表情的符號(hào)。他們是讓你的文章更閃亮的好幫手。表情字符

文本Smiley是通過輸入兩個(gè)或者更多的符號(hào)組成的,如下: ;-) is equivalent to smile emoticon
:-) is equivalent to smile emoticon
:-( is equivalent to sad emoticon
:-? is equivalent to confused emoticon
參見Wikipedia Emoticons入門,以找到更多有關(guān)emoticon和它的歷史信息。

WordPress是如何管理Smiley的?

默認(rèn)情況下,WordPress自動(dòng)轉(zhuǎn)換文本的Smiley為圖片,當(dāng)你輸入;-)時(shí),在你的文章中,當(dāng)你預(yù)覽或者發(fā)布文章時(shí),你可以看到一個(gè)微笑圖標(biāo)。

關(guān)閉圖形Smiley

如果你關(guān)閉了圖形Smiley,那么不論你輸入什么都只會(huì)保留原樣顯示,象純文本一樣。

  1. 進(jìn)入管理面板
  2. 選擇 Options > Writing
  3. Formatting部分, 不要選中 "Convert emoticons like :-) and :-P to graphics on display"前的復(fù)選框就可以了

關(guān)閉emoticon意味著當(dāng)你輸入;-)時(shí),當(dāng)你預(yù)覽或者發(fā)布文章時(shí),在這個(gè)文章中你會(huì)看到;-)。所以它不會(huì)阻止你使用把emoticons當(dāng)作純文本來使用。眨眼。

應(yīng)該輸入哪些文本來制作Smiley?

Smiley圖片和相應(yīng)的文本*:


icon text text full text icon full text
微笑 :) :-) :smile: 大笑 :lol:
biggrin :D :-D :grin: 臉紅 :oops:
悲傷 :( :-( :sad: 哭泣 :cry:
驚訝 :o :-o :eek: 邪惡 :evil:
驚恐 8O 8-O :shock: 苦惱 :twisted:
困惑 :? :-? :???: 翻白眼 :roll:
8) 8-) :cool: 大叫 :!:
瘋狂 :x :-x :mad: 疑問 :?:
嘲弄 :P :-P :razz: 思考 :idea:
中立 :| :-| :neutral: 箭頭 :arrow:
眨眼 ;) ;-) :wink: 精力旺盛 :mrgreen:

*在有的情況下,多種文本操作可以用來顯示同一種smiley.


WordPress:Category:Getting Started

分類:入門

Troubleshooting Smileys

Why Doesn't it Work?

Smileys may have been disabled by your Wordpress admin. Another possibility is the smiley image files have been deleted from /wp-includes/images/smilies.


Smiley問題發(fā)現(xiàn)與解決

它為什么不好用呢?

Smiley可能在你的Wordpress管理中被禁用了。另外一種可能是Smiley圖片已經(jīng)從/wp-includes/images/smilies中刪除了。

Why Doesn't it Work for Me?

If smileys work for others at your site but not for you:

Type a space before and after your smiley text. That prevents the smiley being accidentally included in the text around it. redface emoticon

Make sure not to use quotes or other punctuation marks before and after the smiley text. rolleyes

為什么只有我不能正常使用呢?

如果別的訪問者可以使用你站點(diǎn)上的smiley,但是你卻不能使用的話:

在smiley文本之前或后多輸入一個(gè)空格。可以防止smiley被以外的認(rèn)為是它周圍的別的文本。臉紅表情

注意不要在smiley文本之前或之后使用引號(hào)或者別的符號(hào)。翻白眼

Where Are My Smiley Images Kept?

The smiley or emoticon image graphics are found in the /wp-includes/images/smilies directory.

Note that smileys is spelled 'eys' in this documentation and the directory name for the smiley images is 'smilies, spelled 'ies'. eek emoticon

我的Smiley圖片保存在什么地方?

Smiley圖片可以在/wp-includes/images/smilies目錄下找到。

注意文件中的smileys的拼寫是'eys',目錄名字是'smilies, 拼寫為 'ies'. 驚訝

How Can I Have Different Smiley Images Appear?

Simplest way:

  1. Find your smiley image files in the /wp-includes/images/smilies directory and back them up to another directory
  2. Note the names of each smiley file. Your files must match these names and should be in the same 'gif' image format.
  3. For predictable behavior, the image sizes should be similar.
  4. Upload your new files to the /wp-includes/images/smilies directory with an FTP program.

我如何才可以讓不同的Smiley圖片顯示出來?

最簡單的方法:

  1. 找到你的smiley圖片文件,它在/wp-includes/images/smilies目錄中,把它們備份到另外一個(gè)目錄中。
  2. 注意每個(gè)文件的名字。你的文件必須和這些名字匹配而且必須是同樣的'gif'文件圖片格式。
  3. 顯而易見的, 圖片的尺寸應(yīng)該比較小才可以。
  4. 使用FTP 程序把新文件上傳到/wp-includes/images/smilies目錄.

If you're up to hacking the code:

If you really must change the file names of the images, edit the file that refers to these images, 'vars.php' (in WordPress 2.2, they're located in 'functions.php'), situated in the /wp-includes/ directory. Follow all precautions when "hacking code".

You can read a tutorial explaining all this in more detail, as well as how to avoid hacking WP code, at Ars Aranea.

There are also WordPress Plugins which allow you to customize your smilies in WordPress.

如果你懂得代碼的話:

如果你真的必須更改圖片的文件名,編輯指向這些圖片的文件,'vars.php' (在WordPress 2.2, 它們?cè)谖募?functions.php'中),位于/wp-includes/目錄。在"寫代碼"的時(shí)候要小心謹(jǐn)慎。

你可以在Ars Aranea上閱讀更詳細(xì)的指南,同樣還有如何避免破壞WP代碼。

還有一些WordPress插件允許你用來在WordPress中自定義smilies。

Why are my Smiley Images Blank?

If you recently uploaded the images, it could be that the images have been uploaded in ASCII format by your FTP program. Re-upload the smileys ensuring that they are transferred in BINARY format.

Some FTP programs have an auto-detect setting which will upload files in the correct format without user intervention. If you have such a setting, turn it on.

我的Smiley圖片為什么是空白?

如果你最近上傳了圖片,那可能是你的FTP軟件使用了ASCII格式上傳了圖片,重新上傳smiley,確定它們是使用BINARY格式上傳的。

一些FTP軟件有個(gè)auto-detect設(shè)置,可以在用戶不介入的情況下選擇正確的格式上傳文件,如果你有這個(gè)設(shè)置,打開它。

Smiley CSS

The smiley images in WordPress are automatically given a CSS class of wp-smiley when they are displayed in a post. You can use this class to style your smileys differently from other post images.

Smiley CSS

當(dāng)它們?cè)谖恼轮酗@示的時(shí)候,WordPress 中的Smiley圖片會(huì)被自動(dòng)賦予一個(gè)CSSwp-smiley類。你可以使用這個(gè)類來設(shè)計(jì)你的Smiley,讓它不同于別的文章里的圖片。

For example, it's not uncommon to set up images in a post to appear on the left-hand side of the content with text flowing around the image. The CSS for that might look like this:

.post img {
    float: left;
}

例如,在文章中建立圖片,讓它出現(xiàn)在內(nèi)容的左手邊,并且文字在圖片周圍漂浮,這可能很少見到。這個(gè)效果使用的CSS如下:

.post img {
    float: left;
}

This would typically affect all images in a post, including your smiley images. To override this so that smileys stay inline, you could add this to your CSS:

img.wp-smiley {
    float: none;
}

For more on CSS in WordPress, you might want to start here.

這可能會(huì)特別影響到所有的文章里的圖片,包括你的smiley圖片,要想不理會(huì)這個(gè)效果的話,讓smiley仍然在文本中,可以使用下面的CSS:

img.wp-smiley {
    float: none;
}

More Information on Smileys

有關(guān)Smiley的更多信息