Simple Like Button
A lightweight replacement for the discontinued Facebook Like button: a heart, thumbs up or emoji reactions with counts stored in WordPress, no Facebook script, and a tool that removes the old Facebook code.
Screenshots
Facebook has switched off its Like button and Comments plugin for websites, so the old buttons now show nothing while still loading Facebook's script on every page. Simple Like Button puts a like button back on your posts without Facebook: readers tap a heart, a thumbs up or an emoji reaction, and the counts are stored in your own WordPress database.
Show it after your content, before it, or right next to your share buttons. It joins the same row as Fast Social Share Buttons and sits just before Jetpack, AddToAny, Social Warfare and other share bars. You can also place it yourself with the Like Button block, the [simple_like_button] shortcode or a line of PHP. A Most Liked Posts block lists your readers' favorites of all time or of the last week, month or year.
Each visitor gets one vote per post without cookies: the plugin keeps a one-way, keyed hash of the post and the visitor's connection, never an IP address, and nothing is stored in the visitor's browser, so it needs no cookie banner. Crawlers, link previews and scripts are ignored, and likes only count when they come from a real click on your own site. The Facebook Cleanup tab finds old Like and Comments code in your posts, widgets and theme files and removes it safely. Find it under Content Powered > Simple Like Button.
Features
- Heart, thumbs up or reactions. A one-tap heart or thumbs up, or a row of up to eight emoji reactions from twelve, each with its own count.
- Next to your share buttons. After the content, before it, or in the same row as your share buttons. Or place it with a block, shortcode or PHP.
- No cookies, no tracking. One vote per visitor through a keyed one-way hash. No IP addresses stored, nothing saved in the browser, nothing loaded from Facebook.
- Bot filtering. Crawlers, previews and scripts are ignored, likes must come from your own pages, and an hourly limit stops repeat liking.
- Works with page caching. Counts stay current on cached pages, and returning visitors see the posts they've already liked.
- Most Liked Posts block. Your readers' favorites of all time or of the last 7 days, 30 days or 12 months, with images and counts.
- Facebook cleanup. Finds old Like and Comments code and the Facebook SDK in posts, widgets and theme files, and removes it with revisions and backups.
- Stats. Total likes, likes per day for 30 days, likes by reaction, and a sortable Likes column on your posts list.
- Click Download above to save
simple-like-button.zip. Leave it zipped. - In your WordPress dashboard, go to Plugins > Add New Plugin and click Upload Plugin.
- Choose the ZIP and click Install Now, then Activate Plugin.
To update later, upload a newer ZIP the same way. WordPress offers to replace the installed version and keeps your settings.
Why Did the Facebook Like Button Stop Working?
Facebook retired its Like button and Comments plugin for third-party websites in 2026. The old code on your pages now shows nothing, but it still loads Facebook's script. Simple Like Button replaces the button and its Facebook Cleanup tab removes the old code.
Do I Need a Cookie Banner for It?
No. The button sets no cookies, stores nothing in the visitor's browser and loads nothing from other sites. Votes are recognised on your server with a one-way hash, and you can choose how long those hashes are kept.
Can I Keep My Old Facebook Like Counts?
No. Facebook kept those counts on its own servers, and they went away with the button. Your new counts start from zero.
Can Someone Like a Post More Than Once?
Not from the same browser and connection, or the same account when they're logged in. Someone who switches networks could like again, and bots and scripts are ignored.
Does It Work With WP Rocket and Other Caching Plugins?
Yes. With Live counts on, each button fetches its current count when it scrolls into view, so cached pages never show stale numbers. Its styles are kept by WP Rocket's and Perfmatters' Remove Unused CSS automatically.
Is It Safe to Remove Facebook Code From My Theme?
The cleanup only removes complete, empty Facebook elements, checks that PHP files still work before saving, and keeps a backup you can restore with one click. Anything it isn't sure about is listed for you to remove by hand.
How Do I Get Updates?
Through the normal WordPress Updates screen. The plugin checks our GitHub releases twice a day, and you can update with one click or turn on auto-updates.
1.0.0
- First release.
- See https://github.com/jmsprsns/simple-like-button/releases for the full release history.
Download
More Free WordPress Plugins
Honest Last Modified Date
Only changes a post's "Last modified" date when enough of it has really changed: a minimum number of words, a percentage, or both, set separately for posts and pages.Reading Time
Shows an accurate "5 min read" on your posts, added automatically or with a block, shortcode or PHP, with per-post control and an optional reading progress bar.Blog Post to Audio Podcast
Turns your blog posts into natural-sounding audio with ElevenLabs, adds a lightweight, accessible player to each post, and publishes your blog as a podcast for Apple Podcasts and Spotify.Let's Grow Your Business
Want some free consulting? Let's hop on a call and talk about what we can do to help.
