-
Notifications
You must be signed in to change notification settings - Fork 4
/
readme.txt
71 lines (50 loc) · 3.11 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
=== WooCommerce Display Products by Tags ===
Contributors: sebd86, sebsstudio
Donate link: https://sebastiendumont.com/product/woocommerce-display-products-tags/
Tags: woocommerce, products, tags, taxonomy, filter, shortcode, shortcodes, short code
Requires at least: 4.5
Tested up to: 4.7.4
Stable tag: 1.1.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Display WooCommerce products by tags using a shortcode.
== Description ==
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/seb86/WooCommerce-Display-Products-by-Tags
= Support =
Use the WordPress.org forums for [community support](https://wordpress.org/support/plugin/woocommerce-display-products-by-tags). If you spot a bug, you can of course log it on [Github](https://github.com/seb86/WooCommerce-Display-Products-by-Tags/issues) instead where I can act upon it more efficiently.
Please consider making a [donation](https://sebastiendumont.com/product/woocommerce-display-products-tags/) or [write a review](https://wordpress.org/support/view/plugin-reviews/woocommerce-customer-notes-to-completed-order-emails?rate=5#postform).
**More information**
- Other [WordPress plugins](https://profiles.wordpress.org/sebd86/) by [Sébastien Dumont](https://sebastiendumont.com/)
- Contact Sebastien on Twitter: [@sebd86](https://twitter.com/sebd86)
- If you're a developer yourself, follow or contribute to the [WooCommerce Display Products by Tags plugin on GitHub](https://github.com/seb86/WooCommerce-Display-Products-by-Tags)
== Installation ==
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.
== Frequently Asked Questions ==
= 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" operator="AND"]```
= Q.2 What are the attributes? =
A.2 You can use the following attributes.
`
array(
'per_page' => '12',
'columns' => '4',
'orderby' => 'menu_order 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( 'sd_wc_shortcode_before_product_tag_loop', 'your_function_name' );`
`add_action( 'sd_wc_shortcode_after_product_tag_loop', 'your_function_name' );`
== Changelog ==
= 1.1.0 : 3rd May 2017 =
* Compatible with WooCommerce version 3.0
= 1.0.0 : 15th June 2015 =
* Initial version