Title: Subcategories buttons
Author: Lukáš Bachleda - LavaDESIGN
Published: <strong>2025 年 7 月 4 日</strong>
Last modified: 2025 年 7 月 4 日

---

搜索插件

![](https://ps.w.org/subcategories-buttons/assets/banner-772x250.jpg?rev=3322140)

![](https://ps.w.org/subcategories-buttons/assets/icon-128x128.png?rev=3322140)

# Subcategories buttons

 作者：[Lukáš Bachleda – LavaDESIGN](https://profiles.wordpress.org/lavadesign/)

[下载](https://downloads.wordpress.org/plugin/subcategories-buttons.zip)

 * [详情](https://cn.wordpress.org/plugins/subcategories-buttons/#description)
 * [评价](https://cn.wordpress.org/plugins/subcategories-buttons/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/subcategories-buttons/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/subcategories-buttons/#developers)

 [支持](https://wordpress.org/support/plugin/subcategories-buttons/)

## 描述

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.

## 常见问题

### 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).

## 评价

此插件暂无评价。

## 贡献者及开发者

「Subcategories buttons」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Lukáš Bachleda – LavaDESIGN ](https://profiles.wordpress.org/lavadesign/)

「Subcategories buttons」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/subcategories-buttons/contributors)
为本插件所做的贡献。

[帮助将「Subcategories buttons」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/subcategories-buttons)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/subcategories-buttons/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/subcategories-buttons/)，或通过[RSS](https://plugins.trac.wordpress.org/log/subcategories-buttons/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/subcategories-buttons/)。

## 更新日志

#### 1.0.0

 * First release.

## 额外信息

 *  版本 **1.0**
 *  最后更新：**11 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.8 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/subcategories-buttons/) 和 [Slovak](https://sk.wordpress.org/plugins/subcategories-buttons/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/subcategories-buttons)
 * 标签
 * [elementor](https://cn.wordpress.org/plugins/tags/elementor/)[estimated reading](https://cn.wordpress.org/plugins/tags/estimated-reading/)
   [reading time](https://cn.wordpress.org/plugins/tags/reading-time/)
 *  [高级视图](https://cn.wordpress.org/plugins/subcategories-buttons/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/subcategories-buttons/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/subcategories-buttons/reviews/)

## 贡献者

 *   [ Lukáš Bachleda – LavaDESIGN ](https://profiles.wordpress.org/lavadesign/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/subcategories-buttons/)