Skip to main content

Authors

Entries are often created by an author who should be attributed for their work. Authors are a type of data just like everything else.

Here is an example of how an author might be called out at the top of a blog post.

Create a new taxonomy shape called Author​

Add fields that describe the concept of an author​

Common fields are name, photo, and bio.

Create a relationship between content being authored and the author shape just created​

info

Make sure to set the relatedTo field

Add authors​

Relate authors to content​

Query for the Author​

query {
getPostList {
total
items {
title
author {
name
bioHtml
photo {
path
}
}
}
}
}