定制 peterwilsoncc/local-twemoji 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

peterwilsoncc/local-twemoji

Composer 安装命令:

composer require peterwilsoncc/local-twemoji

包简介

Local Twemoji.

README 文档

README

Self hosted Twemoji images

PHP Unit Tests Coding Standards

Description

Local Twemoji is a WordPress plugin to serve fallback emoji images from your own site URL rather than the WordPress.org CDN.

The purpose of this plugin is to aid sites served over a CDN as browsers now cache requests on a per site basis rather than globally.

The effect of this is that the WordPress.org CDN's splat image is treated as two different images if downloaded from site-one.example and site-two.example. You can read more about this in the Chrome post on cache partitioning.

For sites served over a CDN, downloading the image from your own URL will be quicker as it reduces the number of servers the visitor's browser needs to connect to.

WordPress version support

A new version of Twemoji is released each time the emoji are added to the Unicode specification, each major version bump of Twemoji will contain new images.

To avoid the risk of serving broken images to your visitors, this plugin should be kept up to date.

  • WordPress 6.9 requires Local Twemoji 1.3.1 or later
  • Earlier versions of WordPress require Local Twemoji 1.1.0 or later

Installation

Local Twemoji can be installed via the following methods.

Composer

composer require peterwilsoncc/local-twemoji

Downloads

Licenses

The plugin code is licensed under the MIT License.

The Emoji SVG and PNG assets are licensed under the CC-BY 4.0 License. Copyright Twitter Inc. and other contributors.

统计信息

  • 总下载量: 233
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固