Post Categories

These are examples of queries to fetch post category data.

Fetching categories permalink

List of post categories, ordering them by name, and showing their post count:

All categories in a post:

Category names in posts:

A list of predefined categories:

Filtering categories by name:

Counting category results:

Paginating categories:

Only top-level categories, and 2 level of children:

Fetching meta values:

Setting categories on a post permalink


Nested mutation: