Linux 软件免费装
Banner图

Grades Reviews

开发者 gradescom
更新时间 2026年12月2日 04:57
PHP版本: 7.4 及以上
WordPress版本: 7.2
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce reviews testimonials ratings review requests

下载

1.13.0 1.15.1 1.15.2 1.9.6

详情介绍:

Show what your customers say about you on your own website, in your site's colors and fonts, and let it stay up to date by itself. Grades Reviews brings the reviews and rating of your business on Grades.com to any page of your WordPress site. Under the review widgets, the rating line and its style are yours on every Grades.com plan; on Starter and Pro the Grades.com mark and its link stay, and your own link, no link or no mark come with Premium. You need a Grades.com account and a publishable key (gk_pub_...), created in the Grades dashboard under your location's keys. How it works Grades Reviews reads the public reviews API of Grades.com and prints your customer reviews in your own theme's design. For the reviews, rating and showcase shortcodes everything happens on your server: the plugin fetches the reviews, caches them, and writes plain HTML, with no JavaScript, no iframe and no request from your visitors' browsers. Only the optional review widgets ([grades_widget]) load from Grades.com in the visitor's browser (see External services). WooCommerce review requests (1.6.0) With WooCommerce active, WooCommerce > Grades.com reviews sends your Grades.com review request to the customer after an order is completed. Off until you switch it on. Shortcode: reviews [grades_reviews limit="6" min_rating="4" sources="google,yelp" sort="best" layout="grid" show_source="1" show_date="1"] Shortcode: rating [grades_rating] or [grades_rating sources="google" stars="0"] or [grades_rating locations="all"] Several locations on one site (1.11.0) Create ONE publishable key on your headquarters (HQ) business at my.grades.com and paste it in Settings > Grades Reviews. Then: Without locations, [grades_reviews], [grades_rating], [grades_showcase] and the JSON-LD show the key's own business (as before 1.11.0), while a widget on an HQ key shows all locations by default (as on Grades.com). If Grades.com refuses a value (a location that is not yours), administrators see a short note with the reason where the reviews would be; visitors see nothing. Movement and layouts (1.15.0) On [grades_widget], the "Grades Review Widget" block and the Elementor widget: Under the widget (1.14.0) On [grades_widget] with a card layout (carousel, grid, list, masonry, spotlight, wall, video, tab), the "Grades Review Widget" block and the Elementor widget ("Under the widget" section): Plans: the rating line and the style work on every plan. On Starter and Pro the Grades.com mark and its link always show; footer_link="custom", footer_link="none" and branding="off" come with Premium. [grades_showcase] and its block take footer_link and footer_link_url the same way. Example: [grades_widget preset="grid" min_rating="4" rating_position="above" footer_link="custom" footer_link_url="https://example.com/reviews"]. Without these attributes everything looks as before. Your Grades.com plan decides which options take effect (an option outside the plan is simply ignored); visitors without JavaScript get the same link, or none. Theme override Create grades-reviews/review.php in your theme. It receives $review (author, rating, site (the review platform: google, yelp, facebook...), source (the same), source_label, text, excerpt, truncated, date, url, response_text, response_date; all text is plain, escape it when printing) and $args.

安装:

  1. Upload the grades-reviews folder to /wp-content/plugins/, or upload the zip under Plugins > Add New > Upload Plugin.
  2. Activate the plugin.
  3. Go to Settings > Grades Reviews, paste your publishable key and save. The page shows "Connected to ..." when the key works.
  4. Add [grades_reviews] to a page, or add the "Grades Reviews" widget to a sidebar.
  5. Optional, with WooCommerce: open WooCommerce > Grades.com reviews, paste a secret key, pick the business, press Test connection, then switch on review requests.

屏幕截图:

  • The Grades.com Reviews widget in the editor: pick a layout and its options, and see the result as you edit.
  • `[grades_rating]` prints your rating as plain HTML from your server, with no script.
  • WooCommerce: a Grades.com review request after a completed order (unless it was refunded, the customer opted out or was asked recently), with a note on the order and a log of recent events.
  • Several locations, one key: the true combined rating, and each review named with its office.

升级注意事项:

1.15.2 WordPress 7.2 support: keeps the Elementor widget's no-JavaScript link and markup intact. 1.15.1 Listing: new description and screenshots; no functional change. 1.15.0 Modern arrows beside the cards (or a stream, a row under the cards, or none), autoplay only when you ask, the testimonial layout and a side-tab drawer. 1.14.0 Choose what sits under a widget: the rating line above, below or off, your own link or none, a bar or one line of text, and the Grades.com mark (within your plan). 1.13.0 A widget can hide itself while too few reviews qualify (min_cards). 1.12.0 A saved widget placed by its id alone shows exactly as saved (layout, minimum rating, count, locations, look). 1.10.0 Widgets reserve their height before they load (no page jump), can hide themselves when there is nothing to show, and give visitors without JavaScript a link to your reviews. 1.11.0 One key for all your locations (locations), clearer notes for admins, tidier JSON-LD, and review cards that keep their size in any theme. 1.9.6 Widgets can show only reviews with a reviewer photo, and cards can take the Grades.com gradient border. 1.9.5 Review cards can hide the reviewer picture or show reviewer photos. 1.9.4 Yelp reviews a business chose to show are quoted word for word. 1.9.3 Output escaping and sanitizing hardened; the missing-key notice no longer shows on the Dashboard. 1.9.2 WooCommerce review requests: plan texts corrected (every paid plan, Starter up to 50 a month). 1.9.1 Elementor panel: only the new "Grades.com Reviews" widget is listed; the classic sidebar widget keeps working elsewhere. 1.9.0 The newer widget options (AI summary, visitor controls, sort, font, corner radius, card style, star color, translation, saved widgets) in the shortcode, the block and the Elementor widget. 1.8.0 A native Elementor widget, "Grades.com Reviews", with a live preview in the Elementor editor. 1.7.0 A review button widget, your replies under reviews, an automatic light/dark theme, and widgets that show every rating by default. 1.6.2 Pages no longer slow down when Grades.com cannot be reached (visitors keep the last reviews); the widget block shows in the editor; plain names for the block settings. 1.6.1 WooCommerce shows whether Grades.com really emails your review requests (paused campaign or paused requests), Yelp reviews no longer appear as empty "Anonymous" cards, and small display fixes. 1.6.0 Adds WooCommerce review requests (off until you switch them on). 1.3.0 Adds nine widget layouts, floating widgets and Spanish. 1.2.0 Adds the review widgets: rating strip, carousel and grid. 1.1.0 Adds Review Showcase: reviews picked by rules, linked to all your reviews. 1.0.1 Small fixes found in a manual test on WordPress 7.1. 1.0.0 First release.

常见问题:

My site has a strict Content-Security-Policy and the widgets do not show

Allow Grades.com for scripts and frames: script-src 'self' https://app.grades.com; frame-src https://app.grades.com (with iframe="1" only frame-src is needed). The widget brings its own styles and fonts inside its frame. The reviews, rating and showcase shortcodes are plain HTML from your server and need style-src 'unsafe-inline', as WordPress itself does.

Which customers get a WooCommerce review request?

Every customer whose order reaches the status you chose, unless the order was refunded, canceled or failed by the time the request is due, the customer opted out, your store's consent field says no, or the customer was asked within the cooldown. Nothing depends on what they bought, what they paid or what they might think of you.

Does Action Scheduler need WP-Cron?

Action Scheduler runs on WP-Cron and on admin page loads. On a store with little traffic, a real cron job calling wp-cron.php makes the requests go out on time.

Can I test the WooCommerce connection?

Yes: Test connection on WooCommerce > Grades.com reviews calls the Grades.com API with your key and shows the user, the business and whether review requests can be sent (plan, postal address, paused).

Is my key visible on the site?

No. The plugin sends it in an X-Grades-Key request header from your server and never prints it. A publishable key can only read your visible reviews anyway.

How often are reviews refreshed?

Every 10 minutes by default (Settings > Grades Reviews > Cache time). "Clear cached reviews" forces a refresh. The Grades API itself updates when your review sources sync.

Nothing shows up.

Visitors see nothing when the key is missing or the API is unreachable; administrators see a notice, and the page source contains an HTML comment such as <!-- grades-reviews: unavailable (http_401) -->. http_401 and http_403 mean a wrong or revoked key, http_429 means rate limiting, request_failed means your server could not reach the API.

Can the widget hide my section heading when there are no reviews yet?

Yes. Add hide_if_empty=".your-section" to [grades_widget]: when Grades.com reports that the widget has nothing to show, the plugin hides the closest element with that selector (or only the widget with hide_if_empty="1"). With CSS only: .your-section:has([data-grades-state=empty]){display:none}.

Does the block appear in the editor?

The block is server-rendered and ships without editor JavaScript. On WordPress versions that support PHP-only blocks it appears in the inserter. On older versions use the core "Shortcode" block with [grades_reviews]; the block still renders if it is already in your content or templates.

What structured data does the plugin print?

Only when you switch it on (Settings > Grades Reviews > Structured data; off by default): one JSON-LD block with your business name, your site's URL and an aggregateRating (the rating and the number of ratings). Never a Review item, never review text and never a reviewer's name, for any business. The figures are the true totals of exactly the business named: the key's business, or with "Locations" exactly those locations combined, so name the business (or set the @id of your SEO plugin's entity) that matches. For a healthcare business the same rule applies and the settings screen says so: rating and count only, no review content; leave the box unchecked to print nothing at all.

Will Google show stars in search for my own reviews?

Google decides that. Its guidelines treat reviews a business collects about itself as self-serving, and it often ignores them for LocalBusiness and Organization markup. The JSON-LD is valid and harmless, but do not expect rich result stars.

Can I turn the JSON-LD off?

Yes, it is off by default. Leave it off if your SEO plugin already outputs a rating for the same business.

更新日志:

1.15.2 1.15.1 1.15.0 1.14.0 1.13.0 1.12.1 1.12.0 1.11.0 1.10.0 1.9.6 1.9.5 1.9.4 1.9.3 1.9.2 1.9.1 1.9.0 1.8.0 1.7.0 1.6.2 1.6.1 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.1 1.0.0