Linux 软件免费装
Banner图

Reactions

开发者 pento
georgestephanis
更新时间 2026年10月31日 00:45
PHP版本: 7.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

comments reactions emoji

下载

0.2.0

详情介绍:

Adds an emoji reaction picker under each post's content. Reactions are stored as ordinary WordPress comments (with a reaction comment type), so they inherit your existing comment moderation. They're also automatically excluded from your theme's comment list, comment feeds, things like the Recent Comments widget, and the Comments screen in wp-admin, so they never show up twice or inflate your comment count. Additional background is at https://make.wordpress.org/core/2016/03/07/reactions/. Settings Settings > Discussion gains a Reactions section: Changing a setting is never retroactive. Turning off skin tones or the picker, or retiring a custom icon, stops new reactions of that kind without stranding any that visitors have already left -- those keep showing, and can still be removed.

安装:

  1. Upload the plugin files to /wp-content/plugins/react, or install through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Optionally, visit Settings > Discussion to choose your default reactions.

常见问题:

Will reactions clutter up my comments?

No. Reactions are stored as comments, but they're filtered out of your theme's comment list, comment feeds, and comment counts, so they only appear as reactions. They're kept out of Comments in wp-admin too. To find one -- say, to delete it -- choose "Reactions" from the comment type dropdown on that screen.

Can visitors react without logging in?

Yes, by default. If you'd rather they didn't, tick "Users must be logged in to react" in Settings > Discussion. Counts stay visible to everyone either way.

Can I limit which emoji people use?

Yes. Set the reactions you want under "Default reactions", then untick "Let visitors react with any emoji". Only your chosen set will be offered and accepted.

Can I use my own icons instead of emoji?

Yes -- upload SVG icons under "Custom reaction icons" (this needs WordPress 7.1 or newer). They appear as one-click reactions under your posts, alongside your default emoji.

Why was my SVG icon rejected?

WordPress sanitizes registered icons quite aggressively, and only keeps <svg>, <path> and <polygon> elements. It also strips stroke attributes. That means outline-style icon sets render as solid shapes, and icons drawn with shapes like <circle> or <rect>, or wrapped in a <g> group, would come out blank or misplaced. Rather than let that happen silently, uploads that wouldn't survive are rejected with an explanation. Flatten your artwork to filled paths in your vector editor first. Your file is never added to your media library, and SVG uploads stay disabled site-wide -- only the sanitized icon markup is kept.

Where can I report a bug or contribute?

Development happens at https://github.com/pento/react.

更新日志:

0.2.0 0.1.0 First release.