Query examplesCustom Tags
Custom Tags
Read more in guide Working with Custom Tags.
These are examples of queries to fetch custom tag taxonomy data.
Taxonomies unmapped to the schema
Retrieve tags with taxonomy "product-tag"
:
Retrieving tags associated to a custom post
Type GenericCustomPost
has field tags
, to retrieve the custom tags added to the custom post:
Filtering custom posts by tag
To retrieve the custom posts with a given tag or tags, we can use inputs filter.tagIDs
or filter.tagSlugs
and filter.tagTaxonomy
:
Prev