Statamic Taxonomy Metadata Field is a Statamic addon that does something pretty neat.
This addon does:
- This
- And this
- And even this
Add the following to your composer.json
:
"repositories": [
{
"type": "vcs",
"url": "https://github.com/steadfast-collective/statamic-taxonomy-metadata-field.git"
}
]
Then run
composer require steadfast-collective/statamic-taxonomy-metadata-field
Add the "Taxonomy Metadata" field to a blueprint, and specify the taxonomy it relates to.
{{ field_name }}
{{ term:title }} # You can access all term properties, using 'term:{property}'
{{ data }}
{{ /field_name }}