开发者 |
Happy Coders
happy-coders regankhadgi Regan Khadgi |
---|---|
更新时间 | 2024年7月23日 20:33 |
捐献地址: | 去捐款 |
PHP版本: | 5.5 及以上 |
WordPress版本: | 6.6 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
<?php comments_like_dislike($comment_id);?>
$comment_id is the ID of the comment for which you want to display the like dislike button.
/wp-content/plugins/comments-like-dislike
directory, or install the plugin through the WordPress plugins screen directly.This plugin provides the ability to add the like and dislike buttons for WordPress native comments.
Our plugin uses comment_text filter to append like and dislike icons . So if your active theme's comments template doesn't use comment_text filter to display comments text then our plugin won't be able to display like and dislike icons.
Our plugin does contains many actions and filters which are described inside the Help Section
Yes you can disable the fontawesome from loading as well enabling "Disable Font Awesome" option in the display settings. And also we have the option to upload the custom icons where you can upload and use your own icon
Yes you can undo like or dislike by simply clicking again the same icon. You can also choose a color for already liked or disliked icon