Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.
The simplest way to add like and dislike buttons to WordPress comments is to install a plugin built for comment voting. Like Dislike – Like Buttons, Helpful Votes & Most Liked Posts is the best general no-code choice: it adds live vote counts, lets users change or remove a vote, and supports separate limits for logged-in users and visitors.
Choose the right comment-voting approach
Use one voting system only. Combining several plugins that modify comments can produce duplicate buttons, conflicting scripts, or inconsistent vote counts.
| Option | Best for | Important capabilities | Watch for |
|---|---|---|---|
| Like Dislike | Most sites wanting a general, no-code solution | Like/dislike buttons, live counts, vote switching and removal, logged-in and visitor limits, shortcodes, statistics, blocks and privacy tools | Recheck settings and privacy behavior after updates |
| Comments Like Dislike | Sites needing comment-specific visual and placement controls | Like-only or like/dislike mode, automatic placement, four icon templates, custom icons, colors, cookie/IP/no-restriction modes and manual PHP placement | Buttons may not appear if the theme does not expose the comment_text filter |
| Post Engagement – Like Dislike, Share, Views, Star Rating, Favorites & Copy Posts | Sites already needing several post-engagement features | Comment-vote feature, comment-vote shortcodes, and user-history shortcodes alongside views, ratings, favorites and sharing | Broader than necessary if you only need comment likes and dislikes |
Install Like Dislike for a no-code setup
- Back up the site and, preferably, duplicate it on a staging site.
- In WordPress administration, open Plugins → Add New Plugin.
- Search for Like Dislike, install the plugin, and select Activate.
- Open Like Dislike → Settings.
- Enable comment voting and choose the display style. Confirm that comments are enabled for the relevant posts or pages in the WordPress discussion settings.
- Choose the voting identity rules. The plugin listing says logged-in users can be limited to one vote per post or comment. Visitors can be limited to one vote per browser by default, with an optional one-vote-per-IP setting.
- Open a staging post with several comments and verify that the controls appear beside each comment, counts update, and a voter can switch or take back a vote.
The plugin’s 3.0.0 changelog, dated September 25, 2026, lists live counts, switch/take-back voting, comment likes and dislikes, blocks, shortcodes, statistics, privacy tools, and fixes involving cached pages and shared-IP behavior. Check the installed release’s compatibility information before applying these instructions to production.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Accessibility and layout checks
The listing describes the controls as accessible buttons, but that is a vendor statement rather than an independent audit. In staging, operate every control with a keyboard, confirm that focus is visible, and use a screen reader to check that each button has a clear name and announces its state. Test narrow screens, long usernames, nested comments and translated text.
#1 Best Overall
Configure Comments Like Dislike for more control
- In the WordPress dashboard, open Plugins → Add New Plugin, search for Comments Like Dislike, install it and activate it.
- Open the plugin’s Comments settings.
- Select the icon template, icon order, placement before or after each comment, and whether to show likes only or both likes and dislikes.
- Choose the restriction mode: browser cookie, IP address, or no restriction. Use no restriction only when unlimited repeat voting is an intentional part of the site’s design.
- Set the icon colors and upload custom icons if required.
- Test the controls with the active theme, including logged-out and logged-in sessions.
This plugin warns that icons may not render when a theme’s comments template does not use the comment_text filter. A theme or custom comments template can therefore require manual placement.
Manual placement in a custom comments template
Place the documented function where the controls should appear, passing the current comment ID:
Rank #2
comments_like_dislike($comment_id);
Confirm the function name and generated markup against the version installed on the site before deploying custom template code. Keep a backup so the template can be restored if an update changes the expected output.
When a broader engagement plugin makes sense
Post Engagement – Like Dislike, Share, Views, Star Rating, Favorites & Copy Posts documents an Enable Comments Vote Feature, comment-vote shortcodes and user-history shortcodes. Choose it when the site also needs post views, star ratings, favorites, sharing or copy-post actions. For comment voting alone, its larger feature set adds configuration you may not need.
Decide how voting should work
Anonymous versus account-based voting
Account-based limits give you a stronger identity boundary but require visitors to sign in. Cookie-based limits are easier for visitors and are tied to a browser, so they can be bypassed by clearing cookies or changing browsers. IP limits can reduce repeated voting from one network, but shared networks can cause legitimate users to appear as one voter.
Like-only versus like and dislike
Like-only buttons provide a simple positive signal. Adding dislikes can distinguish useful comments from unhelpful ones, but it also creates a stronger moderation and abuse surface. Decide how moderators will respond to coordinated downvotes before enabling the feature.
Rank #4
Automatic versus manual placement
Automatic placement is quickest and survives ordinary content editing. Manual placement is preferable when the theme has a custom comment layout, when buttons must sit in a specific control row, or when a block or template controls the entire comment markup.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Privacy, caching and moderation checks
- Read the installed plugin’s privacy documentation and your site’s privacy notice before enabling visitor voting.
- Like Dislike states that IP addresses are never stored and that a keyed one-way hash is retained; verify that behavior in the installed release and its current privacy policy.
- Clear or bypass page caches while testing. Confirm that the displayed count changes for the voter without waiting for a stale cached page.
- Test shared-IP behavior, especially on offices, schools, mobile carriers and public Wi-Fi.
- Review data-export and erase tools and document who can access vote-related data.
- Check how comment moderation, spam controls and deleted comments interact with existing votes.
Troubleshoot missing or incorrect controls
No buttons appear
- Confirm the plugin is active and comment voting is enabled in its settings.
- Check that comments are enabled for the post or page in WordPress discussion settings.
- Temporarily test a standard theme. With Comments Like Dislike, inspect whether the theme uses the
comment_textfilter. - Clear page, object and browser caches, then test while logged out and logged in.
Counts do not change immediately
- Disable or purge full-page caching for the comment area during diagnosis.
- Test in a private browser window to avoid an existing cookie or account vote.
- Check whether the selected cookie, IP or account restriction is preventing a second vote by design.
Controls look wrong on mobile
- Inspect the comment row at narrow widths and check that icons do not overlap author names, timestamps or reply links.
- Adjust colors and custom icon dimensions in the plugin settings or theme stylesheet.
- Retest after switching languages and using long translated labels.
Pre-launch checklist
- Back up the site and test the chosen plugin on staging.
- Install only one overlapping comment-vote system.
- Record whether anonymous votes use cookies, IP limits or no restriction.
- Verify placement, live counts, keyboard operation, screen-reader labels, responsive layout and caching.
- Test sign-in, sign-out, vote changes, vote removal, comment deletion and moderation.
- Review privacy, export and erase behavior.
- Recheck the plugin’s current WordPress and PHP compatibility before publishing the setup.
Bottom line
For most WordPress sites, install Like Dislike, enable comment voting under Like Dislike → Settings, and choose an explicit visitor restriction policy. Use Comments Like Dislike when comment-specific icon and placement controls matter, or when you need its documented PHP function in a custom template. Choose the broader Post Engagement plugin only when its other engagement features justify the extra scope.
Best Value
Frequently Asked Questions
Can visitors vote without creating an account?
Yes. The documented plugins support visitor voting, with controls based on browser cookies, IP addresses or no restriction, depending on the plugin and setting you choose.
Can a user change a vote?
Like Dislike documents switching or removing a vote. Test that behavior on the installed release after configuring its vote limits.
Why are comment vote icons missing from my theme?
Comments Like Dislike warns that its icons may not render when the theme’s comments template does not use the comment_text filter. A compatible template or manual function call may be required.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

