贴吧表情替换,自动将所有例如 #滑稽 的文字替换成表情图片
| Author: | Ganlv (profile at wordpress.org) |
| WordPress version required: | 2.1.0 |
| WordPress version tested: | 4.7.21 |
| Plugin version: | 1.0.3 |
| Added to WordPress repository: | 09-03-2017 |
| Last updated: | 09-03-2017
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
| Rating, %: | 100 |
| Rated by: | 1 |
| Plugin URI: | http://www.dreamimd.com/ |
| Total downloads: | 2 010 |
| Active installs: | 10+ |
![]() Click to start download |
|
自动将所有例如#滑稽的文字替换成表情图片,你可以在整个页面的任何位置使用#表情代码,只会替换前台页面和后台管理页面,登录页面不会进行替换。
完整的表情代码列表可以参见https://ganlvtech.github.io/tieba-emotion/,此列表与Baidu Tieba的表情代码相同。
这个插件只是一些js脚本,没有具体的php代码,php只负责将css和js插入队列。
您可以修改js/script.js,使此插件只替换页面中某个div中所有的#表情代码。
您可以修改css/style.css,默认使用2倍行高作为表情图片的大小。
您可以将js/tieba-emotion.js单独用于您自己其他的(非WordPress)用途,只要您遵守本项目的开源许可证。
ChangeLog
