[WordPress] 外掛分享: TWB Woocommerce Reviews

首頁外掛目錄 › TWB Woocommerce Reviews
WordPress 外掛 TWB Woocommerce Reviews 的封面圖片
600+
安裝啟用
★★★★
4.8/5 分(26 則評價)
411 天前
最後更新
問題解決
WordPress 4.6+ v1.7.8 上架:2015-11-13

內容簡介

如需更快的支援,請在我們的幫助中心中發布您的問題

透過簡短代碼,本外掛讓您可在頁面或文章上加入 WooCommerce 產品評論。您可針對每個產品指定評論,排除某些特定評論、限制顯示的評論數量,甚至更多。本外掛提供三種版面配置,包括投影片、列表及磚牆(masonry),而且具有回應式設計,方便您自訂樣式。

使用下列簡短代碼以顯示所有產品的評論:

[twb_wc_reviews]

允許的屬性如下:

product_id = 單一產品 ID 或產品 ID 串列,用來顯示由這些產品的評論。
number = 用來限制顯示的評論數量。
exclude = 排除某些評論,依據評論 ID。

exclude_product = 排除某個特定產品或多個產品中的所有評論 (產品 ID 用逗號分開)。

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

下列簡短代碼將從產品 ID 為 57、61、78 的產品中顯示最多 5 則評論:

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

類似地,下列簡短代碼將排除評論 ID 為 2、6、10 ,並從產品 ID 為 45、55、12 的產品中排除所有評論:

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

在主題範本中新增外掛,使用以下代碼:

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

並使用屬性:

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

本外掛提供三種版面配置,包括投影片、列表及磚牆 (Masonry)。

投影片版面包括:

投影片效果
漸變效果

列表版面包括:

單欄/全寬版面
雙欄版面
三欄版面

磚牆(Masonry)版面包括:

雙欄版面
三欄版面

在外掛設定中,您也可以加入自訂 CSS,改變顯示的評論版面。

如果您喜愛本外掛,請給予評分!:)

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.7.8) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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

AND with attributes

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 🙂 **

延伸相關外掛

文章
Filter
Mastodon