このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

WooCommerce Display Products by Tags

説明

This shortcode is much like the product category shortcode. The attributes are the same also, the only difference is that you can display WooCommerce products by product tags instead.

Contributing and reporting bugs

You can contribute code to this plugin via GitHub: https://github.com/Sebs-Studio/WooCommerce-Display-Products-by-Tags

Support

Use the WordPress.org forums for community support. If you spot a bug, you can of course log it on Github instead where I can act upon it more efficiently.

Please consider making a donation or write a review.

More information

インストール

Installing “WooCommerce Display Products by Tags” can be done either by searching for “WooCommerce Display Products by Tags” via the “Plugins > Add New” screen in your WordPress dashboard, or by using the following steps:

  1. Download the plugin via WordPress.org
  2. Upload the ZIP file through the ‘Plugins > Add New > Upload’ screen in your WordPress dashboard.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.

FAQ

Q.1 How do I display products by tags?

A.1 Simple add this shortcode with the product tags you wish to filter by. e.g. [product_tag tags="shoes,socks"]

Q.2 What are the attributes?

A.2 You can use the following attributes.

array(
  'per_page' => '12',
  'columns'  => '4',
  'orderby'  => 'title',
  'order'    => 'asc',
  'tags'     => '',  // Product Tag Slugs
  'operator' => 'IN' // Possible values are 'IN', 'NOT IN', 'AND'.
)
Q.3 Can I place content before and after the product loop?

A.3 Yes, there are two action hooks you can use.

add_action( 'ss_wc_shortcode_before_product_tag_loop', 'your_function_name' );

add_action( 'ss_wc_shortcode_after_product_tag_loop', 'your_function_name' );

評価

2018年3月6日
Hi people! I tried this plugin for last WP (4.9.4) and WOO (3.3.3) so all works fine. And even more - this works with displaying BOTH tags and categories! Here you can read more: https://wordpress.org/support/topic/use-tags-and-categories-in-same-shortcode/
2017年3月22日
Works well and opens up a lot of helpful functionality for my website.
2017年3月12日
Does exactly what I need it to do, and easy to change attributes - wonderful plugin!
9件のレビューをすべて表示

貢献者と開発者

WooCommerce Display Products by Tags はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“WooCommerce Display Products by Tags” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.0.0 : 15th June 2015

  • Initial version