working example of customTaxonomy
See original GitHub issueCan you provide a working example of customTaxonomy
in use? The example in the docs (https://frontmatter.codes/docs/content-types#custom-taxonomy-field) is not functioning correctly when used verbatim. It appears to link a taxonomyId
of ‘custom taxonomy’ with a name
property of a “taxonomy field” (rather than the id
property?); there’s also no sense of where one should define the custom fields.
This, for example, does not work:
"frontMatter.taxonomy.customTaxonomy": [
{
"title": "category singular",
"name": "category",
"type": "taxonomy",
"taxonomyId": "categorySingular"
}
]
I assume I just don’t understand the expected syntax for settings.json
.
Thanks!
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Working with Custom Taxonomies | Plugin Developer Handbook
WordPress allows developers to create Custom Taxonomies. Custom Taxonomies are useful when one wants to create distinct naming systems and make them accessible ......
Read more >How To Create A Custom Taxonomy In WordPress
WordPress' custom taxonomies make it possible to structure large amounts of content in a logical, well-organized way. In WordPress, categories ...
Read more >How to Create Custom Taxonomies in WordPress - WPBeginner
A WordPress taxonomy is a way to organize groups of posts and custom post types. The word taxonomy comes from the biological classification ......
Read more >How to Create Exclusive Custom Taxonomies in WordPress
According to the WordPress codex: A taxonomy is a way to group things together. For example, a bunch of different types of fruits...
Read more >A Quick Guide to Creating Custom Taxonomies in WordPress
Custom taxonomies were introduced in WordPress 3.0 as a core feature and allow you to group posts together with more than just tags...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah, brilliant – thanks! I wasn’t understanding that the
"frontMatter.taxonomy.contentTypes"
setting was related.Thanks again,
Graham
Yes, this goes in the
settings.json
or in thefrontmatter.json
file.