Posts Like Dislike

Plugin Banner

Posts Like Dislike

by Happy Coders

Download
Description

Posts Like Dislike is the Free WordPress Plugin to enable Like and Dislike Icons for default WordPress Posts or any other post types. Choose Thumbs Up or Thumbs Down, Smiley or Frown, Right or Wrong icons or your own custom like dislike icons, choice is yours.

Posts Like Dislike increases the interaction with the WordPress posts/post types by enabling likes and dislikes buttons along with the count.

Posts Like Dislike Features

  • Status
    • Enable or Disable Posts Like Dislike for posts/page or any other post types
  • Like Dislike Position
    • After Post
    • Before Post
  • Like Dislike Display
    • Display Both Like and Dislike
    • Display Like Only
    • Display Dislike Only
  • Like Dislike Restriction
    • Cookie Restriction
    • IP Restriction
    • No Restriction
  • Like Dislike Order
    • Like Dislike
    • Dislike Like
  • 4 Pre Available Icon Templates
    • Thumbs Up Thumbs Down
    • Heart or Heart Beat
    • Right or Wrong
    • Smiley or Frown
  • Custom Like Dislike Icon Upload feature
  • Icon Color Configuration
  • Count Color Configuration

Shortcode

[posts_like_dislike id=post_id]
Please replace post_id with the id of the post or remove id parameter for considering the post id as the id of global $post object

Custom Function

<?php echo do_shortcode('[posts_like_dislike id=post_id]');?>

Please replace post_id with the id of the post or remove id parameter for considering the post id as the id of global $post object

If you are using in your single.php template file then you can use below code

  1. Upload the plugin files to the /wp-content/plugins/posts-like-dislike directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Posts Like Dislike settings page inside the Posts Menu to configure the plugin
  1. Posts Like Dislike Icon Template 1

    Posts Like Dislike Icon Template 1

  2. Posts Like Dislike Icon Template 2

    Posts Like Dislike Icon Template 2

  3. Posts Like Dislike Icon Template 3

    Posts Like Dislike Icon Template 3

  4. Posts Like Dislike Icon Template 4

    Posts Like Dislike Icon Template 4

  5. Posts Like Dislike Icon Custom Template

    Posts Like Dislike Icon Custom Template

  6. Posts Like Dislike Basic Settings

    Posts Like Dislike Basic Settings

What does this plugin do ?

This plugin provides the ability to add the like and dislike buttons for WordPress native posts.

I have enabled the plugin but like and dislike icons are not being displayed. What may be the reason ?

Our plugin uses the_content filter to append like and dislike icons . So if your active theme’s posts template doesn’t use the_content filter to display posts content then our plugin won’t be able to display like and dislike icons.

Is there any hooks available to extend the plugin ?

Our plugin does contains many actions and filters which are described inside the Help Section

I want to display in the post detail template. Do you have a custom function?

We do have a shortcode [posts_like_dislike] which can also be used as custom function through <?php echo do_shortcode('[posts_like_dislike]');?>

Can I disable fontawesome?

Yes you can disable the fontawesome as well from the display settings and also you can use your own icons by using custom icon option in the display settings

Can I undo like and dislike after already liking or disliking?

Yes you can undo like or dislike by clicking the like or dislike. You can also give the different icon color for already liked or disliked icon from the display settings.

it's the best plugin

By dgner on June 21, 2025

This is incredibly lightweight, and it doesn't even create additional DB tables.
I think it's the best plugin for likes and dislikes.

Не работает... вжух... и заработало 🙂

By Danilkin on June 8, 2025

К сожалению, этот плагин не работает.

Установил по инструкции. Открыл статью, нажал на "лайк" ничего не происходит. Только со второго раза меняется цвет лайка при нажатии, но сам лайк не появляется. Также при прописывании лайков в мета поле, лайки также не отображаются. Очень жаль. Надеюсь поправите или чем-то поможете.

-

Оценку исправил на 5. Сам был виноват. Нужно было удалить id=post_id из <?php echo do_shortcode('[posts_like_dislike id=post_id]');?>

Does it have most liked posts widget?

By peaceful-monk on November 16, 2024

This is a great and simple plugin, and lightweight also.

There are many plugins out there in the market bloated with ads, and loaded with lots of css and js. But, this one is very lightweight.

I just have one requirement, I've to display top 10 most liked posts in the widget on frontend?

Is it possible?

Stopped working after the latest update

By torstiva on April 25, 2024

Disappeared from the site after the latest update.

I hate when a plugin gets worse after update.

Perfect

By Anonymous User (anonymized_20571783) on January 19, 2024

Great plugin

Great plugin

By socialreza on June 26, 2023

It's a great plugin, giving 5 stars is the least I can do to thank its creator.

Great plugin!

By 1n41g0 on February 2, 2023

Awesome plugin - thanks!

A quick question - any documentation on how to get this to work well when using a caching plugin? Understandably, as soon as I enable the cache (in this instance via LiteSpeed Cache plugin) the display of likes/dislikes does not update until I refresh the cache. But obviously I'd like to show this dynamic content....any tips would be most appreciated.

one major problem

By The Moss Report (mossreports) on August 19, 2022

no way to see the votes that I could find, a fatal flaw in what otherwise was looking like the solution I was after

Excellent

By supermagicien on July 23, 2022

Super plugin, j'espère que dans le futur il y aura plus de template et que l'on pourra ajuster la taille des boutons. Great plugin, I hope in the future there will be more template and we can adjust the size of the buttons. Christophe

don't work

By dekijanos on April 28, 2022

If you want to hide it completely from the site t won't work. Button: "Please check to enable posts like and dislike in frontend" works not. It is always shown in frontend, doesn't matter what you do. Please, fix that.

1.1.6

  • Fix: User IP being saved in comments meta instead of post meta

1.1.5

  • Fix: Ommitted like dislike icon being appended in RSS content

1.1.4

  • Fixed user ip related issue

1.1.3

  • Fixed a security issue

1.1.2

  • Fixed security issue

1.1.1

  • Fixed security issue

1.1.0

  • Added undo feature for like and dislike action
  • Added already liked disliked icon color option

1.0.9

  • Fixed few undefined index warnings
  • Added fontawesome loading disable in the frontend option

1.0.8

  • WP 6.0 compatibility checked

1.0.6

  • WP 5.7 compatibility checked

1.0.5

  • Fixed login restriction mode issue
  • Fixed ajax load issue
  • Fixed some security issues

1.0.4

  • WP 5.6 compatibility checked

1.0.3

  • Added Post Like Dislike Count Info Metabox
  • Added an option to display 0 by default
  • Added alt tag in the custom image
  • Removed default post type select
  • Added [posts_like_dislike] shortcode

1.0.2

  • WP 5.4 compatibility checked

1.0.1

  • Added custom post type support
  • Updated the backend settings save mechanism
  • Added array sanitization functions

1.0.0

  • Initial plugin commit to wordpress.org repository
Back to top