Description
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.
Installation
- 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.
FAQ
-
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).
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Subcategories buttons” is open source software. The following people have contributed to this plugin.
Contributors“Subcategories buttons” has been translated into 1 locale. Thank you to the translators for their contributions.
Translate “Subcategories buttons” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- First release.
