What is Taxonomy A taxonomy is a way to group things together. In WordPress, some common taxonomies are category, link, tag, or post format. https://codex.wordpress.org/Taxonomies#Default_Taxonomies.?
WordPress data objects, such as posts and users, can be grouped using taxonomy terms. A term is a grouping entity that exists in many-to-many relationships with other entities. A taxonomy is a grouping of terms, within which terms must be unique. WordPress ships with a number of built-in taxonomies, such as the hierarchical categories and the non-hierarchical tags. Since version 2.3, WordPress has also allowed plugins and themes to register custom taxonomies. A number of auxiliary WP features, like post formats and nav menus, are powered in part by taxonomy terms.
What does the Taxonomy component include?
The Taxonomy component covers:
- The custom taxonomy API An API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways.:
register_taxonomy(), etc - Business functions for the creation, retrieval, updating, and deletion of taxonomy terms:
wp_insert_term(), get_terms(), etc - Dashboard panels for managing taxonomy terms, such as
edit-tags.php, and the parts of the Posts interface that are used to manage taxonomy term relationships, such as the Categories and Tags metaboxes
Ongoing projects
We have an ambitious taxonomy roadmap, and have been making incremental progress on a few large projects during the last few major WordPress releases. See ‘taxonomy’ posts on make/core for some background.
In WordPress 4.4, we’re beginning work on a few new projects:
- Better data modeling and
WP_Term #14162 - Combining the
wp_terms and wp_term_taxonomy tables #30262 - Term meta Meta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress. #10142
Recent posts on the make/core Core is the set of software required to run WordPress. The Core Development Team builds WordPress. blog (versus network, site)
View all posts tagged taxonomy.
Recent posts on the make/test blog
View all posts tagged taxonomy.
246 open tickets in the Taxonomy component
246 open tickets. Last 7 days: +0 tickets
54 tickets that have no replies
View list on Trac
- #35606 AllPosts page: contradiction in filtering by Category The 'category' taxonomy lets you group posts / content together that share a common bond. Categories are pre-defined and broad ranging. and category assigning to the post
- #36956 Trigger event when taxonomy term is added with ajax administration
- #36978 Add pre filter Filters are one of the two types of Hooks https://codex.wordpress.org/Plugin_API/Hooks. They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output. to get_term_by
- #38265 Add term_relationship_id column to wp_term_relationships
- #39754 `_post_format_get_terms()` can overwrite names of terms in other taxonomies
- #39969 add filter to end of post_categories_meta_box()
- #40232 Could is_tax check through queried_terms instead of queried_object?
- #40291 subcategory pagination no run
- #41702 Slug for Category or Tag should be generated automatically ui administration
- #41776 wp_list_category array element 'exclude' better be called 'exclude_id'
- #41878 No way to change the order of fields for taxonomy meta
- #41882 Walker_CategoryDropdown does not wrap options inside HTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. select element with wp_list_categories
- #42104 Tax query transformations unintentionally filtered by 'terms_clauses'
- #42572 Can't delete custom taxonomy tags from a post
- #43798 Add multiple parent ids in get_terms function
- #44630 WP_Term_Query does not return all terms when 'number' and 'object_ids' are specified
- #45092 WP_Query->is_category wrongly calculate current category when WP_Term is passed
- #45393 categories don't work in brand-new wordpress instance (return 404)
- #45722 add markup to highlight the active tag A directory in Subversion. WordPress uses tags to store a single snapshot of a version (3.6, 3.6.1, etc.), the common convention of tags in version control systems. (Not to be confused with post tags.)
- #46162 get_taxonomies by post_type no output
- #46166 wp_update_term sanitizes the description, removing all html
- #47029 Custom Taxonomies, with no post_type association and custom submenu location, UX User experience experience is broken when on Taxonomy management page
- #47310 Add Column Taxonomy Links Filter to Media List Table administration
- #48220 Category Dropdown Layout Issue
- #48284 MIsleading behavior and documentation in include argument of WP_Term_Query docs
- #48498 Walker_Category should also accept the `item_spacing` parameter.
- #48682 Introduce WP_Labels class
- #49189 Term description cannot be filtered in admin (and super admin) area ui administration
- #49488 WP-ADMIN > Add New Post Tags section – Issue ui administration
- #49559 Post Category Restoration ui administration
- #49632 Force lowercase for taxonomy id in register_taxonomy()
- #50046 lack table selector in `_update_post_term_count`
- #50229 slugs aren't allowed as long as they're in different taxonomies.
- #51264 There is no option to remove default_term using register_taxonomy() or unregister_taxonomy()
- #51666 Cannot unselect terms for a taxonomy with a default_term
- #51759 WordPress the_tags() before not working at the loop The Loop is PHP code used by WordPress to display posts. Using The Loop, WordPress processes each post to be displayed on the current page, and formats it according to how it matches specified criteria within The Loop tags. Any HTML or PHP code in the Loop will be processed on each post. https://codex.wordpress.org/The_Loop.
- #51864 set_object_terms hook $tt_ids arg issue
- #51905 Issue with 'is_object_in_term' when terms assigned in increseing order
- #52726 Allow default term when a user does not have assign_terms capability A capability is permission to perform one or more types of task. Checking if a user has a capability is performed by the
current_user_can function. Each user of a WordPress site might have some permissions but not others, depending on their role. For example, users who have the Author role usually have permission to edit their own posts (the “edit_posts” capability), but not permission to edit other users’ posts (the “edit_others_posts” capability). - #52904 WP_Term_Query does not return deeper descendants of child_of when direct children of child_of are not part of the results
- #52975 Add "states" to terms list table (for WP_Taxonomy::$default_term) administration
- #54567 Introduce specific item_link and and item_link_description labels for post formats
- #55854 Save term creation time by default template performance
- #55956 Pass $maybe_orderby_meta into 'get_terms_orderby' filter
- #56892 wp_xx_categories() doesn't pad counts correctly when a sub-category exists
- #56895 SEO tools can't differ from Tag and Categories ui
- #59478 term_exists() to return false if no terms exist
- #59667 Edit Category Screen: Improve error message when trying to update a category with an existing slug
- #60159 Performance Issues with Large Number of Categories in WordPress Admin Panel administration performance
- #60710 save_post_{$post->post_type} hook returns inconsistent $_POST['tax_input'] format
- #61761 `wp_term_insert` inconsistent validation logic for `name` and `slug` administration
- #61859 meta_value_num order calse in WP_Term_Query cannot work as meta_query is evaluated after setting up the order
- #63091 wp_get_archives() with post_type parameter generates duplicate query parameters in URLs
- #63869 Add template / template_file arguments to register_taxonomy
3 tickets slated for 7.0
View list in Trac
- #50568 Improve WP_Term's sanitization calls
- #63256 Unnecessary array_map() call in get_terms() when object_ids is not set
- #63257 sanitize_term_field missing default $context value
246 open tickets
Open enhancements: 99 View list on Trac
Open tasks: 1 View list on Trac
Open feature requests: 19 View list on Trac
Open defects: 127 View list on Trac
Help maintain this component
Many contributors help maintain one or more components. These maintainers are vital to keeping WordPress development running as smoothly as possible. They triage The act of evaluating and sorting bug reports, in order to decide priority, severity, and other factors. new tickets, look after existing ones, spearhead or mentor tasks, pitch new ideas, curate roadmaps, and provide feedback to other contributors. Longtime maintainers with a deep understanding of particular areas of Core are always seeking to mentor others to impart their knowledge.
Want to help? Start following this component! Adjust your notifications here. Feel free to dig into any ticket Created for both bug reports and feature development on the bug tracker..
Contributors following this component: