這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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