{"id":54174,"date":"2017-02-09T07:27:32","date_gmt":"2017-02-09T07:27:32","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/stars-rating\/"},"modified":"2026-03-21T19:44:02","modified_gmt":"2026-03-21T19:44:02","slug":"stars-rating","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/stars-rating\/","author":12720503,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"4.1.0","stable_tag":"4.1.0","tested":"6.9.4","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Stars Rating","header_author":"Fahid Javid","header_description":"","assets_banners_color":"79d1ba","last_updated":"2026-03-21 19:44:02","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/stars-rating\/","header_author_uri":"https:\/\/www.fahidjavid.com","rating":4.7,"author_block_rating":0,"active_installs":1000,"downloads":33922,"num_ratings":23,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"fahidjavid","date":"2017-03-10 13:00:09"},"1.0.1":{"tag":"1.0.1","author":"fahidjavid","date":"2018-09-03 15:37:50"},"1.1.0":{"tag":"1.1.0","author":"fahidjavid","date":"2018-11-08 07:06:20"},"1.2.0":{"tag":"1.2.0","author":"fahidjavid","date":"2018-12-11 06:33:59"},"1.3.1":{"tag":"1.3.1","author":"fahidjavid","date":"2019-03-31 05:56:01"},"2.0.0":{"tag":"2.0.0","author":"fahidjavid","date":"2019-04-09 05:58:05"},"3.0.0":{"tag":"3.0.0","author":"fahidjavid","date":"2019-04-17 03:39:52"},"3.1.0":{"tag":"3.1.0","author":"fahidjavid","date":"2019-05-26 13:42:53"},"3.2.0":{"tag":"3.2.0","author":"fahidjavid","date":"2020-05-04 12:34:04"},"3.3.0":{"tag":"3.3.0","author":"fahidjavid","date":"2020-06-03 07:00:46"},"3.4.0":{"tag":"3.4.0","author":"fahidjavid","date":"2021-04-17 16:06:49"},"3.5.0":{"tag":"3.5.0","author":"fahidjavid","date":"2021-04-17 16:10:06"},"3.5.1":{"tag":"3.5.1","author":"fahidjavid","date":"2021-12-01 18:05:43"},"3.5.2":{"tag":"3.5.2","author":"fahidjavid","date":"2021-12-02 14:03:48"},"3.5.3":{"tag":"3.5.3","author":"fahidjavid","date":"2022-03-07 18:13:58"},"3.5.4":{"tag":"3.5.4","author":"fahidjavid","date":"2022-10-19 14:19:15"},"3.5.5":{"tag":"3.5.5","author":"fahidjavid","date":"2023-05-16 06:05:01"},"4.0.1":{"tag":"4.0.1","author":"fahidjavid","date":"2024-01-19 20:59:40"},"4.0.2":{"tag":"4.0.2","author":"fahidjavid","date":"2024-02-15 12:15:28"},"4.0.3":{"tag":"4.0.3","author":"fahidjavid","date":"2024-05-23 17:25:20"},"4.0.4":{"tag":"4.0.4","author":"fahidjavid","date":"2024-08-24 17:57:49"},"4.0.5":{"tag":"4.0.5","author":"fahidjavid","date":"2025-01-04 11:33:43"},"4.0.6":{"tag":"4.0.6","author":"fahidjavid","date":"2025-05-03 20:14:25"},"4.0.7":{"tag":"4.0.7","author":"fahidjavid","date":"2025-12-04 10:00:19"},"4.1.0":{"tag":"4.1.0","author":"fahidjavid","date":"2026-03-21 19:44:02"}},"upgrade_notice":[],"ratings":{"1":0,"2":1,"3":0,"4":3,"5":19},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1593058,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1593058,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1542x500.png":{"filename":"banner-1542x500.png","revision":1593052,"resolution":"1542x500","location":"assets","locale":""},"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":1593058,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":1593052,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.1.0","1.2.0","1.3.1","2.0.0","3.0.0","3.1.0","3.2.0","3.3.0","3.4.0","3.5.0","3.5.1","3.5.2","3.5.3","3.5.4","3.5.5","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","4.0.7","4.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3487937,"resolution":"1","location":"assets","locale":""},"screenshot-10.png":{"filename":"screenshot-10.png","revision":3487937,"resolution":"10","location":"assets","locale":""},"screenshot-11.png":{"filename":"screenshot-11.png","revision":3487937,"resolution":"11","location":"assets","locale":""},"screenshot-12.png":{"filename":"screenshot-12.png","revision":3487937,"resolution":"12","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3487937,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3487937,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3487937,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3487937,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3487937,"resolution":"6","location":"assets","locale":""},"screenshot-7.png":{"filename":"screenshot-7.png","revision":3487937,"resolution":"7","location":"assets","locale":""},"screenshot-8.png":{"filename":"screenshot-8.png","revision":3487937,"resolution":"8","location":"assets","locale":""},"screenshot-9.png":{"filename":"screenshot-9.png","revision":3487937,"resolution":"9","location":"assets","locale":""}},"screenshots":{"1":"Plugin settings \u2014 Stars &amp; Reviews tab covering General, Display, Google Rich Snippets, Negative Rating Alert, and Review Photos configuration in one organised view.","2":"Likes &amp; Dislikes settings tab \u2014 enable\/disable the feature, select target post types, restrict voting to logged-in users, and toggle vote count visibility.","3":"Labels &amp; Messages settings tab \u2014 customise every user-facing string for star ratings, the negative rating alert popup, and likes &amp; dislikes buttons without touching any code.","4":"Per-post Stars Rating panel in the block editor sidebar \u2014 independently enable or disable star ratings and likes &amp; dislikes for each post or page.","5":"Adding the [stars_rating_avg] shortcode via the WordPress block editor to embed the average rating anywhere in a post or page.","6":"Average rating shortcode rendered on the front end \u2014 displays star icons alongside the rating score and total review count.","7":"Review submission form with a five-star rating selector, photo upload button with live thumbnail preview, and the standard comment field.","8":"Published review on the front end showing the star rating and reviewer-attached photos displayed in a clean thumbnail grid.","9":"Likes &amp; Dislikes buttons rendered on a post \u2014 shows the prompt label, thumbs-up\/thumbs-down SVG icons, and live vote counts.","10":"WordPress Posts admin list with the custom \"Avg. Rating\" column showing average star rating and total review count per post.","11":"WordPress Comments admin screen with the custom \"Stars Rating\" column displaying the individual star rating for each comment.","12":"Edit Comment screen in the WordPress admin \u2014 Stars Rating metabox shows the numeric rating, and the Review Photos metabox displays all attached images with individual delete buttons."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[107,2295,1519,80,4020],"plugin_category":[44,53],"plugin_contributors":[125852],"plugin_business_model":[],"class_list":["post-54174","plugin","type-plugin","status-publish","hentry","plugin_tags-comments","plugin_tags-rating","plugin_tags-reviews","plugin_tags-shortcode","plugin_tags-stars","plugin_category-discussion-and-community","plugin_category-ratings-and-reviews","plugin_contributors-fahidjavid","plugin_committers-fahidjavid"],"banners":{"banner":"https:\/\/ps.w.org\/stars-rating\/assets\/banner-772x250.png?rev=1593052","banner_2x":"https:\/\/ps.w.org\/stars-rating\/assets\/banner-1544x500.png?rev=1593058","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/stars-rating\/assets\/icon-128x128.png?rev=1593058","icon_2x":"https:\/\/ps.w.org\/stars-rating\/assets\/icon-256x256.png?rev=1593058","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/stars-rating\/assets\/screenshot-1.png?rev=3487937","caption":"Plugin settings \u2014 Stars &amp; Reviews tab covering General, Display, Google Rich Snippets, Negative Rating Alert, and Review Photos configuration in one organised view."},{"src":"https:\/\/ps.w.org\/stars-rating\/assets\/screenshot-2.png?rev=3487937","caption":"Likes &amp; Dislikes settings tab \u2014 enable\/disable the feature, select target post types, restrict voting to logged-in users, and toggle vote count visibility."},{"src":"https:\/\/ps.w.org\/stars-rating\/assets\/screenshot-3.png?rev=3487937","caption":"Labels &amp; Messages settings tab \u2014 customise every user-facing string for star ratings, the negative rating alert popup, and likes &amp; dislikes buttons without touching any code."},{"src":"https:\/\/ps.w.org\/stars-rating\/assets\/screenshot-4.png?rev=3487937","caption":"Per-post Stars Rating panel in the block editor sidebar \u2014 independently enable or disable star ratings and likes &amp; dislikes for each post or page."},{"src":"https:\/\/ps.w.org\/stars-rating\/assets\/screenshot-5.png?rev=3487937","caption":"Adding the [stars_rating_avg] shortcode via the WordPress block editor to embed the average rating anywhere in a post or page."},{"src":"https:\/\/ps.w.org\/stars-rating\/assets\/screenshot-6.png?rev=3487937","caption":"Average rating shortcode rendered on the front end \u2014 displays star icons alongside the rating score and total review count."},{"src":"https:\/\/ps.w.org\/stars-rating\/assets\/screenshot-7.png?rev=3487937","caption":"Review submission form with a five-star rating selector, photo upload button with live thumbnail preview, and the standard comment field."},{"src":"https:\/\/ps.w.org\/stars-rating\/assets\/screenshot-8.png?rev=3487937","caption":"Published review on the front end showing the star rating and reviewer-attached photos displayed in a clean thumbnail grid."},{"src":"https:\/\/ps.w.org\/stars-rating\/assets\/screenshot-9.png?rev=3487937","caption":"Likes &amp; Dislikes buttons rendered on a post \u2014 shows the prompt label, thumbs-up\/thumbs-down SVG icons, and live vote counts."},{"src":"https:\/\/ps.w.org\/stars-rating\/assets\/screenshot-10.png?rev=3487937","caption":"WordPress Posts admin list with the custom \"Avg. Rating\" column showing average star rating and total review count per post."},{"src":"https:\/\/ps.w.org\/stars-rating\/assets\/screenshot-11.png?rev=3487937","caption":"WordPress Comments admin screen with the custom \"Stars Rating\" column displaying the individual star rating for each comment."},{"src":"https:\/\/ps.w.org\/stars-rating\/assets\/screenshot-12.png?rev=3487937","caption":"Edit Comment screen in the WordPress admin \u2014 Stars Rating metabox shows the numeric rating, and the Review Photos metabox displays all attached images with individual delete buttons."}],"raw_content":"<!--section=description-->\n<p>Stars Rating transforms WordPress comments into a fully featured review system. It is simple to set up, highly configurable, and designed to keep your Media Library and admin clean no matter how many reviews come in.<\/p>\n\n<p>Its main features are as follows:<\/p>\n\n<p><strong>Star Ratings<\/strong>\n* Turns posts, pages and custom post types comments into star-rated reviews.\n* Choose which post types have ratings enabled, globally and per post.\n* Option to require a star selection before a comment can be submitted.\n* Choose from two star styles (regular outline or solid filled) with a custom colour picker.\n* Display the average rating above the comments section.\n* Offers a shortcode <strong>[stars_rating_avg]<\/strong> to display the average rating anywhere.\n* Hide the average rating text: <strong>[stars_rating_avg show_text=\"no\"]<\/strong>.\n* Hide an empty average rating: <strong>[stars_rating_avg show_empty_rating=\"no\"]<\/strong>.\n* See each review's star rating on the WordPress comments screen (backend).<\/p>\n\n<p><strong>Review Photos<\/strong>\n* Allow reviewers to attach photos to their comments.\n* Photos are stored in a dedicated folder (wp-content\/uploads\/sr-reviews\/) \u2014 completely separate from the WordPress Media Library to keep it clean.\n* Photos open in a per-review lightbox gallery on the front end.\n* Manage and delete individual review photos from the comment edit screen in the admin.\n* Configure max number of photos, max file size, and max image dimension per upload.\n* Restrict photo uploads to logged-in users or allow everyone.<\/p>\n\n<p><strong>Likes &amp; Dislikes<\/strong>\n* Add thumbs-up \/ thumbs-down buttons to posts on any post type.\n* Show or hide vote counts next to each button.\n* Restrict voting to logged-in users or allow everyone.\n* SVG icons ensure consistent rendering across all browsers and devices.<\/p>\n\n<p><strong>Negative Rating Alert<\/strong>\n* Show a popup when a reviewer selects a low star rating, giving them a chance to reach out before posting.\n* Set the rating threshold that triggers the alert.\n* Configure a direct link to your contact page inside the alert.<\/p>\n\n<p><strong>Google Rich Snippets<\/strong>\n* Output JSON-LD structured data so star ratings can appear directly in Google search results.\n* Set the review type (Product, Recipe, Book, Course, etc.) to match your content.<\/p>\n\n<p><strong>Labels &amp; Messages<\/strong>\n* Customise every user-facing string \u2014 prompts, button labels, alert text, error messages \u2014 directly from the settings page without editing any code.<\/p>\n\n<p><strong>Settings<\/strong>\n* Organised settings page with tabbed navigation (Stars &amp; Reviews, Likes &amp; Dislikes, Labels &amp; Messages) for quick access to each feature area.<\/p>\n\n<!--section=installation-->\n<h3>Method 1: WordPress Admin Interface<\/h3>\n\n<ol>\n<li>Navigate to your WordPress dashboard and go to <strong>Plugins &gt; Add New<\/strong>.<\/li>\n<li>In the search bar, enter <strong>Stars Rating<\/strong> and press Enter.<\/li>\n<li>Look for the plugin in the search results and click on the <strong>Install Now<\/strong> button.<\/li>\n<li>Once installed, click on the <strong>Activate<\/strong> button to activate the plugin.<\/li>\n<\/ol>\n\n<h3>Method 2: FTP Upload<\/h3>\n\n<ol>\n<li>Download the plugin ZIP file and extract it.<\/li>\n<li>Connect to your server using an FTP client (e.g., FileZilla, Cyberduck or cPanel).<\/li>\n<li>Upload the extracted plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory on your server.<\/li>\n<li>Activate the plugin through the WordPress dashboard from <strong>Plugins &gt; Installed Plugins<\/strong> page.<\/li>\n<\/ol>\n\n<p><strong>Note:<\/strong> After installing &amp; activating the plugin go to the <strong>Dashboard &gt; Stars Rating<\/strong> page to enable\/disable features and configure related settings.<\/p>\n\n<!--section=changelog-->\n<p>= 4.1.0\n* New: Likes &amp; Dislikes \u2014 let visitors like or dislike posts with configurable voter permissions, post type targeting, and visible vote counts\n* New: Review Photos \u2014 reviewers can now attach images to their comments; photos are stored in a dedicated directory (wp-content\/uploads\/sr-reviews\/) completely separate from the WordPress Media Library to keep it uncluttered\n* New: Per-photo lightbox \u2014 clicking a review photo opens a full-size lightbox gallery navigatable per review; photo paths are not exposed in the browser status bar\n* New: Admin photo management \u2014 uploaded review photos are visible in the comment edit screen with individual delete buttons\n* New: Labels &amp; Messages \u2014 all user-facing strings (rating prompts, alert text, button labels, likes\/dislikes copy) are now fully customisable from the settings page without touching code\n* New: Settings tab navigation \u2014 settings are now organised into three focused tabs (Stars &amp; Reviews, Likes &amp; Dislikes, Labels &amp; Messages) for easier navigation; active tab is remembered across page visits\n* Improved: General code structure improvements and refactoring\n* Updated: Translation files updated for multilingual support\n* WordPress 6.9.4 compatibility confirmed<\/p>\n\n<p>= 4.0.7\n* WordPress 6.9 compatibility confirmed\n* Updated minimum WP requirement to 6.0\n* Updated minimum PHP requirement to 8.3 (recommended by WordPress.org)\n* Updated translation files for multilingual support\n* General code improvements<\/p>\n\n<p>= 4.0.6\n* Fixed average rating display logic based on enabled\/disabled custom post types (CPTs)\n* Resolved issue with rating display on individual comments\n* Improved performance and optimized query handling\n* Refactored large portions of the codebase for better readability and maintainability\n* Updated translation (.pot) file for improved localization support\n* Tested compatibility with WordPress 6.8.1<\/p>\n\n<p>= 4.0.5\n* Updated language file\n* Tested plugin with WordPress 6.7.1<\/p>\n\n<p>= 4.0.4\n* Added average rating text show\/hide support to shortcode\n* Added empty average rating show\/hide support to shortcode\n* Added independent settings page of the plugin\n* Removed settings from \"Dashboard &gt; Settings &gt; Discussions\" page\n* Updated language file\n* Tested plugin with WordPress 6.6.1<\/p>\n\n<p>= 4.0.3\n* Fixed a PHP warning on comments template\n* Displayed average rating only if comments are open\n* Displayed empty stars for average rating if no rating found\n* Improved code for average rating to work with posts\/pages\/CPTs list\n* Updated language file\n* Tested plugin with WordPress 6.5.3<\/p>\n\n<p>= 4.0.2\n* Fixed a PHP version specific fatal error on (backend) comments page\n* Tested plugin with WordPress 6.4.3<\/p>\n\n<p>= 4.0.1\n* Added \"Negative Rating Alert\" system to foster positive feedback\n* Improved \"Google Review Schema\" display upon reviews availability\n* Updated language POT file\n* Tested plugin with WordPress 6.4.2<\/p>\n\n<p>= 4.0.0\n* Improved plugin resources management\n* Improved comments enable\/disable compatability\n* Improved plugin settings area styles\n* Improved whole plugin code WRT the advance practices\n* Added comments stars rating column to the comments page (dashboard)\n* Updated language file\n* Tested plugin with WordPress 6.4.1<\/p>\n\n<p>= 3.5.5\n* Updated language file.\n* Tested plugin with WordPress 6.2<\/p>\n\n<p>= 3.5.4\n* Added average rating fallback when there is no review\n* Improved average rating display markup for better control\n* Updated language file.\n* Tested plugin with WordPress 6.0.3<\/p>\n\n<p>= 3.5.3\n* Tested plugin with WordPress 5.9.1<\/p>\n\n<p>= 3.5.2\n* Minor sanitization functions update.<\/p>\n\n<p>= 3.5.1\n* Improved plugin from security point of view.\n* Tested plugin with WordPress 5.8.2<\/p>\n\n<p>= 3.5.0\n* Tested plugin with WordPress 5.7.1<\/p>\n\n<p>= 3.4.0\n* Added translation missing strings to the translation.<\/p>\n\n<p>= 3.3.0\n* Tested with WordPress 5.4.1<\/p>\n\n<p>= 3.2.0\n* Added custom reviews type support for Google search results.<\/p>\n\n<p>= 3.1.0\n* Added latest Gutenberg editor support.\n* Allowed reviews reply without rating.<\/p>\n\n<h4>3.0.0<\/h4>\n\n<ul>\n<li>Added an option to choose from two different rating stars style.<\/li>\n<li>Added an option to display stars rating in Google search results.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Tested plugin with WordPress 5.1.1 and PHP 7.3.3<\/li>\n<li>Added an option to require rating selection<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Fixed styling issue<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Tested with WordPress 5.0<\/li>\n<li>Fixed the default rating value<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Added show\/hide support for average rating above comments section<\/li>\n<li>Added \"[stars_rating_avg]\" shortcode support to display average rating in the post\/page content area or loop<\/li>\n<li>Set the rating option in the comment form to 5 stars by default<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Tested plugin up to WP V4.9.8<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"A complete review plugin \u2014 star ratings, photo uploads, likes &amp; dislikes, and Google rich snippets, all from one place.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/54174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=54174"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/fahidjavid"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=54174"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=54174"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=54174"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=54174"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=54174"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=54174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}