Linux 软件免费装
Banner图

Likenook – Like Dislike Buttons

开发者 sanju-shankar
更新时间 2026年10月23日 00:23
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

like button feedback voting reactions dislike

下载

3.0.0 3.0.1

详情介绍:

Likenook adds like and dislike buttons (thumbs up and thumbs down) to posts, pages, WooCommerce products, custom post types and comments. Readers vote with one click, you see which content works on a built-in analytics dashboard, and a Most Liked Posts list sends visitors to your best content. Use it as a simple like button, an upvote and downvote score, heart reactions, or a "Was this helpful?" question on documentation. It works with the block editor, Elementor, widgets, any page builder that supports shortcodes, and page caching. Everything is free, with no upsells. How it works
  1. Install and activate. Like and dislike buttons appear under your blog posts straight away, with counts.
  2. Make them yours. Pick a preset or choose icons, style, colours and placement, with a live preview of every change.
  3. Learn from the votes. The dashboard shows what readers like over time, your most and least liked content, and how this period compares with the last.
Use cases Works with your editor and theme Looks the way you want Voting that holds up Placement Built for SEO and content strategy Likes are more than a vanity number. Likenook turns them into signals you and search engines can use. Accessibility Analytics Switching from another plugin Import your existing votes from WP ULike, Like Dislike for WP and Posts Like Dislike in one click. Individual votes keep their dates, and logged-in users keep their earlier vote. Old shortcodes keep working after the import. Privacy For developers Support and feedback Questions, bug reports and feature ideas are welcome in the support forum. The code is on GitHub if you'd like to contribute. Likenook is built and maintained by Sanjay Shankar. If it helps your site, a review helps other site owners find it, and you can buy me a coffee to support development. Credits Icons are adapted from Lucide (ISC licence). Trademarks WP ULike, Like Dislike for WP, Posts Like Dislike, Yoast SEO, Rank Math, All in One SEO, WooCommerce, Elementor, Divi, Bricks, Beaver Builder, WPBakery, Oxygen, Breakdance, SiteOrigin, Cloudflare and WP Rocket are trademarks of their respective owners. Likenook is an independent plugin and is not affiliated with or endorsed by any of them. These names are used only to describe compatibility and imports.

安装:

  1. Install the plugin from Plugins → Add New, or upload the likenook folder to /wp-content/plugins/.
  2. Activate it. Buttons appear under your blog posts straight away.
  3. Go to Likenook → Settings to choose icons, style and where buttons appear.

屏幕截图:

  • Button styles and icon sets on the front end.
  • Analytics dashboard with trends and most liked posts.
  • Likenook Buttons and Most Liked Posts blocks in the editor.
  • Import votes from other like plugins.

升级注意事项:

3.0.1 Adds an optional author newsletter sign-up and an optional deactivation survey. No changes to your buttons, votes or settings. 3.0.0 A complete rebuild. Counts from version 2.x can be brought over under Likenook → Tools → Import.

常见问题:

The buttons don't appear

Check that the post type is ticked under Likenook → Settings → Placement, and that Position isn't set to "Only where I place them". Some themes don't use the standard post content. In that case, add the Likenook Buttons block, the [likenook] shortcode, or <?php if ( function_exists( 'likenook_buttons' ) ) { likenook_buttons(); } ?> to your template.

Does it work with Elementor, Divi or other page builders?

Yes. Elementor has its own Likenook Buttons and Most Liked Posts widgets. In Divi, Bricks, Beaver Builder, WPBakery, Oxygen, Breakdance and other builders, add [likenook] or [likenook_most_liked] to a shortcode or text module. Buttons placed without an ID belong to the post being viewed.

How do I show the buttons in a sidebar?

Add the Likenook Buttons block to a widget area (or the Likenook Buttons widget in classic themes). It shows the buttons for the post being viewed, and hides itself on blog and archive pages, where there is no single post to vote on. To keep the automatic buttons out of the content at the same time, set Position to "Only where I place them".

How do I show the most liked posts in a sidebar?

Add the Most Liked Posts block or widget to the sidebar, or use [likenook_most_liked number="5" period="month"]. Choose the post type, the period (all time, 7 days, 30 days or 12 months) and whether to show featured images.

What can I set in the shortcode?

[likenook] accepts id, icons (thumbs, hearts, arrows, smileys, checks, flames, emoji, none), style (soft, outline, pill, minimal, solid, glass), size (sm, md, lg), align, layout (row, stack), counts (show, hide, after_vote, percent, score), labels (yes, no), like_label, dislike_label, bar (yes, no), question and thanks. Anything you leave out uses your settings. [likenook_most_liked] accepts number, post_type, period (all, week, month, year), show_count and show_thumbnail.

Can I put the buttons somewhere else in my theme?

Yes. Call <?php if ( function_exists( 'likenook_buttons' ) ) { likenook_buttons(); } ?> in any template file, for example next to the post title or in the author box. Pass a post ID to show the buttons for a different post: likenook_buttons( 42 ).

Does it work with WooCommerce?

Yes. Tick Products under Placement and the buttons appear in the product summary. The Most Liked Posts block, widget and shortcode can list products too.

Can visitors vote without an account?

Yes, by default. Each visitor gets one vote per item, recognised by a cookie or by a hashed IP address. To allow only logged-in users, or only certain roles, change "Who can vote" under Voting.

Will it slow down my site?

No noticeable effect. The front end adds one small stylesheet and about 9 KB of JavaScript (no jQuery), only on pages that show buttons, plus one small request to load live counts. Totals are cached, so lists and sorting never count votes on the fly.

Does it help SEO?

It adds like and dislike counts to your page's structured data (schema.org interactionStatistic), alongside the Article markup from your SEO plugin or theme. This describes engagement to search engines and AI crawlers. Counts are only added when visitors can see the results, and you can turn this off under Advanced. It does not create star ratings in search results, and no plugin can promise rankings.

Does it work with caching plugins?

Yes. The page can be cached as usual. Counts and the visitor's own vote load through a small request after the page loads.

How do I show the buttons in a Query Loop or on the blog page?

In block themes, add the Likenook Buttons block inside the Post Template of a Query Loop. In classic themes, turn on "Also show on blog and archive pages" under Placement.

Can I use it for "Was this helpful?" on documentation?

Yes. Click the "Was this helpful?" preset. It adds the question, Yes / No labels and a thank-you message, and hides the counts.

Can I show only a like button?

Yes. Under Placement → Which buttons, choose "Like only". The Hearts preset does this too.

Why does everyone in my office share one vote?

You chose "Per IP address" tracking, and your office shares one IP. Switch to "Per browser" under Voting.

Every visitor seems to have the same IP address

Your site is probably behind Cloudflare or a proxy. Under Voting, set "Visitor IP comes from" to the matching header.

How do I move my votes from another like plugin?

Go to Likenook → Tools and click Import next to the plugin. You can run it again safely: it updates rather than doubles. On very large sites, use wp likenook import wp-ulike.

Is Likenook accessible?

Yes. The buttons are real buttons that work with a keyboard and screen readers, report their pressed state, announce vote results, and respect the reduced motion setting.

Can I style the buttons with my own CSS?

Yes. Everything uses CSS custom properties, so a few lines change the colours and shape everywhere, for example .likenook { --likenook-like: #16a34a; --likenook-radius: 4px; }. Each style, size and icon set also adds its own class to the wrapper.

Is Likenook translation-ready?

Yes. All text uses the likenook text domain and a translation template is included, so it can be translated on translate.wordpress.org or with a plugin like Loco Translate.

Where can I get help or suggest a feature?

Use the support forum. Feature ideas are very welcome, and you can also open an issue on GitHub.

What happens to my votes if I delete the plugin?

They are kept, unless you switch on "Delete all votes and settings when the plugin is deleted" under Advanced first.

更新日志:

3.0.1 3.0.0