Taxonomy Filter

Apraksts

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.

izmantot

  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

Ekrānuzņēmumi

  • 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

Uzstādīšana

  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

BUJ

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.

Atsauksmes

28 maijs, 2020 6 atbildes
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?
18 oktobris, 2019 1 atbilde
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 augusts, 2019 1 atbilde
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 augusts, 2019 1 atbilde
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 janvāris, 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.
Lasīt 14 atsauksmi

Autori un izstrādātāji

“Taxonomy Filter” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Taxonomy Filter&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

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