Skip to content
WordPress Plugin Free Featured

Simple Post Like — Add Reactions to Your Posts

A free, open-source WordPress plugin that adds a clean, themeable like button to your posts. No jQuery, no theme dependency, three display styles, guest support with hashed IP tracking, and a statistics dashboard. Lightweight, focused, and works with any theme.

1.0.0
Mar 13, 2026
Simple Post Like — Add Reactions to Your Posts

Simple Post Like is a free, open-source WordPress plugin that adds a like button to your posts — built for developers and site owners who want a focused, well-crafted feature without pulling in a heavyweight plugin to do one simple thing.

It works with any theme. It has no jQuery dependency. It stores no raw IP addresses. And it takes two minutes to configure from the admin page under Settings → Simple Post Like.


Three Display Styles, One Setting

Simple Post Like ships with three display styles to suit any design context. Button shows a full button with icon, label, and like count — good for editorial sites and blogs. Icon + Counter shows a compact icon with the count floating beside it — good for tight layouts and card grids. Icon Only shows a minimal circle icon button — good for design-forward themes where every pixel matters.

Switch between them in Settings with a single click. Or override per-instance using the shortcode’s style attribute — useful when you want a full button on single posts but an icon-only version on archive cards.


Auto-Injection — No Template Edits Required

Simple Post Like hooks into WordPress’s the_content filter and injects the like button automatically, based entirely on your settings. Choose to inject after content, before content, before and after, or not at all on individual post pages. Toggle archive injection separately to show the button after each post on blog index, category, tag, and search pages.

Disable the master Auto Injection toggle to switch to shortcode-only mode — the right choice when your theme’s templates already have dedicated spots for actions, or when you want precise control over placement in block editor layouts.


Shortcode for Manual Placement

Place the like button anywhere with the [simple_post_like] shortcode — inside post content, page builders, widget areas, or directly in template files via do_shortcode().

📄Shortcodephp
[simple_post_like]
[simple_post_like post_id="123"]
[simple_post_like style="icon_only"]
[simple_post_like style="icon_counter"]

The post_id attribute defaults to the current post. The style attribute overrides the global display setting for that instance only.


Guest Likes with Hashed IP Tracking

Enable guest likes in Settings and non-logged-in visitors can like posts too. Guest likes are tracked by a SHA-256 hash of the visitor’s IP address combined with WordPress’s NONCE_SALT — so no raw IP addresses are ever written to the database, and the hash is site-specific and non-reversible. Disable guest likes entirely to restrict the feature to logged-in users only.

When a guest later creates an account and logs in, their previous guest like is cleaned up automatically on their next interaction.


Statistics Dashboard

The Statistics tab in Settings gives you a clear view of engagement across your content — without leaving WordPress admin.

Three summary cards show total likes across all posts, the number of posts that have at least one like, and the like count of your most popular post. Below that, a sortable leaderboard lists your top 10 most liked posts with rank badges, post type labels, and direct view and edit links.

The Posts list table at wp-admin/edit.php gets a Likes column too — visible for all enabled post types, sortable by clicking the column header, so you can rank your entire content library by engagement in one click.


Themeable with CSS Custom Properties

Simple Post Like exposes its full visual language as CSS custom properties on :root. Override them from your theme’s stylesheet to restyle the button entirely — color, radius, font size, transition speed — without touching plugin files, writing !important, or worrying about update safety.

📄CSS Variablescss
:root {
  --spl-color:        #your-brand-color;
  --spl-btn-radius:   4px;
  --spl-font-size:    14px;
}

The full list of available properties is documented in the CSS Customization reference.


GPL Licensed — Free Forever

Simple Post Like is released under the GPL-2.0-or-later license — the same license as WordPress itself. Use it in personal projects, client work, and commercial themes without restriction. No license keys, no feature tiers, no upsells. Just a well-built plugin, free and open source.

FAQ:

Yes, completely. It is open-source and licensed under GPL-2.0-or-later. There are no premium tiers, no feature locks, and no license keys.

Screenshots

Built With

PHP JavaScript Sass

Features

  • Three display styles — Button, Icon + Counter, Icon Only
  • Auto-injection — before content, after content, both, or none on single posts
  • Archive page injection — blog index, category, tag, and search pages
  • Shortcode — [simple_post_like] with post_id and style attributes
  • Guest likes — optional, tracked by SHA-256 hashed IP (no raw IPs stored)
  • Statistics tab — total likes, posts with likes, most liked posts leaderboard
  • Posts list column — sortable Likes column on wp-admin/edit.php
  • CSS custom properties — restyle from your theme without touching plugin files
  • Master auto-injection toggle — switch to shortcode-only mode in one click
  • Single post position — after, before, both, or none
  • Archive injection toggle — independent control from single post injection
  • Pure Vanilla JS — zero jQuery dependency
  • Font Awesome fallback — loads only if not already enqueued by the active theme
  • GDPR-friendly — hashed IP tracking, no personal data stored raw
  • PHP 8.0+ — PSR-4 autoloading, type hints, singleton pattern throughout
  • Composer autoloader — optimized classmap in release builds
  • SCSS source — modern @use/@forward module architecture, compiled CSS committed
  • i18n ready — .pot file included, text domain simple-post-like
  • GPL-2.0-or-later — free for personal and commercial use

Changelog

Version 1.0.0 - March 13th, 2026

  • Initial release
  • Add: Three display styles — button_default, icon_counter, icon_only
  • Add: Auto-injection via the_content filter with before/after/both/none placement on single posts
  • Add: Archive page injection toggle — independent control from single post placement
  • Add: Master auto-injection toggle for shortcode-only mode
  • Add: [simple_post_like] shortcode with post_id and style attributes
  • Add: Guest likes with SHA-256 hashed IP tracking — no raw IP addresses stored
  • Add: Statistics tab — total likes, posts with likes, most liked posts leaderboard
  • Add: Sortable Likes column in Posts list table for all enabled post types
  • Add: CSS custom properties on :root for full theme-side customization
  • Add: Font Awesome fallback — enqueued only if not already loaded by the active theme
  • Add: Settings page under Settings → Simple Post Like
  • Add: PHP 8.0+ PSR-4 autoloaded architecture with singleton pattern throughout
  • Add: Composer autoloader with --no-dev --optimize-autoloader for release builds
  • Add: SCSS with modern @use/@forward module system, partials for admin and frontend
  • Add: Pure Vanilla JS frontend — zero jQuery dependency
  • Add: Full i18n/l10n support with .pot file included