=== Simple Like Button ===
Contributors: contentpowered
Author: Content Powered
Author URI: https://www.contentpowered.com/wordpress-plugins/
Plugin URI: https://www.contentpowered.com/wordpress-plugins/simple-like-button/
Tags: like button, reactions, facebook like, likes, most liked posts
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.2
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A lightweight replacement for the discontinued Facebook Like button: a heart, thumbs up or emoji reactions with counts. No Facebook script, no cookies, no tracking.

== Description ==

Facebook has switched off its Like button and Comments plugin for websites. Simple Like Button puts a like button back on your posts, without Facebook: the likes are counted and stored in your own WordPress database.

* **Heart, thumbs up or emoji reactions.** Pick from twelve reactions (Like, Love, Haha, Wow, Sad, Celebrate, Insightful and more), up to eight at once.
* **After the content, before it, or next to your share buttons.** Sits in the same row as Fast Social Share Buttons, or just before Jetpack, AddToAny, Social Warfare, Novashare, Shared Counts and other share bars. Or place it yourself with the Like Button block, the `[simple_like_button]` shortcode or `simple_like_button()` in your theme.
* **One vote per visitor, without cookies.** Each like is saved with a keyed one-way hash of the post and the visitor's connection. No IP addresses are stored and nothing is put in the visitor's browser, so no cookie banner is needed.
* **Bot filtering.** Crawlers, link previews, monitors and scripts are ignored, likes must come from a real click on your own site, and an hourly limit per connection stops anyone liking the same posts over and over.
* **Works with page caching.** Counts stay current on cached pages, and returning visitors see the posts they've already liked.
* **Most Liked Posts block.** List your readers' favorites of all time or of the last week, month or year, with the block or `[most_liked_posts]`.
* **Facebook cleanup tool.** Finds the old Facebook Like and Comments code (and the Facebook SDK it loaded) in posts, pages, templates, widgets and theme files, and removes it safely: posts keep a revision, theme files are checked and backed up first.
* **Stats.** Total likes, likes per day and your most liked posts, plus a sortable Likes column on the posts list.
* **Light.** About 4 KB of CSS and 4 KB of JavaScript, loaded only where a button shows.

Find it under Content Powered > Simple Like Button in the admin menu.

Found a bug or have an idea? Use Content Powered > Report a Bug or Content Powered > Submit Feedback to send it straight to us.

= Credits =

* Icons by [Lucide](https://lucide.dev), used under the ISC License. Icons derived from [Feather](https://feathericons.com) are under the MIT License. The full license text is in `icons/LICENSE`.
* Brand icons by [Simple Icons](https://simpleicons.org), CC0 1.0. Brand names and logos are trademarks of their respective owners.
* Updates delivered by [Plugin Update Checker](https://github.com/YahnisElsts/plugin-update-checker) by Janis Elsts, MIT License.

== Installation ==

1. Upload the `simple-like-button` folder to `/wp-content/plugins/`.
2. Activate the plugin through the Plugins screen in WordPress.
3. Go to Content Powered > Simple Like Button. Posts get a heart button after the content straight away.

Updates arrive through the normal WordPress Updates screen, and you can turn on auto-updates from the Plugins screen.

== Frequently Asked Questions ==

= Do I need a cookie banner for it? =

No. The button sets no cookies, uses no local storage and loads nothing from other sites. Votes are recognised on the server with a one-way hash.

= Can I bring over my old Facebook like counts? =

No. Facebook kept those counts on its own servers, and they went with the button. Counts start from zero.

= Can a visitor like a post more than once? =

Once per post from the same browser and connection (or account, when logged in). Someone who switches networks could like again, and people sharing one connection and browser count as one. The "Forget who voted after" setting decides how long votes are remembered.

= Does it work with WP Rocket, LiteSpeed Cache and Cloudflare? =

Yes. With "Live counts" on, the button fetches fresh counts when it scrolls into view. Its styles are added to WP Rocket's and Perfmatters' "Remove Unused CSS" safelists automatically.

== Changelog ==

= 1.0.0 =
* First release.

See https://github.com/jmsprsns/simple-like-button/releases for the full release history.
