RC Post Rating

plugin banner

This plugin adds the ability for users to provide feedback on pages / posts via…

Author:Rick Curran (profile at wordpress.org)
WordPress version required:4.6
WordPress version tested:6.4.2
Plugin version:1.0.9
Added to WordPress repository:28-01-2022
Last updated:11-12-2023
Rating, %:0
Rated by:0
Plugin URI:https://qreate.co.uk/projects/#rc-post-rating
Total downloads:885
plugin download
Click to start download

This plugin adds a pair of buttons that provide the ability for visitors to your website to give feedback on page / post / custom post type content by up / down rating. The Up/down rating statistics can be viewed on the respective post lists in the WordPress admin and also via a table of statistics in a Dashboard widget, these statistics can be exported in a CSV format file.

Example usage:

Enable the plugin and access the “RC Post Rating” page in the Settings menu in your WordPress Admin to configure the required settings. The settings screen allows you to enable/disable the Dashboard widget, admin columns for the various post types on your site, set the global default Up / Downvote button text and also global default CSS classes for the buttons.

There are two methods that can be used to add the buttons to your site, a shortcode and a block for the modern block editor. Note that the simplest way to use it is to set the global attributes in the settings page then add the shortcode or block to the page / post / cpt content, the global defaults will automatically be brought in to the rendered code from each of these blocks. Note however that the shortcode (unlike the block version at this time) does provide a way to override these defaults, so if alternatve Up / Down text was needed for a specific page then these can be set per page if needed. The shortcode attributes are as follows:

  • id – defaults to the ID of the page that the shortcode is on, so this doesn’t need to be specifically set in the shortcode so normally you would omit this attribute
  • classes – defaults to the global values from the plugin settings page, or empty if these haven’t been set
  • uptext – defaults to the global values from the plugin settings page, or ‘Up’ if these haven’t been set
  • downtext – defaults to the global values from the plugin settings page, or ‘Down’ if these haven’t been set

The most basic shortcode format is:

[rc_post_rating]

To override the default classes and button text you would use:

[rc_post_rating classes="my-buttons" uptext="Yes" downtext="No"]

This will use the default settings from the plugin’s admin page.


Screenshots
FAQ
ChangeLog