https://github.com/levenyatko/managed-posts-rating-like-button
Lighweight rating system for WordPress
https://github.com/levenyatko/managed-posts-rating-like-button
like-button rating-plugin star-rating voting-plugin wordpress wordpress-plugin
Last synced: 5 months ago
JSON representation
Lighweight rating system for WordPress
- Host: GitHub
- URL: https://github.com/levenyatko/managed-posts-rating-like-button
- Owner: levenyatko
- Created: 2023-02-10T12:25:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2026-01-02T16:06:18.000Z (5 months ago)
- Last Synced: 2026-01-08T23:42:12.730Z (5 months ago)
- Topics: like-button, rating-plugin, star-rating, voting-plugin, wordpress, wordpress-plugin
- Language: PHP
- Homepage: https://wordpress.org/plugins/managed-posts-rating-like-button/
- Size: 2.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Managed posts rating ★ Like button
Rating system for your WordPress site with a simple "like" button and advanced admin panel.
To install the plugin you could download package from this repository or install plugin as usual from WordPress plugins page.
## Highlights
* Lightweight.
* Integrate the like button automatically or use shortcodes for custom placement.
* Access a detailed logs page to track user interactions and ratings.
* The chart page displays users' voting activity.
* Ability to allow only logged-in users to vote.
* Ability to customize the maximum number of votes per post from one user.
* Easy voting management.
* Ability to rewrite the voting button template in your theme.
## Usage
To automatically add the "like" button to your posts in the admin panel
* Go to the "MPRating" -> "Settings" page
* Change the "Display" select value to "Before Content" or "After Content"
* Save settings
For more advanced control, select the "Manually" value for the "Display" select and use the provided shortcodes in your post content or templates:
* `[mpr-button]` - Display the like button.
* `[mpr-button id="XX" disabled="false"]` - Display the like button for a specific post (replace "XX" with the post ID). Use the "disabled" attribute if you want to show the "like" button but disallow voting.
You can also display the voting button using the mpr_button function. The function parameters are similar to the shortcode.
`mpr_button(['id' => 1, 'disabled' => false, 'return' => false ]);`
## Frequently Asked Questions
### How to customize rating template?
Create an `mpr` folder in your theme and copy the `partials/front` folder into it.