外掛說明
Display current Woocommerce categorie’s direct childs subcategories. Display the highest level of categories, if you are anywhere else, but product-archive. Lightweight plugin to use with shortcode [subcategories_buttons], wherever you need. Simple, but usefull settings included.
安裝方式
- Upload the plugin files to the
/wp-content/plugins/lava-reading-timedirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Use shortcode [subcategories_buttons] to show subcategories of current product category.
常見問題集
-
How can I use the plugin?
-
Simply install, activate the plugin, then use the shortcode [subcategories_buttons] to display, wherever you need.
-
Are there any settings?
-
Yes. Look for Setting-> Subcategories Buttons. There you can simply Exclude categories (one, or more), set the number of buttons in a row (1-6), set the color of border and border radius of button, select, if you would like to display category thumbnail, or check, if you want to hide categories with no product.
-
What happend, if I show category images, but there are some categories without images?
-
Nothing special. Categories, which have image, would display with image, the others without it. No problem.
-
Which categories will be shown?
-
The plugin is designed to use especially on product-archives. Selecting the categories are based on your product category tree (see Woocommerce-Products -> Product categories), not on your menu. You will always get back the first lower categories level from current category. If you are on main shop page, other static page, post, homepage, or CPT (Custom Post type), you will get back the very first level of categories. Oppositely – if you are on the lowest category level, you will get back nothing (there are no lower categories, which could be displayed).
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.0.0
- First release.
