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

Plugin Reviews

描述

Updated! Plugin Reviews is finally updated and working with the latest versions of WP, PHP, etc. It’s now maintained by Starfish WP Plugins. So use it confidently, and look for new features in the future.

A tiny plugin to help you showcase your WordPress.org reviews on your site. It offers two different layouts: grid and carousel.

Simply provide your plugin’s slug (on WordPress.org) and the plugin will fetch the reviews, and display them. For instance, if you want to get the reviews for this plugin, the slug is plugin-reviews.

By default, all reviews from WordPress.org are cached for 24 hours.

Demo

You can see it working here on the Starfish Plugin Reviews page. We use the Carousel Layout.

Roadmap

We’re pretty busy, so feel free to contribute if you like the plugin 🙂

No promises, but things we’d like to add include:

  • Make carousel options available from within the shortcode (items to show, items to scroll, duration, etc.)
  • Make it work with AJAX to avoid long page load (for the first call to the API)
  • Add styling options for grid?
  • Add styling options for carousel?
  • Add a way to disable style completely
  • Add a way to change the prefix from wr- to whatever (applies to every elements)
  • Loading carousel styles & scripts only if chosen layout is carousel
  • Register modules for popular pagebuilders like Divi, Beaver Builder, Visual Composer, etc
  • Add Gutenblocks compatibility (whenever Gutenberg is ready for that)

We’re busy, so feel free to contribute!

Contributing Guidelines

  • Head over to our Github Repo
  • Pull requests are encouraged
  • Submit issues if you find any
  • Spread the word on Twitter & Facebook 🙂

屏幕截图

  • Plugin Reviews, Grid Layout
  • Plugin Reviews, Carousel Layout
  • Plugin Reviews, Responsivness

安装

Go to Plugins>Add New and search “Plugin Reviews”. Click “Install Now” then “Activate” on this plugin (by “Starfish Plugins”).

There is no settings page. Use the shortcode:

[wr_reviews plugin_slug="plugin-slug-here"]

Change “plugin-slug-here” to the slug of the plugin you want to display the reviews for. The shortcode can be used anywhere on your site, and even on multiple pages/posts. There are a number of shortcode parameters you can also use, listed here.

评价

2020 年 3 月 1 日
This plugin is perfect. I'm using it on one of my sites and it works without problems. Maybe you should update your readme.txt file and declare that it's still compatible with the last WordPress version.
2016 年 9 月 3 日
I looked into creating this same functionality earlier this year and ran into the wall of realization: "Oh! This is going to take some creative DOM scraping" ... and then left it at that. You went the extra mile and made it happen with style! Nice work, a great benefit to plugin developers.
阅读所有5条评价

贡献者及开发者

“Plugin Reviews” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Plugin Reviews”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.4.0 – December 22nd, 2017

  • Enhancements

    • Add transient flush on activation – thanks Chris Simmons!
    • Updated description, installation instructions, etc.
    • New header and icon images.
    • New screenshot desmonstrating responsiveness.
  • Fixes

    • Fix issue with ratings not loading due to changes in the plugin repo format that broke the filters – thanks Chris Simmons!
    • Fix issue with truncate parameter not working as expected.
    • Fix issue with languages other than English inside reviews displaying incorrectly.

0.3.0 – September 4th, 2015

  • New

    • Add shortcode attribute no_query_string to remove all query strings
    • Add shortcode attribute exclude to exclude reviewers
    • Add lazy load for Gravatar images
    • Change Gravatar default size to 80
    • French translation
  • Enhancements

    • Remove image size query string if default Gravatar size is used
    • Bigger and more accessible prev/next buttons on small devices
  • Fixes

    • Fix issue with sites installed in sub-directories
    • Fix duplicated reviews if shortcode used more than once in the same page

0.2.0

  • Refactor the plugin to use the WordPress.org API

0.1.0

  • First release