A like button gives every reader a one-click way to say “this was good”, even the ones who never leave a comment. In this guide you’ll add one to your WordPress posts, comments and WooCommerce products with the free WP ULike plugin. It takes about two minutes and no code.
Short answer: install WP ULike, go to WP ULike → Settings → Content Types → Posts, turn on Automatic Display and save. Every single post now has a like button.

Step 1: Install WP ULike
- In your dashboard, go to Plugins → Add New Plugin.
- Search for WP ULike.
- Click Install Now, then Activate.
The free version has no vote limits and no sign-up. You’ll find a new WP ULike menu in your dashboard.
Step 2: Turn on the like button
- Go to WP ULike → Settings → Content Types → Posts.
- Turn on Automatic Display.
- Choose a Button Position. “Bottom of Content” suits most themes.
- Under Post Types, keep Posts. Add Pages or Products if you want buttons there too.
- Save, open any post on your site and click the button.

By default the button only shows on single posts, not on your home page or archives. You can change that under Show Buttons On.
Step 3: Pick a style
Go to WP ULike → Customize to choose one of the four free button styles and change colors, icons and spacing with a live preview. If you want more, browse all templates; WP ULike Pro adds 20 more styles, including emoji reactions and star ratings.
Step 4: See which posts readers like
Open WP ULike → Statistics. Your test like should already be there. As votes come in, you’ll see totals, your most liked content and the times your readers are most active, all inside WordPress. Read more in our statistics dashboard guide.
Add a like button to comments
Go to Settings → Content Types → Comments and turn on Automatic Display. Each comment gets its own button, so the most helpful replies stand out. The same tabs appear for bbPress forums and BuddyPress activity when those plugins are active.
Add a like button to WooCommerce products
Product likes show you what shoppers want before they buy. There are two ways to add them.
The quick way (free)
In Settings → Content Types → Posts, add Products under Post Types and save. The button then appears under each product’s description, so this only works on products that have one.
The flexible way: Display Automation (Pro)
For a store, you usually want the button next to the price or the Add to cart button, where shoppers actually look. Display Automation in WP ULike Pro places it there without code:
- Go to WP ULike → Tools → Display Automation.
- Click Quick Start and choose WooCommerce Product.
- Pick a Button position: after the price, before or after Add to cart, after the product summary, or after the SKU and categories.
- Optionally choose a button style and counter just for products.
- Turn the rule on and click Save.


Each rule covers one spot, so you can add more: WooCommerce Shop puts compact buttons under each product in your shop and category pages, and WooCommerce Reviews lets shoppers like the most helpful reviews. If you use Display Automation for products, keep Products out of the free Post Types setting so you don’t get two buttons. Pro’s store reports then compare likes with sales, so you can see which liked products actually sell.
Other ways to add the button
Automatic Display covers most sites. When you want the button in a specific spot, use one of these:
- ULike Button block: add it anywhere in the block editor. It uses the current post automatically.
- Shortcode:
[wp_ulike]for the current post, or[wp_ulike id="123"]for a specific one. See the shortcode guide. - Top List block: shows your most liked posts, comments or users on any page. The shortcode is
[wp_ulike_top]. - Elementor: WP ULike Pro includes Elementor widgets for the button and top lists.
What about the Facebook Like button?
Many guides still tell you to add Facebook’s Like button to WordPress. That no longer works: Meta announced that the Like and Comment plugins for outside websites would stop showing on February 10, 2026. If your site still has the old code, the button simply doesn’t appear, and you can remove it.
A like button that runs on your own site was the better choice anyway:
| Facebook Like button | WP ULike | |
|---|---|---|
| Still works | No, retired in 2026 | Yes |
| Where likes are saved | On Facebook | In your WordPress database |
| Visitor needs an account | Yes, a Facebook account | No |
| Third-party script | Facebook’s SDK on every page | None |
| Stats in WordPress | No | Yes, in Statistics |
| Works on comments and products | No | Yes |
If you also want people to share your posts on social media, add share buttons. WP ULike Pro includes social share buttons that work alongside likes.
Going further: dislikes, reactions and ratings
The free plugin is a full like button with no limits. WP ULike Pro is optional and adds like and dislike voting, emoji reactions and 5-star ratings, a list of who liked each post, and deeper reports. Here’s a one-minute tour:
Frequently asked questions
Yes. The free plugin on WordPress.org includes like buttons for posts, comments, WooCommerce, BuddyPress and bbPress, the Top List block and the statistics dashboard, with no vote limits.
No. Anyone can click the button. If you prefer, you can limit voting to logged-in users in the content type settings.
Yes. In the free plugin, add Products under Post Types and the button appears under the product description. WP ULike Pro’s Display Automation lets you place it next to the price or the Add to cart button instead, and on shop pages and reviews.
Yes, with WP ULike Pro. Pick a template that supports dislikes, such as Simple Up/Down Vote, and visitors can vote both ways. Statistics then show likes and dislikes separately.
Go to Settings, Content Types, Posts. Remove that kind of content from Post Types, or use Show Buttons On to skip the home page, archives or search. WP ULike Pro also adds a panel in the post editor to turn the button on or off for one post.
Yes. WP ULike works with major caching plugins, and its front end uses plain JavaScript without jQuery, so it stays light.
WP ULike can anonymize IP addresses and supports the WordPress personal data export and erase tools, so you can match it to your privacy policy.
No. Meta stopped showing its Like and Comment plugins on outside websites on February 10, 2026. A like button that runs on your own site, such as WP ULike, is the replacement.



Leave a Reply