Linux 软件免费装
Banner图

Subcategories buttons

开发者 lavadesign
更新时间 2025年7月4日 15:25
PHP版本: 7.4 及以上
WordPress版本: 6.8
版权: GPLv2 or later
版权网址: 版权信息

标签

elementor reading time estimated reading

下载

1.0.0

详情介绍:

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.

安装:

  1. Upload the plugin files to the /wp-content/plugins/lava-reading-time directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Use shortcode [subcategories_buttons] to show subcategories of current product category.

升级注意事项:

1.0.0 Initial release.

常见问题:

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