Linux 软件免费装
Banner图

Remoji - Post/Comment Reaction and Enhancement

开发者 Remoji
更新时间 2026年7月8日 03:41
PHP版本: 4.4 及以上
WordPress版本: 7.0
版权: GPLv3
版权网址: 版权信息

标签

views counter comment emoji postviews

下载

1.2 1.5 1.6 1.7 1.8 1.8.1 1.9 2.0 2.1 1.3 1.9.1 2.2 2.5 1.4 2.1.1 2.4 2.5.1 2.6

详情介绍:

Add the slack style emoji to posts, pages or comments. Features: Post View
  1. Edit wp-content/themes/<YOUR THEME>/index.php or archive.php/single.php/post.php/page.php.
  2. In the loop while ( have_posts() ) { or anywhere you want to show the views, add the following codes: do_action( 'remoji_postview' );.
API To show postview in themes/plugins, use do_action( 'remoji_postview', $the_post_id_to_inquire );. Shortcode [views] available Use [views] or [views id="3"](To show the views of post ID 3) in your editor.

屏幕截图:

  • Remoji Settings
  • Post View counter

常见问题:

The reaction is not added / I see "Error happened"

Clicking an emoji sends a request to the REST endpoint /wp-json/remoji/v1/add. If reactions fail, the most common causes are:

  • A security plugin, firewall (WAF) or server rule blocking the WordPress REST API.
  • Another plugin overriding REST routes, or the REST API being disabled.
  • Aggressive page caching serving a stale nonce to logged-in users (guests are unaffected as of 2.4).
Open your browser console: if the add request returns rest_no_route (404), the route is being blocked/rewritten before it reaches the plugin — allow the remoji/v1 REST namespace in your security plugin/firewall.

How do I place reactions manually instead of auto-appending?

Turn OFF "Auto-Append To Content" in the settings, then use the shortcode [remoji] (or [remoji id="3"]) or the PHP hook do_action( 'remoji_reaction' ); where you want the reaction bar.

Can I limit which emojis are available, or add my own?

Use "Limit Emojis" in the settings to restrict the picker to a subset. Developers can add/replace emojis via the remoji_emoji_list filter.

更新日志:

2.6 - Jul 7, 2026 2.5 - Jul 7, 2026 2.4 - Jul 7, 2026 2.2 2.1.1 2.1 2.0 1.9.1 1.9 1.8.1 1.8 1.7 1.6 1.5 1.4 1.3 1.2 1.1 1.0