Rate my Post – WP Rating System

Description

Rate my Post – WP Rating System allows you to easily add rating functionality to your WordPress website. Visitors can rate your posts/pages and send you private feedback after rating. Functionality to create custom rating widgets that work independently of posts and pages is available in the PRO version.

与其他WordPress评级插件相比,“Rate my Post”的独特之处在于它的简单性,性能以及对参与度的影响。 它可以与任何页面缓存插件一起使用,并且可能是最可定制的免费WordPress评级插件。

Highlights

  • Lightweight, responsive and free
  • Add rating functionality to your website automatically or use shortcodes – no coding required!
  • Option to show ratings visually before the content of each post (so-called results widget)
  • Stats section where you can see how many votes each post/page received and what is its average rating.
  • Analytics section with detailed information about each rating such as time, IP (optionally), username, title, time spent on page before rating etc.
  • Easily change ratings in the admin panel
  • Supports structured data for rich snippets according to the latest Google guidelines
  • GDPR compliant
  • Top rated posts widget
  • Custom templates for complete customization
  • Works with infinite scroll plugins and popups (implementation requred)

Developers

While the plugin does not require any coding, it is perfect for developers as well because it comes with neat hooks and is based on the WordPress Plugin boilerplate for a standardized, organized and object-oriented codebase. Since version 3, Webpack is used as a module bundler and Gulp as a task runner.

See:

Shortcodes

[ratemypost]-嵌入评分小工具

[ratemypost-result]-嵌入结果小工具

It is also possible to embed a rating of whichever post by passing the id of the post to the shortcode.

[ratemypost id=”1″] – 嵌入ID为1的文章的评分小工具

[ratemypost-result id=”1″] – 为ID为1的文章嵌入结果小工具

PRO Version

Rate my Post PRO comes with advanced schema selector which allows you to select schema type directly in the post editor for each post and supports custom rating widgets. Read more about Rate my Post PRO.

Components

The plugin includes five components; rating widget, results widget, social widget, feedback widget and top rated posts widget.

评分小工具功能:

Rating widget adds the basic rating functionality to your website

  1. 在不同类型的评分小工具之间进行选择:星,拇指,心形,笑脸和奖杯

  2. 使用简码将评分小工具添加到任何页面/文章: [ratemypost]

  3. Add rating widget to all posts or pages with one click in the settings

  4. Option to automatically include rating widget to custom post types

  5. Exclude rating widget from certain pages and posts – such as About Us page etc.

  6. All texts and colors can be easily changed in the settings

  7. Option to add structured data for Rich Snippets to be displayed in search engines

  8. Option to get email when a post is rated

  9. Option to prevent accidental votes

  10. Prevent double votes with cookies

  11. Option to hide average rating and vote count

  12. Option to show descriptive ratings while a user hovers over rating icons

  13. Google Analytics integration

  14. Option to enable reCAPTCHA v3 protection

  15. Option to show results (visual rating) on archive pages

  16. Option to allow only logged in users to vote

  17. Option to prevent double votes via IP addresses

Results Widget Features:

Results widget is similar to the rating widget, but is not interactive – it only displays rating visually.

  1. Optional feature – you can enable it or disable it

  2. Add results widget to any page/post with shortcode: [ratemypost-result]

  3. Add results widget to all posts or pages with one click in the settings

  4. Option to automatically include results widget to custom post types

反馈小工具功能:

Feedback widget enables visitors to leave you anonymous feedback

  1. Optional feature – you can enable it or disable it

  2. After a negative rating (you define what is a negative rating in the settings), displays the feedback widget

  3. Users who give you negative rating can help you improve your post

  4. Feedback is not posted publicly – only you can see it

  5. Option to get an email if somebody leaves you feedback

社交小工具功能:

Social widget displays social follow or social share links after the rating has been submitted

  1. Optional feature – you can enable it or disable it

  2. Shows social follow/share links after a positive rating (you define what is a positive rating in the settings)

最受好评的文章小工具:

Displays top rated posts on your website

  1. Optional feature – you can enable it under Appearance – Widgets

  2. Select how many posts to show

  3. Select minimum average rating required

  4. Select minimum vote count required

  5. Option to show featured image

  6. Option to show visual rating

为什么要使用“Rate my Post”?

  1. 增加参与度

  2. Get feedback and improve your content

  3. 在社交媒体上获得更多关注者

  4. 响应迅速,轻巧且易于使用

  5. 它可能是最可定制的免费的WordPress评级插件

  6. 它使用AJAX,因此工作速度超快

  7. 与缓存插件兼容

  8. 它支持丰富的摘要的结构化数据

  9. 它适用于多语言网站

  10. AMP compatibility

  11. reCAPTCHA v3 protection

  12. 迁移工具-轻松从kk Star Ratings,YASR或WP-PostRatings迁移

翻译:

Please help translate the plugin to your language here. The plugin also comes with POT file if you prefer using software such as Poedit.

  1. 感谢伟大的德语社区翻译德语,查看贡献者

  2. 感谢Douglas douglasferraz89翻译葡萄牙语(巴西)

  3. 感谢Mario marbaque来翻译西班牙语(哥斯达黎加)

  4. 感谢Javier Esteban nobnob翻译西班牙语 (Spain)

  5. 感谢lufffy进行中文(中国)翻译

  6. 感谢Mikhail Alferov malferov进行俄语翻译

屏幕截图

  • Ratings in posts/pages
  • After vote, if feedback is enabled
  • After vote, if social is enabled
  • 插件设置
  • Plugin Customization
  • Plugin Stats
  • Manipulate Votes

Installation

From the Dashboard (Recommended):
1. Navigate to Dashboard -> Plugins -> Add New
2. Search for Rate my Post
3. Click Install
4. Click Activate
5. Click Rate my Post -> Settings in the main menu and configure the plugin
6. Add shortcode [ratemypost] to your posts or embed rating widgets automatically in the Settings

Manual Installation:
1. Unzip downloaded archive and upload rate-my-post folder under your /wp-content/plugins/ directory
2. Navigate to Dashboard -> Plugins
3. Click Activate
4. Click Rate my Post -> Settings in the main menu and configure the plugin
5. Add shortcode [ratemypost] to your posts or embed rating widgets automatically in the Settings

常见问题

Support?

For support use the support forum, but please do read the guidelines and documentation before posting.

Does it work with caching plugins?

Rate my Post works with all caching plugins. If you are using caching plugin other than WP Super Cache, LiteSpeed Cache, WP Fastest Cache, WP Rocket or SG Optimizer, you should enable AJAX load results in the advanced settings.

What can be rated?

The plugin allows visitors to rate posts, pages and custom post types. It is not possible to rate archives (categories etc.) as the ratings are stored in the post meta. Nevertheless, custom rating widgets are coming soon.

The rating widget is displayed multiple times

This typically happens with various “page builder” themes. In such cases it’s best to include the rating widget with the shortcode [ratemypost] instead of using the automatic option. If that’s too much work, you can add it directly to the template of your theme. See the procedure in the documentation under Troubleshooting -> The “Add rating widget to all posts” feature is not working.

Can I have more than one rating widget on a single web page?

Yes, it’s possible to have multiple rating widgets on a single web page (posts, pages etc.). Nevertheless, this feature only works if ajax load results is disabled.

Where do I find the documentation

该文档可在此处获得。

The vote count and average rating are not correct on page load

Such issues typically appear due to caching. If you are encountering such issues enable Ajax load results in the advanced settings.

更新后插件停止工作

If you encounter problems with the plugin after the update, first clear the cache (page cache, minify cache, CDN cache such as CloudFlare etc.). Then open an incognito window and see if the problem has been solved. In case it hasn’t don’t hesitate to contact me via the support forum.

我无法保存设置

如果您在保存设置时遇到问题,请清除浏览器缓存。 此类问题通常在更新后出现,因为浏览器仍在从缓存中获取旧文件。

它适用于多语言网站吗?

Yes, the plugin is fully compatible with multilingual websites. If you are using the plugin on a multilingual website enable Multilingual website compatibility mode in the advanced settings and then translate strings through your plugin for translations.

如果我的网站使用英语以外的语言,我是否必须翻译插件?

Not necessarily because the plugin allows you to customize all frontend strings in the settings. However, backend strings can only be translated with translation files.

Does this plugin show rich snippets?

The plugin adds structured data for rich snippets, if you choose structured data type in the settings. Note that since September 2019 Google Shows aggregate rating rich snippets only for the following structured data types: Product, Book, Course, CreativeWorkSeason, CreativeWorkSeries, Episode, Game, LocalBusiness, MediaObject, Movie, MusicPlaylist, MusicRecording, Organization, Recipe, HowTo, SoftwareApplication and Event. The plugin supports all these structured data types except HowTo, SoftwareApplication and Event. SoftwareApplication and Event structured data types are available in the PRO version. HowTO is at the moment not supported.

Which structured data type should I choose?

You should choose structured data type that fits your blog posts. If your blog posts are recipes than choose Recipe; if they are courses select Course etc. In case your blog posts don’t fit any structured data type, then you are according to Google Guidelines not eligible for rich snippets. Learn more about this here. If you are in doubt about which structured data type to choose (if any) ask for advice on Google Help Community. They will provide you with better answers than I can.

Optional fields for rich snippets are missing

Optional fields are not required for rich snippets to show. Hence, the plugin in some structured data types (for example product) skips the optional fields. The PRO version of the plugin supports optional fields for all structured data types and provides search engines with a more complete information about pages on your website.

Rich snippets are not showing

If rich snippets are not showing check that the structured data is valid here. If it’s valid than search engines probably don’t trust your website enough to show rich snippets. You can fix that by producing high-quality content.

Where can I see the feedback?

You can see the feedback for each post in the post editor at the bottom (meta box). There you can also manipulate ratings and see to which rating the feedback belongs. You can find more info about the rating in the analytics section.

How to fix invalid WP token error?

The invalid WP token error (refers to WP nonce) appears if a page is cached for more than 24 hours because WordPress nonces are valid for 24 hours. If you get invalid nonce error after rating a post, decrease page cache expiry. Most caching plugins have page cache expiry set to less than 24 hours. Therefore, this problem typically occurs on websites that use multiple page caching solutions. If that’s the case on your website try disabling plugins until the error disappears, so you figure out what is causing the issue. You can read more about how to fix this problem here.

Reviews

2020年4月21日
Great plugin, I subscribed to the professional version! There are more work to be done to avoid some things, but it works perfectly! My opinion is that... after the vote, the first two lines of text should drop or write something else, it's a little confusing to write the same.
2020年4月13日
It is a prefect plugin, just if you can add an option to reset all ratings !! Many thanks for your efforts.
阅读所有的102评价

Contributors & Developers

“Rate my Post – WP Rating System” 是开源软件。 以下人员对此插件做出了贡献。

Contributors

“Rate my Post – WP Rating System” 已翻译成7 语言环境。 感谢译者的贡献。

将“Rate my Post – WP Rating System”翻译成您的语言。

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

更新日志

3.3.0

  • Improvement: AMP Compatibility mode is no longer BETA and comes with style
  • Improvement: Ratings on archive pages are no longer shown for excluded posts
  • Improvement: Ratings on archive pages have an additional class if post hasn’t been rated yet
  • Improvement: Added admin notices if additional configuration is required
  • Other small improvements

3.2.1

  • Removed several PRO version templates which were added in the latest release (not used by the free version)
  • Updated migration tools – it now works with the latest release of YASR
  • TTF font is no longer used
  • Fixed compatibility with Messenger Customer Chat by Facebook plugin

3.2.0

  • Bug Fix: Some rating widget strings could not be translated in the multilingual compatibility mode
  • New feature: Added option to re-init rating widgets for compatibility with infinite scroll plugins, popups etc.
  • New feature: Danger Zone allows deleting all plugin data except the settings
  • Improvement: Social media links now have rel=”nofollow noreferrer noopener” attribute
  • Improvement: Added a filter to top rated posts query – it is now possible to only display top rated posts within a category
  • Improvement: RTL compatibility
  • Improvement: Better handling of feedback tokens
  • Updated NPM packages

3.1.0

  • Fixed issues with feedback token on some server configurations
  • Added double vote protection via user id (applies to logged in users but not admins)

3.0.0

  • 更新之前请先阅读!!!
  • Renamed to Rate my Post – WP Rating System
  • Code refactor, many parts have been rewritten
  • Shortcode accepts post id parameter
  • Average rating is now stored in post meta
  • Allows multiple rating/results widgets on a single web page
  • Possible to change max rating – for example to 10-star rating system
  • Allows overriding templates for complete customization
  • AMP Compatibility is now stable
  • New hooks
  • Better performance
  • Simplified settings
  • Some features have been discontinued (read above)

2.10.3

  • Bug fix: Post titles were not shown in the analytics section for websites with many posts
  • Added installation instructions

2.10.2

  • 该插件现在与Divi主题兼容

2.10.1

  • Improvement: Strings in emails are now internationalized
  • Bug fix: Custom results text feature didn’t work unless “ajax load results” was enabled
  • Bug fix: Fixed some warnings for older versions of PHP
  • Bug fix: Better compatibility with wpautop

2.10.0

  • Improvement: Ajax is no longer used on page load unless enabled in the advanced settings. You SHOULD ENABLE Ajax Load if you are using caching plugin OTHER THAN: WP Super Cache, LiteSpeed Cache, WP Fastest Cache, WP Rocket or SG Optimizer
  • Improvement: Prevent accidental votes now applies also to non-touch devices (see documentation to apply only to mobile)
  • Improvement: Filters for email subjects and texts
  • Improvement: Uses custom font for better performance (before FontAwesome was used)
  • Improvement: Modernizr is no longer used
  • Updated js-cookie library to version 2.2.1
  • Added link to the documentation in the about section

2.9.2

  • Fix: Included the supported structured data types for rich snippets
  • Fix: Some strings were not translatable
  • Improvement: Filter for email
  • Improvement: Hooks were added to AMP template
  • Improvement: Option to also show results on the front page or main blog page

2.9.1

  • Bug fix: Migration from KK star ratings did not work with KK star ratings version 3.x.x
  • Added LinkedIn social share icon

2.9.0

  • Bug fix: Archive pages stars appeared also in widgets and such
  • New feature: Option to prevent double votes via IP

2.8.1

  • Bug fix: Saving settings did not work on some installations
  • Bug fix: Don’t show rating/results widget on AMP pages unless AMP compatibility is enabled
  • Bug fix: Escape html for structured data
  • 更新了POT文件

2.8.0

  • New feature: Analytics submenu – see details about each vote
  • Improvement: Define minimum votes for the top rated posts widget
  • Improvement: Stats have been moved into submenu
  • Improvement: About plugin section
  • Other minor improvements and bug fixes

2.7.0

  • Improvement: Redesigned feedback functionality
  • New feature: Delete each feedback
  • New feature: Migration tools for YASR and WP-PostRatings
  • Other minor improvements and bug fixes

2.6.0

  • Bug Fix: Feedback widget not working with social share icons enabled
  • Developer feature: Hooks in social widget and feedback widget
  • Developer feature: Rating icon class filter
  • Developer feature: Function to output the stars for any post
  • Developer feature: Function to get top rated posts
  • Improvement: Queries use less memory
  • Improvement: Support for half stars on category pages
  • New feature: Option to align the rating widget
  • New feature: Trending posts widget

2.5.0

  • New feature: Option to show ratings on archive pages
  • New feature: Option to allow only logged in users to vote
  • New feature: Option to add social share links instead of social follow links
  • Bug Fix: Backslashes in texts
  • Functions for developers and new hooks
  • Improved code

2.4.0

  • New feature: Set who can manipulate votes
  • New feature: Option to enable reCAPTCHA v3 protection
  • New feature: Migration tool for kk StarRatings
  • Bug Fix: Do not revert ratings on post update
  • Bug fix: Rich snippet was added to AMP
  • Other minor bug fixes

2.3.0

  • New feature: AMP compatibility (BETA)
  • New feature: New types of rating widget (smileys and trophies)
  • New feature: Filters for strings in all widgets
  • Improvement: Enhanced security
  • Improvement: Prevent cache issues on save settings
  • Other minor improvements and bug fixes

2.2.1

  • Bug fix: Different handling of cookies as current implementation in rare cases (server configurations) caused errors in case that too many cookies were present in user’s browser
  • Bug fix: Modernizr library is optional as it conflicts with some themes
  • Other minor bug fixes

2.2.0

  • New feature: Automatically add rating and/or result widget to custom post types
  • New feature: Option to only count negative votes if feedback is left
  • New feature: Option to prevent accidental votes on mobile (button to confirm rating)
  • New feature: Event tracking via Matomo thanks to smik2002
  • Improvement: Feedback can be easily deleted by clicking a button in meta box
  • Improvement: Better compatibility with older browsers such as IE
  • New feature: Option to delete all plugin data on uninstall
  • Improvement: Added non-minified js and css for developers – not used by the plugin
  • User request: Add class to rating widget if cookie is present
  • 葡萄牙语(巴西)的翻译感谢douglasferraz89

2.1.3

  • Bug fix: iOS requires double tap if hover texts are enabled
  • Bug fix: Custom hover color does not disappear after the click if custom rated color is not inserted
  • User request: Append class to the main div after rating so that the whole widget can be easily hidden after vote
  • Improvement: Stars stay highlighted only until the response from server is sent back (if highlight the stars feature is enabled)
  • Improvement: Improved stats section – search and sorting
  • Minor bug fixes

2.1.2

  • 改进:投票数和电子邮件中文章的链接
  • Improvement: Option to not load FontAwesome
  • Improvement: Compatibility with FontAwesome autoreplace (icons to SVGs)
  • Improvement: Better compatibility with various themes
  • Improvement: Event tracking with Google Analytics (tested with GA Google Analytics, MonsterInsights and Google Analytics by ShareThis plugins)
  • Bug fix: On mobile hover-color of stars does not disappear after vote until user taps somewhere else
  • German translations thanks to Stefan (smik2002)

2.1.1

  • Fix: Added missing POT file for translations
  • Fix: Support for multilingual websites
  • Improvement: Custom thank you text is displayed after vote
  • Improvement: Interaction with the rating widget is not possible after vote
  • Improvement: Stars stay highlighted after vote (only if “color the stars in rating widget” option is disabled)
  • Improvement: Option to disable headings in rating widget
  • Improvement: Option to display descriptive rating under the stars on hover (tooltips have been discontinued)

2.1.0

  • Improvement: Rewritten frontend ajax
  • New feature: Recalculate vote count and average rating after vote (enabled by default, but can be disabled)
  • New feature: Set border color, border radius, border width, background color and stars spacing
  • New feature: Customizable vote count and average rating text
  • New feature: Supports half stars
  • Minor improvements

2.0.2

  • Minor improvements
  • Bug fix: On some websites the rating widget did not show

2.0.1

  • Bug fix: Plugin crashed on some server configurations

2.0.0

  • Rewritten in OOP for easier scalability
  • New feature: In addition to stars, supports thumbs and hearts
  • New feature: Change stars, thumbs or hearts size
  • New feature: Change stars, thumbs or hearts color
  • New feature: Option to not show the results in rating widget
  • New feature: Define what is negative and what is positive rating

1.1.6

  • Bug fix: Option to color the stars in rating widget works only if results widget is enabled

1.1.5

  • Option to color the stars in rating widget according to the post rating

1.1.4

  • Structured data for rich snippets
  • Results widget (shortcode or automatically before every post’s content)
  • Security improvements

1.1.3

  • Compatibility with custom post types

1.1.2

  • Does not allow to submit empty feedback
  • Custom notice if the feedback is empty
  • Allows you to reset ratings

1.1.1

  • Fixed “division by zero” warning

1.1.0

  • Customize section allows you to customize plugin to your liking (strings, font size, margin etc.)
  • Exclude from feature allows you to exclude ratings from certain pages and posts
  • Disable cookie feature
  • Supports Instagram, Twitter and Linkedin
  • Other minor improvements

1.0

  • 初始发行