Taxonomy filter

Omschrijving

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

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.

Gebruik

  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

Schermafdrukken

  • Settings admin page
  • Filter tags (initial list before filtering and filtered list)
  • Filter categories (initial list before filtering and filtered list)
  • Bulk edit section
  • User hidden taxonomy terms selection

Installatie

  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

FAQ

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.

Beoordelingen

18 oktober 2019
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.
27 augustus 2019
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!
7 augustus 2019
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.
28 januari 2019
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.
10 augustus 2017
sorry, one star because it simply didn't do anything. It just listed my parent taxonomies (why adding a filter on parent taxonomies?) and it didn't allow the creation of relations between CPTs (it didn't even detect CPTs). As a matter of fact, it simply didn't create any filter in my edit-screens.
3 september 2016
Thank you for this very nice plugin. It is simple to use and configure. I recently encountered a need for some enhancements and created a plugin based on yours and thought I'd share it with the community.
Lees alle 12 beoordelingen

Bijdragers & ontwikkelaars

“Taxonomy filter” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

Vertaal “Taxonomy filter” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

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