TaxoFilter Admin

描述

TaxoFilter Admin enhances the WordPress admin experience by providing customizable taxonomy filters for all post types.

The plugin is open source and hosted on GitHub. If you have any issues or feedback, please open an issue there.

Key Features:

  • Automatically adds taxonomy dropdowns to post list screens
  • Works with posts, pages, and custom post types
  • Allows administrators to select which taxonomy filters to display via screen options
  • Clean, developer-friendly code

屏幕截图

安装

  1. Upload the taxofilter-admin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Visit any post list screen and use the screen options to configure which taxonomy filters to display

常见问题

Will this work with custom post types?

Yes, the plugin automatically detects all registered post types and their associated taxonomies.

Can I select which taxonomy filters to display?

Yes, you can customize which taxonomy filters appear by accessing the Screen Options panel at the top of any post list screen.

How can I exclude certain taxonomies from the screen options?

You can use the taxofilter_admin_excluded_taxonomies filter to exclude specific taxonomies from showing up in the screen options for a post type.

Example usage:

add_filter('taxofilter_admin_excluded_taxonomies', function($excluded, $post_type) {
    if ($post_type === 'custom_post_type') {
        $excluded[] = 'custom_taxonomy';
    }
    return $excluded;
}, 10, 2);

评价

阅读所有1条评价

贡献者及开发者

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

贡献者

帮助将「TaxoFilter Admin」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.1

  • TWEAK: Added taxofilter_admin_excluded_taxonomies filter to allow excluding specific taxonomies from the screen options.

1.0.0

  • Initial release