Opened 13 months ago
Last modified 4 months ago
#59804 new enhancement
Can we implement a manage status of taxonomy term ?
Reported by: | maheshpatel | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Taxonomy | Keywords: | |
Focuses: | Cc: |
Description
Currently, within WordPress, there exists no built-in functionality to manage the publish/unpublish status of taxonomy terms. The implementation of this feature in a future WordPress version would greatly benefit users, as it would provide a more flexible solution. At times, there are specific taxonomy terms that should not be displayed on listing pages, and without this feature, the only recourse is to delete the term or category, which may not always be the most practical option.
The migration of categories from other technologies to WordPress can often pose significant challenges due to the absence of a built-in publish/unpublish feature within WordPress. This disparity can result in compatibility issues and disrupt the seamless transfer of content and taxonomies.
Unfortunately, #38227 never really took off for getting a feature like this landed. The last time I had a client requirement for this, we were able to get a partially working MVP for the core
post
and WooCommerceproduct
post types and their category taxonomies withregister_meta( 'term', 'term_visibility', $args )
, hooks to add a field for this meta in the list and edit views, and a hook intopre_handle_404
to hide the single item pages on the frontend, but that's as far as we got before plans changed.