Title: Aggregate Rating Schema Generator for Blogs
Author: Najmus
Published: <strong>2024 年 10 月 8 日</strong>
Last modified: 2025 年 3 月 28 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/aggregate-rating-schema-generator-for-blogs/assets/icon-256x256.
png?rev=3164811)

# Aggregate Rating Schema Generator for Blogs

 作者：[Najmus](https://profiles.wordpress.org/najmus2020/)

[下载](https://downloads.wordpress.org/plugin/aggregate-rating-schema-generator-for-blogs.1.9.9.zip)

 * [详情](https://cn.wordpress.org/plugins/aggregate-rating-schema-generator-for-blogs/#description)
 * [评价](https://cn.wordpress.org/plugins/aggregate-rating-schema-generator-for-blogs/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/aggregate-rating-schema-generator-for-blogs/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/aggregate-rating-schema-generator-for-blogs/#developers)

 [支持](https://wordpress.org/support/plugin/aggregate-rating-schema-generator-for-blogs/)

## 描述

**Aggregate Rating Schema Generator for Blogs** enhances your WordPress blog posts
and pages by allowing users to submit star ratings. It automatically generates Schema.
org markup for aggregate ratings, improving your site’s SEO and increasing user 
engagement.

**Key Features:**

 * **User Star Ratings:** Allow visitors to rate your posts and pages with a 5-star
   rating system.
 * **Aggregate Ratings Schema Markup:** Automatically adds Schema.org `AggregateRating`
   markup to your content, helping search engines display rich snippets.
 * **Fully Customizable Appearance:** Control star colors, sizes, spacing, and alignment
   to match your site’s design.
 * **Shortcode Support:** Place ratings anywhere in your content with the `[strpgn_rating]`
   shortcode.
 * **Flexible Placement:** Choose whether to display ratings automatically, via 
   shortcode, or both.
 * **AJAX-Powered:** Ratings are submitted asynchronously without reloading the 
   page.
 * **Caching for Performance:** Implements caching to reduce database queries and
   improve performance.
 * **Confetti Animation:** Delight users with a confetti animation upon successful
   rating submission.

**Benefits:**

 * **Improve SEO:** Enhanced search results with star ratings can increase click-
   through rates.
 * **Increase Engagement:** Encourage user interaction by allowing visitors to rate
   your content.
 * **Easy to Use:** Simple setup with minimal configuration required.

### License

This plugin is released under the GPLv2 (or later) license. See [License URI](http://www.gnu.org/licenses/gpl-2.0.html)
for details.

### Credits

Developed by [Najmus Sayadat](https://infoverse.org.in).

### Additional Notes

For support or inquiries, please visit the [support forum](https://wordpress.org/support/plugin/aggregate-rating-schema-generator-for-blogs/)
or contact the plugin author.

## 屏幕截图

[⌊Star Rating Display: Front-end view of the star rating system on a blog post.⌉⌊
Star Rating Display: Front-end view of the star rating system on a blog post.⌉[

**Star Rating Display:** Front-end view of the star rating system on a blog post.

[⌊Aggregate Rating Schema Markup: Example of how the Schema markup appears in the
page source.⌉⌊Aggregate Rating Schema Markup: Example of how the Schema markup appears
in the page source.⌉[

**Aggregate Rating Schema Markup:** Example of how the Schema markup appears in 
the page source.

[⌊Settings Page: Comprehensive plugin settings for appearance customization.⌉⌊Settings
Page: Comprehensive plugin settings for appearance customization.⌉[

**Settings Page:** Comprehensive plugin settings for appearance customization.

[⌊Shortcode Usage: Example of rating display using the shortcode.⌉⌊Shortcode Usage:
Example of rating display using the shortcode.⌉[

**Shortcode Usage:** Example of rating display using the shortcode.

[[

[[

[[

## 安装

 1. **Upload Plugin Files:**
 2.  * Upload the plugin files to the `/wp-content/plugins/aggregate-rating-schema-
       generator-for-blogs/` directory, or install the plugin through the WordPress
       plugins screen directly.
 3. **Activate the Plugin:**
 4.  * Activate the plugin through the ‘Plugins’ screen in WordPress.
 5. **Configure Settings (Optional):**
 6.  * Navigate to **Settings > Star Rating** to configure where the ratings should
       appear and customize their appearance.

## 常见问题

### How do I display the star ratings on my posts or pages?

The plugin automatically adds the star ratings to your posts and/or pages based 
on your settings. By default, it appears on all posts. You can change this in the
plugin settings.

You can also use the shortcode `[strpgn_rating]` to place ratings anywhere in your
content.

### Can I customize the look of the star ratings?

Yes! The plugin provides extensive customization options in the settings page, including:

 * Star colors (empty, filled, and hover states)
 * Star size
 * Font sizes for average rating and text
 * Spacing and alignment options for all elements
 * Container alignment (left, center, right)

These settings let you easily match the ratings to your theme without writing custom
CSS.

### How do I prevent duplicate ratings when using the shortcode?

If you want to place ratings in a specific location using the shortcode but don’t
want the automatic display at the bottom, use: `[strpgn_rating hide_auto=true]`

### Does the plugin support translation?

Yes, the plugin is ready for translation. You can translate it into your language
using standard WordPress translation methods.

### How does the plugin prevent duplicate ratings from the same user?

The plugin uses the user’s IP address to prevent multiple ratings from the same 
user on the same post.

### Is the plugin GDPR compliant?

While the plugin collects the user’s IP address to prevent duplicate ratings, it
does not store any personal identifiable information beyond that. Please inform 
your users as per GDPR requirements if necessary.

## 评价

![](https://secure.gravatar.com/avatar/9fbe829bef56fd047d40f562d7c9736231bcb7d94c269f78bb4f366826bd9bbc?
s=60&d=retro&r=g)

### 󠀁[Super easy to use and works flawlessly!](https://wordpress.org/support/topic/super-easy-to-use-and-works-flawlessly/)󠁿

 [Ecozaar](https://profiles.wordpress.org/ecozaar/) 2025 年 4 月 2 日

The star rating system looks great, and the automatic schema markup helped my posts
show rich snippets in search results. Highly recommended for bloggers looking to
boost SEO and engagement!

![](https://secure.gravatar.com/avatar/3388b8884b7e74d37754d2af35128965d9d312401b0be9a7ff4a0c9c8aa565ed?
s=60&d=retro&r=g)

### 󠀁[simple effective and powerful](https://wordpress.org/support/topic/simple-effective-and-powerful-5/)󠁿

 [mmagency](https://profiles.wordpress.org/mmagency/) 2024 年 10 月 13 日

I instaled this plugin a few weeks ago, and I’m already seeing results! The user
rating system is super simple to set up and gives my readers a voice, which keeps
them coming back for more. The added bonus of automactic schema markup has optimized
my content beautifuly for search engines. Highly recommend it!

![](https://secure.gravatar.com/avatar/933f7375225d537ae431d2e3bd4b548ebd8ab3fbe5f502f25b4954efbc335883?
s=60&d=retro&r=g)

### 󠀁[Makes SEO for blogging easier](https://wordpress.org/support/topic/makes-seo-for-blogging-easier/)󠁿

 [witty369](https://profiles.wordpress.org/witty369/) 2024 年 10 月 11 日

Easy to use, good for optimizing Schema markup with aggregator ratings….

 [ 阅读所有4条评价 ](https://wordpress.org/support/plugin/aggregate-rating-schema-generator-for-blogs/reviews/)

## 贡献者及开发者

「Aggregate Rating Schema Generator for Blogs」是开源软件。 以下人员对此插件做出
了贡献。

贡献者

 *   [ Najmus ](https://profiles.wordpress.org/najmus2020/)

[帮助将「Aggregate Rating Schema Generator for Blogs」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/aggregate-rating-schema-generator-for-blogs)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/aggregate-rating-schema-generator-for-blogs/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/aggregate-rating-schema-generator-for-blogs/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/aggregate-rating-schema-generator-for-blogs/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/aggregate-rating-schema-generator-for-blogs/)。

## 更新日志

#### 1.9.9

 * Added comprehensive appearance customization options in settings.
 * Added shortcode support with `[strpgn_rating]` for custom placement.
 * Added `hide_auto=true` parameter to prevent duplicate ratings.
 * Added reset to defaults option in settings.
 * Added support for negative margins for more flexible layouts.
 * Enhanced admin interface with live preview of changes.
 * Added support buttons for reviews and donations.
 * Improved responsive design and default styling.

#### 1.9.3

 * Improved security and code quality.
 * Updated function prefixes to meet WordPress guidelines.
 * Implemented caching for better performance.
 * Added validation and sanitization for user inputs.
 * Prepared plugin for translation (internationalization).

#### 1.9.1

 * Initial release.

## 额外信息

 *  版本 **1.9.9**
 *  最后更新：**2 年前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.6.11**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/aggregate-rating-schema-generator-for-blogs/)
 * 标签
 * [aggregate rating](https://cn.wordpress.org/plugins/tags/aggregate-rating/)[schema markup](https://cn.wordpress.org/plugins/tags/schema-markup/)
   [star ratings](https://cn.wordpress.org/plugins/tags/star-ratings/)
 *  [高级视图](https://cn.wordpress.org/plugins/aggregate-rating-schema-generator-for-blogs/advanced/)

## 评级

 4.7 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/aggregate-rating-schema-generator-for-blogs/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/aggregate-rating-schema-generator-for-blogs/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/aggregate-rating-schema-generator-for-blogs/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/aggregate-rating-schema-generator-for-blogs/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/aggregate-rating-schema-generator-for-blogs/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/aggregate-rating-schema-generator-for-blogs/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/aggregate-rating-schema-generator-for-blogs/reviews/)

## 贡献者

 *   [ Najmus ](https://profiles.wordpress.org/najmus2020/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/aggregate-rating-schema-generator-for-blogs/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.buymeacoffee.com/7yborg)