Allows a post author to assign a simple 1-5 star rating to a post, page, or custom post type, which will then be displayed on the post.
There are plenty of plugins available which allow site visitors to rate posts, but I didn’t find any that gave the post author that functionality, so I wrote this plugin. Author Post Ratings adds a meta box to the post edit screen, allowing you to chose a 1-5 star rating for the post, or to leave it unrated. The plugin will automatically add the post rating (using stars, and an optional label) to the top or bottom of the post. If you wish, you can disable that functionality altogether and use a shortcode to insert the post rating anywhere in the post you choose. The plugin supports ratings for posts, pages, and custom post types, all of which can be individually enabled or disabled in the plugin settings. It is also fully internationalized, with Spanish language translation files included.
The post rating label text can be changed in the plugin settings, so no translation is required for the frontend (public side) of the site. However, if you wish to translate the backend settings interface, the plugin is fully internationalized and ready for translation. There is a .po and a .mo file included in the plugin’s ‘languages’ directory for your convenience.
The plugin includes the following translations:
Author Post Ratings is installed just like any other WordPress plugin. No configuration is required, but if you wish, you may change the plugin settings at Settings > Author Post Ratings.
If you’re not familiar with installing WordPress plugins, follow these steps to install the plugin:
/wp-content/plugins/
directory.You can edit author-post-ratings.css
in the plugin folder.
Sure, just replace the two images in the author-post-ratings/images/
directory with your own star images. You can also download the Photoshop source files for the supplied star images from the [plugin homepage][plugin homepage URL].
Please use the plugin’s support forum here on WordPress extend.
Yes. You can use get_author_post_rating()
and the_author_post_rating()
in your templates. These functions are explained in more detail on the [plugin homepage][plugin homepage URL].
Thank you! Please head on over to my donate page. Any donation, no matter how large or small, is greatly appreciated!
<!--more-->
quicktag is used in place of true excerpts