Giter VIP home page Giter VIP logo

managed-posts-rating-like-button's Introduction

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.

managed-posts-rating-like-button's People

Contributors

levenyatko avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.