~/talk

Using WordPress as a Source for Gatsby

Talkat Gatsby Days London 2019 · on Monday, 2019-09-30· [wordpress]
slides:none on file

Shows how to use WordPress as a headless CMS for Gatsby with concrete tooling: WPGraphQL and WPGraphQL ACF expose custom post types (Projects) and ACF flexible content into Gatsby, gatsby-source-graphql wires GraphQL in, and images are fetched into the build via createRemoteFileNode then optimized with gatsby-image. Demo includes replacing REST queries (100-post example) with targeted GraphQL, drag‑and‑drop flexible layouts rendered by mapping typename fragments, and Netlify webhook deploys for content updates.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:07Benefits of WordPress as Gatsby source
  3. 2:33Why WPGraphQL over REST API
  4. 3:58Plugins setup and Netlify webhooks
  5. 4:44Configuring gatsby-source-graphql
  6. 5:33Custom post types in WordPress
  7. 6:45Downloading images for gatsby-image
  8. 8:40Using gatsby-image in components
  9. 9:26Introduction to ACF and WPGraphQL ACF
  10. 10:40Creating custom fields with ACF
  11. 11:44Flexible content in ACF
  12. 13:16Rendering flexible content in Gatsby
  13. 14:01Live demo building a page
  14. 17:06Demo results and styling
  15. 17:30Conclusion and resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.