You built the page in Elementor and now you want a like button on it. A heart under a recipe, a thumbs up on a product card, a “did this help?” at the end of a guide. You don’t need a shortcode or a code snippet for that. WP ULike Pro adds its own Elementor widgets, so you drag the button in, pick a style and publish.
This guide shows how to add the button step by step, how to style it, and how to use the other widgets to show your most liked posts and your top fans. The screenshots are from a demo recipe site on Elementor 4.

What you need
- WP ULike, the free plugin from WordPress.org.
- WP ULike Pro with an active license. The Elementor widgets are part of Pro.
- Elementor. The free version is enough. You only need Elementor Pro if you want to add the button to a Theme Builder template, like your single post layout.
Not using Elementor, or want a button on every post at once? Our main guide on how to add a like button to WordPress covers automatic display, blocks and shortcodes.
How to add a like button in Elementor
- Open the page or template in Elementor.
- In the widget panel, scroll to the WP ULike Pro category, or type “like” in the search box.
- Drag the Like Button widget to where you want it, for example under your post title or at the end of the content.
- In Content → General, pick a Template. Heart, thumbs up, emoji reactions, stars and 20+ more are in the list.
- Leave Display Counter on so visitors see how many people liked it, then click Publish.

Which post does the button like?
By default the button likes the post it sits on. That is what you want on a single post template or a normal blog post.
On a landing page or the homepage it is different: the button is on the page, but you may want people to like a specific recipe, product or article. Turn on Enable Custom ID and enter that item’s Post ID. In the screenshot above, the button on the “Reader favorites” page counts likes for the tomato galette recipe, so the 87 likes match the ones on the recipe itself.
Show who liked it
Turn on Display Likers Box to show the avatars of people who liked the item. You can show them in a popover, a stacked pile, or the default list.
Style the button
Open the Style tab of the widget. You get three sections:
- Icon: colors for the normal and liked state, a hover animation, size and rotation.
- Counter: padding around the number.
- Button: padding, margin, border radius, and the icon box width and height.
A good rule: keep the icon around the size of your body text and use your accent color for the liked state. The templates already look fine at their default size, so start there and only change what doesn’t match your site. If you want to see every style first, browse the button templates.
Show your most liked posts
The Top Posts widget turns your likes into a “Reader favorites” or “Most loved” section. Drag it onto the page and set:
- Columns, and whether to show the thumbnail, title, date, author and votes.
- Peroid Limit: all time, today, yesterday, this week, month, year or the last X days. “Last 30 days” keeps the list fresh.
- Query: the post type and which items to include or exclude.
- Display CTA Button: adds a like button to every card, with its own template.

The list comes from the same likes you see in the Pro statistics, so there is nothing to sync.
Show your top fans
The Best Likers widget lists the people who like the most. It is a small thing, but regular readers love seeing their name there.
- Number of users and the same Peroid Limit options as Top Posts.
- Show or hide the name and the meta line (when they joined and how many likes they gave).
- Profile URL type: link each name to the author page, a BuddyPress or Ultimate Member profile, or WP ULike Pro profiles.
- Avatar size and radius in the Style tab.

All 7 WP ULike Pro widgets for Elementor
| Widget | What it shows | Good for |
|---|---|---|
| Like Button | A like (and optional dislike) button with 25+ templates | Posts, pages, products, landing pages |
| Like/Dislike Counter | Just the number of likes or dislikes, with an icon | Cards, hero sections, “87 people loved this” |
| Top Posts | Your most liked posts in a grid | Homepage, sidebar, “Most loved” pages |
| Top Comments | The most liked comments, by post type | Blogs and review sites with active comments |
| Best Likers | The members who like the most | Community pages and member areas |
| Top Activities | The most liked BuddyPress activity | BuddyPress communities |
| Top Topics | The most liked bbPress topics | Forums |
Top Posts, Top Comments, Top Activities and Top Topics all have pagination, so you can build a full “Popular” page, not just a short list.
No Pro yet? Use the shortcode
The free plugin has no Elementor widgets, but it works with Elementor’s own Shortcode widget. Drag it in and paste [wp_ulike]. You get the free like button for the current post. You can’t pick templates or styles from the panel, and there are no Top Posts or Best Likers widgets, but it’s a fine way to start.
The full list of differences is in our free vs Pro comparison.
If something doesn’t look right
- You don’t see the widgets. Check that WP ULike and WP ULike Pro are both active and the license is active. Then look for the WP ULike Pro category. If you search for “ulike” you may only find “WP Ulike Widget”: that is the classic sidebar widget, not the Elementor one.
- The button likes the wrong item. On landing pages and the homepage, turn on Enable Custom ID and enter the Post ID.
- Top Posts is empty. The period may be too short. Try “All”, or turn on Enable Normal Query in the Query section to also show posts with no likes yet.
- You want the button on every post, not just one page. Use Display Automation for site-wide rules, and keep the widget for special pages.
Still stuck? Contact support and we’ll help you sort it out.
Frequently asked questions
Install WP ULike and WP ULike Pro, open your page in Elementor, drag the Like Button widget from the WP ULike Pro category, pick a template and publish.
No. The seven Elementor widgets are part of WP ULike Pro. With the free plugin you can still add a button in Elementor with the Shortcode widget and [wp_ulike].
No. The widgets work with free Elementor. You only need Elementor Pro to put the button in a Theme Builder template, such as your single post layout.
Yes. In the Like Button widget, turn on Enable Custom ID and enter the Post ID of the item you want people to like.
Yes. Products are posts in WordPress, so you can add the Like Button to a product template or tie it to a product with a custom Post ID.
Yes. The Top Posts widget shows your most liked posts in a grid, for all time or a period like the last 30 days, with an optional like button on each card.
See Pro plans · Browse templates · Documentation



Leave a Reply