Gatsby & WordPress - 3.4. - Programmatically Creating Pages and Posts
Hey! Just so you know, this article is over 2 years old. Some of the information in it might be outdated, so take it with a grain of salt. I'm not saying it's not worth a read, but don't take everything in it as gospel. If you're curious about something, it never hurts to double-check with a more up-to-date source!
Manually building each page in Gatsby is not only inefficient but impossible to maintain in a client project.
Instead, we will look at how we can programmatically generate pages using the createPages API that Gatsby provides us.