跳到内容

Hakuren Like Dislike Block

v0.1.1

Amicolinux · 2026年11月12日 上架

A native block for Posts Like Dislike. Works in block themes, templates and inside the Query Loop, with the correct post in every card.

正在使用
10 以下
评分
暂无
累计下载
156
最近更新
2026年11月13日
需要 WordPress 6.5+已测试到 7.1.5PHP 7.4+

贡献者

Posts Like Dislike provides a shortcode, but in block themes shortcodes are processed after the whole template is built. Inside a Query Loop every card ends up pointing to the same post, so all votes go to one article.

This add-on adds a real “Like / Dislike” block that reads the post ID from the Query Loop context and asks Posts Like Dislike to render the buttons for exactly that post. Votes, counters and settings stay in Posts Like Dislike: nothing is duplicated and existing votes keep working.

Features

  • Native block for the Site Editor, templates and the Query Loop
  • The correct post in every card
  • Editor preview
  • Margin, padding and justification controls
  • No settings, no tracking, no external requests

This plugin is an add-on: it requires the free Posts Like Dislike plugin, which handles votes, counters and settings.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums