TWB Woocommerce Reviews

外掛說明

This plugin let’s you add Woocommerce product reviews on a page/post using shortcode. You can specify reviews per product basis, exclude specific reviews, limit the number of reviews displayed and more. There are three layouts. Slider and List and Masonry. The plugin is responsive and easily customizable.

Use the following shortcode to display reviews from all products:

[twb_wc_reviews]

Allowed Attributes:

  • product_id = Single product ID or comma separated list of IDs to display reviews from.
  • number = To limit the number of reviews displayed.
  • exclude = Exclude specific review/s by review ID.
  • exclude_product = Exclude all reviews from a specific product or a number of products (comma separated list of product IDs).

    [twb_wc_reviews product_id=”” number=”” exclude=”” exclude_product=””]

The following shortcode will display upto 5 reviews from products with IDs 57,61,78

[twb_wc_reviews product_id="57,61,78" number="5"]

Similary the following shortcode will exclude reviews with IDs 2,6,10 and exclude all reviews from the products with IDs 45,55,12

[twb_wc_reviews exclude="2,6,10" exclude_product="45,55,12"]

To add in a theme template. Use the code below

<?php echo do_shortcode('[twb_wc_reviews]'); ?>

AND with attributes

<?php echo do_shortcode('[twb_wc_reviews product_id="" number="" exclude="" exclude_product=""]'); ?>

There are three layouts. Silder and List and Masonry

Slider Layout Includes:

  • Slide Effect
  • Fade Effect

List layout includes:

  • One Column / Full Width Layout
  • Two Columns Layout
  • Three Columns Layout

Masonry layout includes:

  • Two Columns Layout
  • Three Columns Layout

In the plugin settings, you can also add Custom CSS to change the layout of the reviews displayed.

**Please rate if you like it 🙂 **

螢幕擷圖

  • Screenshot
  • Screenshot
  • Screenshot
  • Screenshot
  • Masonry Layout
  • Admin 1
  • Admin 2
  • Comments Order by Random

安裝方式

Install the plugin and activate. Go to TWB Woocommerce Reviews options page under Settings menu and customize.
Display the reviews in a page/post using the following shortcode.

[twb_wc_reviews]

Allowed Attributes:

  • product_id = Single product ID or comma separated list of IDs to display reviews from.
  • number = To limit the number of reviews displayed.
  • exclude = Exclude specific review/s by review ID.
  • exclude_product = Exclude all reviews from a product or a number of products (comma separated list of product IDs).

    [twb_wc_reviews product_id=”” number=”” exclude=”” exclude_product=””]

The following shortcode will display upto 5 reviews from products with IDs 57,61,78

[twb_wc_reviews product_id="57,61,78" number="5"]

Similary the following shortcode will exclude reviews with IDs 2,6,10 and exclude all reviews from products with IDs 45,55,12

[twb_wc_reviews exclude="2,6,10" exclude_product="45,55,12"]

To add in a theme template. Use the code below

<?php echo do_shortcode('[twb_wc_reviews]'); ?>

AND with attributes

<?php echo do_shortcode('[twb_wc_reviews product_id="" number="" exclude="" exclude_product=""]'); ?>

使用者評論

2024 年 5 月 13 日
I needed a way to show WooCommerce reviews from individual product pages on the homepage. This plugin did the trick. I emailed a question about applying CSS to format the text and received a response from Abu within 2 hours. Very happy!
2024 年 4 月 24 日
I really love this plugin, free, lightweight and user-friendly. The plugin author, Abu Bakar, is also very friendly, responsive and answer all questions patiently, I hope he can maintain the style of this plugin.
2023 年 9 月 25 日
This is a simple but extremely effective way to display reviews/testamonials on a single page. I’m really surprised that it only has 900 active installs given how good it is.DW
2022 年 9 月 22 日 1 則留言
A very simple, easy to use plugin to display reviews anywhere. Perfect if you are looking for a plugin just to display reviews.
閱讀全部 26 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈TWB Woocommerce Reviews〉的開發相關工作。

參與者

將〈TWB Woocommerce Reviews〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.7.7

  • Plugin is now Translation Ready
  • Compatibility check with WordPress 6.6.2

1.7.6

  • Vulnerability Fix – Cross Site Scripting (XSS)
  • Revision of all code and escaping and sanitizing of all input fields.
  • Removal of Custom CSS support. Use WP Default Customizer > Custom CSS from now on.
  • Optimization of js code.

1.7.5

  • Addition – Added functionality to order comments by random.

1.7.4

  • Removed – the_content() filter from review content that caused issues in Elementor’s edit mode.
  • Addition – Conditional check so that shortcode only render on frontend.

1.7.3

  • Fixed – Multisite compatibility.

1.7.2

  • Fixed – Bug Fixed.
  • NEW – Added option to reset plugin settings.

1.7.1

  • Fixed – Extra space below review text fixed.

1.7

  • NEW – PHP 7+ Compatibility
  • NEW – WP 5.5.2 Compatibility
  • Fixed – Gutter width issue fixed for Masonry layouts.
  • Fixed – Some CSS Issues.

1.6

  • NEW – Option added to limit the number of words for review text.
  • Fixed – Responsive issues

1.5

  • NEW – Masonry Layout Added.
  • NEW – Added support for product name
  • NEW – Added support for product image
  • NEW – Added support for removing product link from name and image
  • NEW – Added support for removing link from the review text
  • Compatibility check with WordPress version 4.6.1
  • Bugs fixings and general improvements (CSS, PHP, JS)

1.4

  • Added support to limit the number of reviews displayed.
  • Added support to exclude specific product reviews.
  • Added support to exclude specific reviews.
  • Compatibility check with WordPress version 4.5
  • Bugs fixings and general improvements

1.3

  • Rearranged all the elements on reviews.
  • Added Product Name Field
  • Optimized overall plugin code
  • CSS Improvements
  • Bugs fixings and general improvements

1.2

  • Added three new column layouts
  • Added Slider Fade Effect
  • Optimized overall plugin code
  • Bugs fixings and general improvements

1.1

  • Added support to control slider speed if slider layout is selected

1.0

  • Just released