Opened 6 years ago
Closed 5 years ago
#48000 closed feature request (wontfix)
Administration - Edit Page for Meta Data on Taxonomies
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Taxonomy | Keywords: | |
| Focuses: | ui, administration, rest-api | Cc: |
Description (last modified by )
Hi,
I recently worked on a Project where I wanted to implement Functionality based on the Meta Data of the Categories.
Similar as it was expressed in #10142
Since I was aware it was already implemented in [34529]
I tried to use the Meta Data on Categories stored in wp_termmeta
But I also need human management on the Meta Data stored.
So, reviewing and debuging the WordPress Code I found there is no way to interact with the Meta Data from the Administration Panel.
And I wonder whether someone since the launch of the feature already works on the Administration Page for Meta Data for Categories ?
I would like to know if there is already some development on this.
I had in mind some functionality as it is available for the Post Administration Page.
Best Regards,
Bodo
Change History (4)
#3
@
6 years ago
- Focuses rest-api added
For the implementation of the Meta Data "Custom Fields" Feature of the /wp-admin/term.php Module I had in mind an implementation like it is seen at the /wp-admin/post.php Module, but I found that the /wp-admin/post.php Module is already implemented with the new REST API.
But the Management of Meta Data with the REST API for a general solution fails at the WP_REST_Meta_Fields::get_registered_fields() Method.
To be able to manage the Meta Field over the REST API it requires the Meta Field to have the show_in_rest Attribute which cannot be managed by the Database and must be set by Custom Code that invokes the register_meta() Function of the /wp-includes/meta.php Module.
Now only if the Meta Field Attributes as checked in WP_REST_Meta_Fields::get_registered_fields() Method could be set and managed by the Database and loaded from it a general future proof solution for the "Custom Fields" Edit Block through the REST API can be implemented.
Since the Meta Field Attribute show_in_rest in itself is a complex structure it even complicates the Management within the Database even more. A more streamlined Architecture is required to unblock future progress in this area.
#4
@
5 years ago
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
The custom fields metabox used by posts comes with significant UX and performance issues. I don't think we would want to reintroduce those to another page. A far better solution is to register form fields using the existing hooks on that page.
If you aren't comfortable writing code, I'd recommend using a Fields plugin like Advanced Custom Fields: https://www.advancedcustomfields.com/resources/adding-fields-taxonomy-term/
If nobody is working on the issue yet I would love to contribute this functionality to the Project.