Linux 软件免费装
Banner图

RIACO Reviews – Customer Reviews & Testimonials

开发者 prototipo88
更新时间 2026年7月6日 03:19
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

reviews testimonials star rating customer reviews review block

下载

1.2.2

详情介绍:

RIACO Reviews lets you manually collect, manage, and display customer reviews and testimonials anywhere on your WordPress site — no page builder required. Add the Reviews block in the Gutenberg editor and get a live preview instantly, or drop in the [riaco_reviews] shortcode on any page or widget area. Every review is a native WordPress post with its own star rating, author, avatar, review date, source platform, and product. Display options, layout, card style, and colours are all configurable directly from the block inspector panel — no CSS editing required. Why RIACO Reviews? Features Display & Layout Per-Review Data Visibility Toggles Show or hide each element independently: Filtering Sorting Colour & Typography Overrides Override directly from the block editor or shortcode attributes: Admin JSON-LD Structured Data Developer-Friendly Perfect For Shortcode Reference Basic usage: [riaco_reviews] All parameters: [riaco_reviews count="6" layout="grid" card_style="default" orderby="date" order="DESC" product="" show_title="1" show_author_name="1" show_avatar="1" show_date="1" show_rating="1" show_source="1" show_product="1" show_shadow="1" min_width="300"] Colour and typography: [riaco_reviews card_bg="#ffffff" card_text_color="#444444" card_border_color="#e4e4e7" star_color="#f59e0b" product_bg="#f4f4f5" product_text_color="#18181b" font_size="0.9375" line_height="1.7"]

安装:

  1. Upload the riaco-reviews folder to the /wp-content/plugins/ directory, or install the plugin through the Plugins > Add New screen in WordPress.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Go to Reviews > Add New to create your first review — enter the headline as the post title, the review body as the post content, and fill in the Review Details meta box (author, rating, date, source URL).
  4. Go to Reviews > Sources to add platform sources (Google, Trustpilot, etc.) and upload their logos.
  5. Go to Reviews > Products to add product or subject entries.
  6. In the block editor, search for Reviews and insert the block. Configure display options in the Inspector sidebar.
  7. Alternatively, add [riaco_reviews] to any post, page, or widget area.

屏幕截图:

  • **Add / Edit review screen** — Post editor with the Review Details meta box (author name, avatar upload, star rating, review date, source URL) and Source / Product dropdowns in the sidebar.
  • **Sources admin screen** — Taxonomy screen for managing review sources with logo upload and preview.
  • **Block editor — Inspector sidebar** — The Reviews block selected, showing the Inspector panels: Display Settings, Field Visibility, Sort Order, Card Colours, and Typography.
  • **Frontend — Grid layout, Default card style** — Review cards in an auto-fill grid with title, star rating, product badge, review text, avatar, and source logo.
  • **Frontend — Grid layout, Modern card style** — Grid column layout with compact author + rating header row and source link in the footer.
  • **Frontend — Grid layout, Minimal card style** — Minimal cards with large title, text-coloured stars, no avatars, and author name linked to the source URL.
  • **Frontend — Mobile view** — Single-column layout on a narrow screen, demonstrating the responsive auto-fill column behaviour.

常见问题:

Is this plugin free?

Yes, RIACO Reviews is completely free and open source under the GPLv2 or later licence.

Does this work with the Gutenberg (block) editor?

Yes. The plugin registers a native Gutenberg block (riaco-reviews/reviews-block) with a live server-side preview in the editor. All display settings are in the Inspector sidebar — no shortcode needed when using the block editor.

Can I also use a shortcode instead of the block?

Yes. Use [riaco_reviews] in any post, page, widget area, or PHP template. All the same options available in the block are available as shortcode attributes.

How do I add a new review?

Go to Reviews > Add New in the WordPress admin. Enter the review headline as the post title and the review text as the main content. Use the Review Details meta box to set the author name, avatar, star rating, review date, and a link to the original source. Assign a Source (platform) and a Product from the sidebar dropdowns.

How do I add a platform logo (Google, Trustpilot, etc.)?

Go to Reviews > Sources and add a new source. Upload a logo image using the Logo / Image field — the WordPress media uploader is integrated. SVG files are supported for source logos. The logo will appear in the card header (Default and Modern styles) or as text in the Minimal style.

What card styles are available?

Three styles are available:

  • Default — white card with a drop shadow; header row shows the review title and source logo side by side.
  • Modern — compact header combines the author avatar, name, date, and a compact star rating in one row; the footer splits the product badge and source link.
  • Minimal — large bold title, no avatar or source logo, stars use the text colour, author name links to the source URL.

Can I customise the colours to match my brand?

Yes. From the block editor Inspector sidebar, open the Card Colours or Typography panel to set card background, text, border, star, and product badge colours, as well as font size and line height. The same options are available as shortcode attributes. All values are injected as CSS custom properties on the wrapper element so they scope to that specific block instance.

Does the layout respond to different screen sizes?

Yes. Both the Grid and Masonry layouts use CSS auto-fill / column-width with a configurable minimum card width (default 300 px). Columns are added or removed automatically based on the available container width — no fixed breakpoints are used.

Can I show or hide specific fields (avatar, date, rating, etc.)?

Yes. Every field has an individual show/hide toggle — available both in the block editor Inspector sidebar and as shortcode attributes (show_avatar, show_date, show_rating, etc.). For example, to hide the review date: [riaco_reviews show_date="0"].

Can I sort reviews by star rating?

Yes. Set orderby="rating" in the shortcode or choose By rating in the block editor Sort Order panel. You can also sort by date (newest or oldest first) or random.

How do I assign reviews to a product?

Go to Reviews > Products and create a product entry for each product or subject. When editing a review, select the appropriate product from the Product dropdown in the sidebar. The product name appears as a pill badge on the card.

Can I show only reviews for a specific product?

Yes. Use the product attribute in the shortcode — pass the product slug (the URL-friendly version of the product name): [riaco_reviews product="my-plugin"] For multiple products (show reviews matching any of them), pass a comma-separated list: [riaco_reviews product="plugin-one,plugin-two"] In the block editor, open the Display Settings panel and choose a product from the Filter by Product dropdown. Selecting "— All Products —" removes the filter.

Can I filter the reviews query to show only certain reviews?

Yes, using the riaco_reviews_query_args filter. This gives you access to the full WP_Query args array before the query runs — add taxonomy queries, post__in, meta queries, or any other WP_Query parameter. Example: add_filter( 'riaco_reviews_query_args', function( $args, $atts ) { $args['tax_query'] = [ [ 'taxonomy' => 'riaco_review_product', 'field' => 'slug', 'terms' => 'my-product' ] ]; return $args; }, 10, 2 );

Does this plugin output JSON-LD structured data for rich results?

Yes. The plugin automatically outputs schema.org Review structured data in the page footer for every review rendered by a block or shortcode. No configuration is required — the data is picked up by Google and other search engines automatically. To get the most out of rich results, go to Reviews → Products, edit each product, and set:

  • Product / Subject URL — the canonical URL of the thing being reviewed (e.g. your plugin's WordPress.org listing page).
  • Schema.org Type — the type of thing being reviewed. Use Product for physical or digital products, SoftwareApplication for apps and plugins, LocalBusiness for shops and services, etc. Leave it as Thing if unsure.
Reviews that share the same product but have different star ratings each produce a separate Review object — this is expected and valid. You can validate the structured data with Google's Rich Results Test. To suppress or modify the structured data for a specific review, use the riaco_reviews_json_ld_data filter (return false to suppress).

Can I use a custom card template?

Yes. Use the riaco_reviews_card_template_path filter to return the path to your own PHP template file. The filter receives the default path, the card style slug, the post ID, and the meta array, so you can switch templates per style or per review.

Does this plugin add anything to my database on activation?

No. Activation flushes the rewrite rules so the custom post type and taxonomies register correctly; deactivation flushes them again so the CPT slug is removed cleanly. No custom database tables are created. All review data is stored as standard WordPress post meta.

Will this slow down my site?

The plugin loads its CSS only on pages where the block or shortcode is present (wp_enqueue_block_style and on-demand shortcode enqueueing). The block uses server-side rendering, so no JavaScript is loaded on the frontend. All images use the loading="lazy" attribute.

Is the plugin translation-ready?

Yes. All user-facing strings are wrapped in WordPress i18n functions and the text domain is riaco-reviews. A .pot file is included in the languages/ directory.

更新日志:

1.2.2 1.2.1 1.2.0 1.1.0 1.0.2 1.0.1 1.0.0