Posts Like Dislike

Описание

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

Снимки на разширението

  • Posts Like Dislike Icon Template 1
  • Posts Like Dislike Icon Template 2
  • Posts Like Dislike Icon Template 3
  • Posts Like Dislike Icon Template 4
  • Posts Like Dislike Icon Custom Template
  • Posts Like Dislike Basic Settings

Инсталиране

  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

ЧЗВ

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.

Отзиви

16.11.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?
26.06.2023
It’s a great plugin, giving 5 stars is the least I can do to thank its creator.
02.02.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.
19.08.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
Прочетете всички 20 отзива

Сътрудници и разработчици

“Posts Like Dislike” е софтуер с отворен код. Към разширението са допринесли следните хора:

Сътрудници

Превеждане на “Posts Like Dislike” на вашия език.

Имате интерес към разработване?

Преглеждане на кода, разглеждане на SVN хранилище, или абонамент към програмната история (log) чрез RSS.

Списък с промени

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