Comments Like Dislike

外掛說明

Comments Like Dislike is the Free WordPress Plugin to enable Like and Dislike Icons for default WordPress Comments. Choose Thumbs Up or Thumbs Down, Smiley or Frown, Right or Wrong icons or your own custom like dislike icons, choice is yours.

Comments Like Dislike increases the interaction with the WordPress native comments by enabling likes and dislikes buttons along with the count.

See full features list below:

  • Status
    • Enable or Disable Comments Like Dislike for comments
  • Like Dislike Position
    • After Comment
    • Before Comment
  • Like Dislike Display
    • Display Both Like and Dislike
    • Display Like Only
    • Display Dislike Only
  • Like Dislike Restriction
    • Cookie Restriction
    • IP Restriction
    • No Restriction
  • Like Dislike Order
    • Like Dislike
    • Dislike Like
  • 4 Pre Available Icon Templates
    • Thumbs Up Thumbs Down
    • Heart or Heart Beat
    • Right or Wrong
    • Smiley or Frown
  • Custom Like Dislike Icon Upload feature
  • Icon Color Configuration
  • Count Color Configuration
  • Custom function to display like dislike icons
  • Comment Like Dislike edit from comment edit section

Custom Function

<?php comments_like_dislike($comment_id);?>

$comment_id is the ID of the comment for which you want to display the like dislike button.

螢幕擷圖

  • Like Dislike Icon Template 1
  • Like Dislike Icon Template 2
  • Like Dislike Icon Template 3
  • Like Dislike Icon Template 4
  • Like Dislike Icon Custom Template
  • Like Dislike Basic Settings
  • Like Dislike Design Settings

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/comments-like-dislike directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Comments Like Dislike settings page inside the Comments Menu to configure the plugin

常見問題集

What does this plugin do ?

This plugin provides the ability to add the like and dislike buttons for WordPress native comments.

I have enabled the plugin but like and dislike icons are not being displayed. What may be the reason ?

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.

Is there any hooks available to extend the plugin ?

Our plugin does contains many actions and filters which are described inside the Help Section

Is there a way to disable fontawesome and use my own icon?

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

Can I undo like or dislike action

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

使用者評論

2023 年 9 月 12 日
In respect to all plugin creators, thx for your work. But this is really how a plugin should be. Focus on the necessary functions, coded well, secure and lightweight, flexible in modifications (for programmers) and on top, it's absolutely free! Awesome job guys.Also big thx, that you listen to the community (wishes, bug fixes aso.), to keep this plugin secure, helpful and lightweight.
2023 年 3 月 18 日 1 則留言
Easy to install, easy to configure and no issues with either, what more do you need? *)
2023 年 2 月 19 日 5 則留言
It seems you're not able to remove your like by clicking on the icon again. That's bad.
2022 年 11 月 17 日
very good and useful plugin! and it works great one thing I'd love: the ability to sort the comments best on the most positive votes
閱讀全部 35 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Comments Like Dislike〉的開發相關工作。

參與者

〈Comments Like Dislike〉外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Comments Like Dislike〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.2.2

  • Fixed security issue

1.2.1

  • Fixed security issue

1.2.0

  • Fixed security issue

1.1.9

  • Added Like Dislike Undo feature
  • Added already liked font color option

1.1.8

  • Fixed few undefined index issues
  • Added fontawesome disable option in the design settings

1.1.7

  • WP 6.0 Compatiblity check

1.1.6

  • WP 5.8 Compatibility check

1.1.5

  • WP 5.8 Compatibility check
  • Fixed some backend layout issues

1.1.4

  • Fixed some security issues
  • Fixed for ajax loading comments

1.1.3

  • Fixed some security issues

1.1.2

  • WP 5.6 compatibility check

1.1.1

  • Added a custom function to display like dislike buttons
  • Added an option to display 0 by default
  • Added alt tags for custom image icons
  • Added comment like dislike count edit in comment edit section
  • Few minor bug fixes

1.1.0

  • WP 5.4 compatibility check

1.0.9

  • Added option to hide like dislike column from backend
  • Reduced the width of the backend like dislike column in comments list table

1.0.8

  • Added login link field to redirect users on Login restriction option
  • Added cld_fontawesome filter so that users can load the fontawesome from their own theme in case the version is not matched.

1.0.7

  • Stripped quotes from the settings
  • Added user logged in restriction
  • Added cld_before_ajax_process action
  • Added cld_after_ajax_process action

1.0.6

  • Removed 0 for 0 likes and dislikes
  • Replace click with on for ajax comments
  • Fixed the conflict for auto approve comment
  • Font awesome updated to v5.2.0

1.0.5

  • Fixed a typo in settings
  • Added likes and dislike columns in admin comments listing page

1.0.4

  • WordPress 4.8 Compatibility Adjustments

1.0.3

  • Added like and dislike hover text configuration option in backend

1.0.2

  • Fixed bug for comments like dislike implementation in backend comments section
  • Added separate class for already liked or disliked comments

1.0.1

  • Fixed small bug regarding the count color implementation
  • Compatibility check for WordPress 4.7
  • Added review link in the About Us section

1.0.0

  • Initial plugin commit to wordpress.org repository