Title: Taxonomy Filter
Author: Andrea Landonio
Published: <strong>2014 年 11 月 12 日</strong>
Last modified: 2024 年 4 月 27 日

---

搜索插件

![](https://ps.w.org/taxonomy-filter/assets/banner-772x250.jpg?rev=1462108)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/taxonomy-filter/assets/icon-256x256.png?rev=1026156)

# Taxonomy Filter

 作者：[Andrea Landonio](https://profiles.wordpress.org/lando1982/)

[下载](https://downloads.wordpress.org/plugin/taxonomy-filter.2.2.13.zip)

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

 [支持](https://wordpress.org/support/plugin/taxonomy-filter/)

## 描述

Taxonomy Filter is a simple and flexible plugin which allow users to filter hierarchical
term taxonomies inside admin pages. If you need to simplify your tags and categories
research on admin pages, this plugin will make it easier for you. It adds a custom
input field (only for configured taxonomies) that you can use to filter a every 
taxonomy list.

Imagine having too many tags on your post admin page and having to lose so much 
time scrolling a long list of items or having to search for a tag with the classic
browser search box. With “Taxonomy Filter” plugin you can search, choice and select
tags in a very short time, a great gain!

In addition, you have to setup which taxonomies should have “Taxonomy Filter” activated.
When you install and activate the plugin, an admin page is added on settings section.
In this page are automatically listed all valid taxonomies, you have two options:

 * enable on post management pages (allow you to turn on/off filter field)
 * hide filter field if taxonomy is empty

You can also manage taxonomy filters into bulk edit section if you want to perform
a quick edit.

If in your theme you have changed post columns using the ‘manage_edit-post_columns’
filter, you need to add another filter to apply the taxonomy filter bulk section.

For example:

    ```
    add_filter('manage_edit-post_columns', 'taxonomy_filter_manage_bulk_columns', 99, 1);
    add_filter('manage_edit-<CUSTOM-TYPES>_columns', 'taxonomy_filter_manage_bulk_columns', 99, 1);
    ```

It works only with hierarchical taxonomies (both default categories and [custom taxonomies](https://codex.wordpress.org/Custom_Taxonomies)).

When you enable a taxonomy filter, a section for choosing hidden taxonomy terms 
is displayed in user profile page and in term edit pages. In user profile page you
can select (for each user) a list of taxonomy terms that are removed from hierarchical
term taxonomies inside admin pages.
 By default, all taxonomy terms are visible 
in the hierarchical term taxonomies sections inside admin pages. You can choose 
only from max 2 nested levels but all the children of a hidden term are automatically
removed from admin pages. Keep in mind that the hidden terms are not searchable 
and filterable. In edit term page you can select (for all users) if term should 
be removed (make hidden) from hierarchical term taxonomies inside admin pages.

#### 用法

 1. Go to `WP-Admin -> Posts -> Add New`.
 2. Find the input filter field on page sidebar.
 3. Select tags filtering list.

Links: [Author’s Site](http://www.andrealandonio.it)

## 屏幕截图

[⌊Settings admin page⌉⌊Settings admin page⌉[

Settings admin page

[⌊Filter tags (initial list before filtering and filtered list)⌉⌊Filter tags (initial
list before filtering and filtered list)⌉[

Filter tags (initial list before filtering and filtered list)

[⌊Filter categories (initial list before filtering and filtered list)⌉⌊Filter categories(
initial list before filtering and filtered list)⌉[

Filter categories (initial list before filtering and filtered list)

[⌊Bulk edit section⌉⌊Bulk edit section⌉[

Bulk edit section

[⌊User hidden taxonomy terms selection⌉⌊User hidden taxonomy terms selection⌉[

User hidden taxonomy terms selection

## 安装

 1. Unzip the downloaded `taxonomy-filter` zip file
 2. Upload the `taxonomy-filter` folder and its contents into the `wp-content/plugins/`
    directory of your WordPress installation
 3. Activate `taxonomy-filter` from Plugins page

## 常见问题

### Works on multisite?

Yes, you have only to enable valid taxonomies on settings page for every site.

### Works on hierarchical taxonomies?

Yes, you can filter items over taxonomies with multiple child/parent levels.

### Works on with custom post types?

Yes, keep in mind to add ‘manage_edit-post_columns’ filter if you want show filter
in bulk edit section.

### Works on with custom taxonomies?

Yes, by default you can filter all the taxonomies that you have enabled in Taxonomy
Filter settings page.

## 评价

![](https://secure.gravatar.com/avatar/efcd54041ac3611d9174d2a43ea120821190f65b8b066e54c18651be0d41a5e0?
s=60&d=retro&r=g)

### 󠀁[Taxonomy filter not view on Widget](https://wordpress.org/support/topic/taxonomy-filter-not-view-on-widget/)󠁿

 [legendherotr](https://profiles.wordpress.org/legendherotr/) 2020 年 5 月 28 日
6 回复

Hi, Andrea I installed the plugin. But I can’t add Widgets. What is the reason of
this? How can I add? I can add some of my pages. I cannot add on some pages. I could
not understand where the problem originated. Can you help?

![](https://secure.gravatar.com/avatar/08df471dc5dc3c909a2c6e0380208d76de4df5100a8a9fce02c874e09912c19b?
s=60&d=retro&r=g)

### 󠀁[Awesome!](https://wordpress.org/support/topic/awesome-7455/)󠁿

 [alex5237](https://profiles.wordpress.org/alex5237/) 2020 年 2 月 21 日

Best plugin! Thank you!

![](https://secure.gravatar.com/avatar/d0b3dbab439eeeb20c2a4343942fb3fccd055e94abc52b700d47ef5c73870064?
s=60&d=retro&r=g)

### 󠀁[Taxonomy Category Hierarchy Dropdown Ajax Select](https://wordpress.org/support/topic/taxonomy-category-hierarchy-dropdown-ajax-select/)󠁿

 [Jaso](https://profiles.wordpress.org/subwebsites/) 2019 年 10 月 18 日 1 回复

This is now in one of my TOP plugins list Easy to use, set the Taxonomies you want
it to work in and then in the back-end creating a post or listing, just start typing
the name of the Tax and automatically appears. Great work.

![](https://secure.gravatar.com/avatar/ad3bb1d0bbcf10e3df0894a7d68e912c0089d9feb0ea1e27fef891cb8544026b?
s=60&d=retro&r=g)

### 󠀁[Amazing! Beautiful! Thank You!](https://wordpress.org/support/topic/amazing-beautiful-thank-you/)󠁿

 [Kelenwa](https://profiles.wordpress.org/uzoamaka/) 2019 年 8 月 27 日 1 回复

This is all I need to ease me the stress on a project I am working on that has so
many items and sub-items in the taxonomy. This your plugin did it for me. So so 
happy for this your plugin. I really like how it filters; the parent-child items.
So beautiful and amazing. God Bless you guys behind this amazing and awesome plugin.
THANK YOU!

![](https://secure.gravatar.com/avatar/9eec67f7f012440eee4ff8dfbebefe9defd2b4004461fff719a2fb13b6e2a385?
s=60&d=retro&r=g)

### 󠀁[Over-engineered and poorly explained.](https://wordpress.org/support/topic/over-engineered-and-poorly-explained/)󠁿

 [dmkizer](https://profiles.wordpress.org/dmkizer/) 2019 年 8 月 7 日 1 回复

I had high hopes. I simply wanted to add drop-down menus at the top of my custom
post type bulk edit pages that allowed filtering by custom taxonomy. This seems 
to offer exactly that. Got “movies” as your post type? Add a selector to filter 
by the “genre” taxonomy, and another to filter by the “decade” taxonomy, and another
by “production studio.” I installed it, and followed directions, until it told me
to go to individual user pages and select taxonomy terms that I want to display …
wait, what? What is this doing? Why is it user-dependent? Why would I have to choose
a finite number of terms? Ultimately I was unable to get this to do anything. It
appears that I do not actually understand the plugin, and I will place that on it
being poorly presented. It looks like the publisher might be speaking English as
a second language, which also makes the purpose of this plugin a little difficult
to discern. Some screen shots and examples would go a long way.

![](https://secure.gravatar.com/avatar/5834ce22a5b3aa3456ccd7a5a18619325195095457642cbf1c9f56b5e69e8fd6?
s=60&d=retro&r=g)

### 󠀁[Works flawlessly with minimal setup](https://wordpress.org/support/topic/works-flawlessly-with-minimal-setup/)󠁿

 [nateplusplus](https://profiles.wordpress.org/nateplusplus/) 2019 年 1 月 28 日

My client has a very deep hierarchy with several custom taxonomies and soooo many
terms. This plugin saved the day. I just installed it, selected some taxonomies,
and MAGIC HAPPENED! What I love most: If I search for a child term, the parents 
are still displayed. I like this because I’d prefer the parents are tagged with 
the children, and also it helps give some context to the results. Anyway, thank 
you! You have made my day happy.

 [ 阅读所有14条评价 ](https://wordpress.org/support/plugin/taxonomy-filter/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Andrea Landonio ](https://profiles.wordpress.org/lando1982/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 2.2.13 – 2024-04-27

 * Rename plugin name following WordPress standard

#### 2.2.12 – 2024-04-23

 * Added taxonomy rewrite field check for avoid warnings

#### 2.2.11 – 2024-04-19

 * Added hidden option check for avoid warnings

#### 2.2.10 – 2024-02-06

 * Added nonce management on settings page

#### 2.2.9 – 2022-11-15

 * Added “taxonomy_filter_profile_table” for hiding user profile fields

#### 2.2.8 – 2021-03-14

 * Tested up with WordPress 5.7 release

#### 2.2.7 – 2020-12-09

 * Tested up to latest WordPress releases

#### 2.2.6 – 2020-10-27

 * Added conversion to iterable objects

#### 2.2.5 – 2019-11-21

 * Restored hide items

#### 2.2.4 – 2019-11-17

 * Remove hide items

#### 2.2.3 – 2019-05-22

 * Updated WordPress requirements

#### 2.2.2 – 2019-03-13

 * Fixed invalid object save settings error

#### 2.2.1 – 2018-08-24

 * Bug fixing

#### 2.2.0 – 2018-03-09

 * Keep showing the children of a searched element

#### 2.1.1 – 2018-02-21

 * Bug fixing

#### 2.1.0 – 2017-01-15

 * Add hide taxonomy terms feature

#### 2.0.0 – 2016-05-18

 * Add hide user taxonomy terms feature
 * JS DOM selectors review
 * JS enqueue review
 * Bug fixing

#### 1.1.1 – 2015-10-25

 * Extend filters selection to all the categories in bulk edit section

#### 1.1.0 – 2015-10-24

 * Add filters to bulk edit section

#### 1.0.2 – 2014-12-11

 * Increased plugin’s compatibility to older WordPress versions

#### 1.0.1 – 2014-11-15

 * Fixed hierarchical filter search

#### 1.0.0 – 2014-11-12

 * First release

## 额外信息

 *  版本 **2.2.13**
 *  最后更新：**2 年前**
 *  活跃安装数量 **800+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **6.5.8**
 *  语言
 * [English (US)](https://wordpress.org/plugins/taxonomy-filter/)
 * 标签
 * [admin](https://cn.wordpress.org/plugins/tags/admin/)[category](https://cn.wordpress.org/plugins/tags/category/)
   [filter](https://cn.wordpress.org/plugins/tags/filter/)[tag](https://cn.wordpress.org/plugins/tags/tag/)
   [usability](https://cn.wordpress.org/plugins/tags/usability/)
 *  [高级视图](https://cn.wordpress.org/plugins/taxonomy-filter/advanced/)

## 评级

 4.4 星（最高 5 星）。

 *  [  12 条 5 星评价     ](https://wordpress.org/support/plugin/taxonomy-filter/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/taxonomy-filter/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/taxonomy-filter/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/taxonomy-filter/reviews/?filter=2)
 *  [  2 条 1 星评价     ](https://wordpress.org/support/plugin/taxonomy-filter/reviews/?filter=1)

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

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

## 贡献者

 *   [ Andrea Landonio ](https://profiles.wordpress.org/lando1982/)

## 支持

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

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