[WordPress] 外掛分享: Font Emoticons

首頁外掛目錄 › Font Emoticons
WordPress 外掛 Font Emoticons 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
500+
安裝啟用
★★★★
4.9/5 分(24 則評價)
2624 天前
最後更新
問題解決
WordPress 3.0.0+ PHP 5.6+ v1.5.0 上架:2012-12-20

內容簡介

Font Emoticons 將 WordPress 內建的圖片式表情符號替換為字型式表情符號,使表情符號的大小與顏色能自動與周圍文字保持一致,讓版面更加整齊美觀。

【主要功能】
• 以字型取代圖片式表情符號,自動匹配文字大小
• 表情符號顏色隨周圍文字自動調整
• 支援超過 20 種常用表情符號與通用圖示
• 不影響 HTML 標籤及 pre、code 區塊內容
• 提供篩選器供佈景主題或外掛開發者自訂套用範圍

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.5.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Font Emoticons」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Replaces WordPress’ smileys (based on images) with font-based emoticons (see screenshots). Font-based emoticons have some advantages:

They have the same size as the surrounding text. No more distorting the heights of lines containing smileys/emoticons. They always fit the font size.
They have the same color as the surrounding text.

Note: This plugin was developed when WordPress was still using “pixel images” as emoticons. The current version of WordPress uses scalable vector images (SVG) – so they won’t distort your line heights anymore and look crisp on any size. This makes this plugin less useful than it once was – it now comes down to personal preference whether to use it.
The following emoticons are supported:

🙂 🙂 (-: (: 🙂
🙁 🙁 🙁
😉 😉 😉
😛 😛 😛
-.- -_- :sleep:
>:) >:-) :devil: 😈
😮 😮 😮
😯 8o 😯 8-o 😯 (No special icon for “shock” yet. Using “eek” instead.)
:coffee:
8) 😎 B) B-) 😎
:/ :-/
:beer:
😀 😀 😀
x( x-( X( X-( :angry:
😡 😡 😡 (No special icon from “mad” yet. Using “angry” instead.)
O:) 0:) o:) O:-) 0:-) o:-) :saint:
:'( :'-( 😥
:shoot:
|) :squint:
^^ ^_^ 😆

The following general purpose icons are supported:

:thumbs: :thumbsup:
:thumbsdown:
<3 :heart: :star: (/) (ok sign) (x) (cancel) (i) (?) (+) (-) Notes: Emoticons/Icons must be surrounded with spaces (or other white space characters); e.g. the emoticon in that:)smile won’t be replaced. Emoticons/Icons won’t be replaced in HTML tags nor inside of

 or  blocks.

Use In Themes/Plugins
Font Emoticons are supported in most places where user defined text is displayed. However, there may be places in a
plugin or theme that are not supported by Font Emoticons.
In these cases, just apply the filter wp_font_emots_replace to the text that should display Font Emoticons.
For example, you would change the following PHP code:

to this code:

That’s it.
Font Licenses
The emoticons used in this plugin are based on the fonts “Fontelico” and “Font Awesome”.
Fontelico
Copyright (C) 2012 by Fontello project
Author: Crowdsourced, for Fontello project
License: SIL (http://scripts.sil.org/OFL)
Homepage: http://fontello.com
Font Awesome
Copyright (C) 2012 by Dave Gandy
Author: Dave Gandy
License: SIL (http://scripts.sil.org/OFL)
Homepage: http://fortawesome.github.com/Font-Awesome/

延伸相關外掛

文章
Filter
Apply Filters
Mastodon