{"id":403152,"date":"2026-11-12T17:58:51","date_gmt":"2026-11-12T17:58:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/hakuren-like-dislike-block\/"},"modified":"2026-11-12T19:58:32","modified_gmt":"2026-11-12T19:58:32","slug":"hakuren-like-dislike-block","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/hakuren-like-dislike-block\/","author":23581617,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1.1","stable_tag":"0.1.1","tested":"7.1.4","requires":"6.5","requires_php":"7.4","requires_plugins":null,"header_name":"Hakuren Like Dislike Block","header_author":"Amicolinux","header_description":"Native block for Posts Like Dislike: works in block themes, templates and Query Loops, with the correct post in every card.","last_updated":"2026-11-12 19:58:32","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/liberapay.com\/Amicolinux","header_plugin_uri":"https:\/\/www.hakuren-dev.blog\/hakuren-like-dislike-block\/","header_author_uri":"https:\/\/github.com\/Amicolinux","rating":0,"author_block_rating":0,"active_installs":0,"downloads":46,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.1.0":{"tag":"0.1.0","author":"amicolinux","date":"2026-11-12 17:58:37","revision":3798998},"0.1.1":{"tag":"0.1.1","author":"amicolinux","date":"2026-11-12 19:58:32","revision":3799187}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3798998,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3798998,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3798998,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3798998,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"hakuren\/like-dislike":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"hakuren\/like-dislike","version":"0.1.1","title":"Like \/ Dislike","category":"widgets","icon":"thumbs-up","description":"Like and dislike buttons from Posts Like Dislike. Works in templates and inside the Query Loop.","keywords":["like","dislike","vote","thumbs"],"textdomain":"hakuren-like-dislike-block","usesContext":["postId","postType"],"supports":{"html":false,"align":false,"spacing":{"margin":true,"padding":true},"layout":{"default":{"type":"flex","flexWrap":"nowrap"},"allowSwitching":false,"allowOrientation":false,"allowInheriting":false,"allowJustification":true,"allowVerticalAlignment":false}},"editorScript":"file:.\/edit.js","editorStyle":"file:.\/editor.css","render":"file:.\/render.php"}},"tagged_versions":["0.1.0","0.1.1"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"The Like \/ Dislike block inside a Query Loop, with the correct counts in every card.","2":"The block in the editor, with its preview."}},"plugin_section":[],"plugin_tags":[1220,211323,19028,156,213445],"plugin_category":[],"plugin_contributors":[292372],"plugin_business_model":[],"class_list":["post-403152","plugin","type-plugin","status-publish","hentry","plugin_tags-block","plugin_tags-block-theme","plugin_tags-dislike","plugin_tags-like","plugin_tags-query-loop","plugin_contributors-amicolinux","plugin_committers-amicolinux"],"banners":{"banner":"https:\/\/ps.w.org\/hakuren-like-dislike-block\/assets\/banner-772x250.png?rev=3798998","banner_2x":"https:\/\/ps.w.org\/hakuren-like-dislike-block\/assets\/banner-1544x500.png?rev=3798998","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/hakuren-like-dislike-block\/assets\/icon-128x128.png?rev=3798998","icon_2x":"https:\/\/ps.w.org\/hakuren-like-dislike-block\/assets\/icon-256x256.png?rev=3798998","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p>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.<\/p>\n\n<p><strong>Features<\/strong><\/p>\n\n<ul>\n<li>Native block for the Site Editor, templates and the Query Loop<\/li>\n<li>The correct post in every card<\/li>\n<li>Editor preview<\/li>\n<li>Margin, padding and justification controls<\/li>\n<li>No settings, no tracking, no external requests<\/li>\n<\/ul>\n\n<p>This plugin is an add-on: it requires the free <a href=\"https:\/\/wordpress.org\/plugins\/posts-like-dislike\/\">Posts Like Dislike<\/a> plugin, which handles votes, counters and settings.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install and activate the Posts Like Dislike plugin.<\/li>\n<li>Install this plugin from Plugins &gt; Add New, or upload the <code>hakuren-like-dislike-block<\/code> folder to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate Hakuren Like Dislike Block.<\/li>\n<li>In the Site Editor or the block editor, add the \"Like \/ Dislike\" block to your single post template or inside a Query Loop.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20it%20replace%20posts%20like%20dislike%3F\"><h3>Does it replace Posts Like Dislike?<\/h3><\/dt>\n<dd><p>No. It only adds a block. Votes, counters, styles and settings are still managed by Posts Like Dislike.<\/p><\/dd>\n<dt id=\"will%20my%20existing%20votes%20be%20kept%3F\"><h3>Will my existing votes be kept?<\/h3><\/dt>\n<dd><p>Yes. The block uses the same data as Posts Like Dislike, so existing votes are shown and counted as before.<\/p><\/dd>\n<dt id=\"should%20i%20disable%20the%20automatic%20display%20in%20posts%20like%20dislike%3F\"><h3>Should I disable the automatic display in Posts Like Dislike?<\/h3><\/dt>\n<dd><p>If you place the block in your templates, you may want to disable the automatic display in the Posts Like Dislike settings to avoid showing the buttons twice.<\/p><\/dd>\n<dt id=\"does%20it%20collect%20data%20or%20contact%20external%20services%3F\"><h3>Does it collect data or contact external services?<\/h3><\/dt>\n<dd><p>No. The plugin has no settings, stores nothing and makes no external requests.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1.1<\/h4>\n\n<ul>\n<li>Updated the Plugin URI to the plugin's page on Hakuren Dev.<\/li>\n<li>Bumped block version to 0.1.1.<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"A native block for Posts Like Dislike. Works in block themes, templates and inside the Query Loop, with the correct post in every card.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/403152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=403152"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/amicolinux"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=403152"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=403152"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=403152"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=403152"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=403152"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=403152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}