RC Post Rating Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
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 attributeclasses
– defaults to the global values from the plugin settings page, or empty if these haven’t been setuptext
– defaults to the global values from the plugin settings page, or ‘Up’ if these haven’t been setdowntext
– 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
-
This screenshot shows the administration page for the “RC Post Rating” plugin in the WordPress backend
-
This screenshot shows “Add post Rating” block in the block inserter with the block added to the page content
-
This screenshot shows the shortcode method of adding the Post ratings buttons to page content which allows setting custom attributes
-
This screenshot shows the Post ratings buttons in a web page in their default unclicked state
-
This screenshot shows the Post ratings buttons in a web page in their clicked / activated state