=== Pro Like Button ===

Contributors: protport4991
Author: Andriy Prots
Tags: like, like button, voting, rating, dislike
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 5.6
Stable tag: 2.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Adds buttons to posts with the ability to sort them.

== Description ==

If you’re looking for one of the best and fastest ways to add like and dislike functionality to your WordPress website, then the Pro Like Button plugin is for you! Pro Like Button is a free WordPress plugin that will allow users of your site to interact with posts that you liked and did not like, and you can track them on the site's control panel and sort posts according to these parameters.


= Features =

*   Possibility to choose in what page "Likes or Dislikes" will be displayed
*   Possibility to display buttons in any place via shortcode ['prolikebutton_shortcode']
*   Possibility to download your own icons for buttons
*   Possibility to sort posts using Likes and Dislikes
*  	10 button Templates (10 types of button layouts)
*   Custom Like & Dislike buttons texts
*   Available for logged and non-logged users
*   Support
*   Clean code (there is nothing redundant in the code)


= Translations =
Pro Like Button has been translated into the following languages:

*   English (United States)


== Installation ==

= From your WordPress dashboard =

1. Visit 'Plugins > Add New'
2. Search for 'Pro Like Button'
3. Activate 'Pro Like Button' from your Plugins page. (You will be greeted with a Welcome page.)

= From WordPress.org =

1. Download 'Pro Like Button'.
2. Upload the 'Pro Like Button' directory to your '/wp-content/plugins/' directory, using your favorite method (ftp, sftp, scp, etc...)
3. Activate 'Pro Like Button' from your Plugins page. (You will be greeted with a Welcome page.)


== Screenshots ==

1. General settings: where to display the buttons, excluded post/page IDs, who can vote, layout, button style, text, size and position.
2. Shortcode tab: output the buttons anywhere with [prolikebutton_shortcode].
3. Anti-spam tab: optional IP rate-limiting and Google reCAPTCHA v2/v3.
4. Custom tab: your own CSS and custom Like/Dislike button images.


== Changelog ==

= 2.0 =
Add Statistics dashboard (likes/dislikes overview and sorting in wp-admin)
Add rate-limiting for the like/dislike AJAX handler to reduce spam and abuse
Add reCAPTCHA support for the like/dislike action
Add structured data (schema.org) output for like/dislike counts
Add WooCommerce product support
Redesign the plugin settings/admin pages
Fix several PHP 8+ warnings (activation, save form, posts_clauses)
Fix "Array to string conversion" notice in the shortcode handler
Security hardening: every remaining $wpdb query now goes through $wpdb->prepare() (including table/column names via %i), instead of raw string interpolation
Unify text domain to `prolike-button` across the codebase, and add the missing Text Domain header

= 1.0.5 =
Security: fixed an unauthenticated SQL injection in the like/dislike AJAX handler (postid was concatenated into SQL; now validated as an integer and passed through $wpdb->prepare()). Reported by Enrico Marcolini, Claudio Marchesini and Dottor Marc.
Add "Where to display" option for Comments
Add "Who can like" setting (Anyone visiting / Members only)

= 1.0.3 =
Add new author url
Fix errors in the file readme.txt

= 1.0.2 =
Add output button shortcode

= 1.0 =
The initial version