Custom meta data can be saved with each taxonomy term, but you’d need to develop the UI to collect such data, then have some mechanism (e.g. template code or shortcode) to display the data where appropriate.
Thread Starter
Jordi
(@kukat)
Thanks!
I want to modify the plugin Event Organiser. This plugin have the Venue taxonomy without this features.
Probably the functions of venues are on this file: https://github.com/wp-plugins/event-organiser/blob/master/includes/event-organiser-event-functions.php
But I don’t know how to add Gutenberg – Rank Math features to this…
The auto <title> feature in Rank Math works nice, but Rank Math don’t work on each venue.
There are some documentation on WordPress for do this?
Thanks a lot.
TBH I don’t know how to add GB & RM either 🙁 I’m afraid documentation will be rather sparse if it exists at all. All I’m sure of is WP provides a mechanism to store taxonomy term related data in a meta data table. Some related functions to that end: https://developer.ww.wp.xz.cn/?s=term_meta
For integrating Rank Math, I suggest asking in their dedicated support forum:
https://ww.wp.xz.cn/support/plugin/seo-by-rank-math/
For integrating Gutenberg, there is documentation for implementing post meta:
https://developer.ww.wp.xz.cn/block-editor/how-to-guides/metabox/meta-block-1-intro/
Similar concepts could applied to term meta, I think, but I’ve no actual experience doing so.
While I’ve been suggesting using term meta data, there’s no reason you couldn’t create a custom table to store data. Depending on how this data might be queried, a custom table might actually make more sense. Going this route though, you’d pretty much be developing your own complete solution that’s parallel to but mostly separate from WP. Still, what ever resources there are from GB and RM are still available for your use.