Today I learned
Today I learned about headless wordpress. Wordpress now offers a REST API which makes it possible to decouple the frontend completely from the wordpress backend.
For example: This makes it possible for me to use GatsbyJS for the frontend and consume the content from wordpress through the API. Gatsby offers a plugin to do all the heavy lifting for me and enables the bridge between wordpress and Gatsby: gatsby-source-wordpress ↗
Of course this brings some pros and cons with it. I researched a bit and collected a few articles which go into detail about using wordpress as a headless CMS.
From the gatsby documentation: What is Headless WordPress? ↗
From Chris Coyier on css-tricks.com: Just How Niche is Headless WordPress? ↗
I hope you enjoyed this post and learned something new. If you have any questions, feel free to reach out to me on Twitter ↗ or via Email ↗.
If you want to support me, you can buy me a coffee. I would be very happy about it!☕️ Buy me a coffee ☕️
I wish you a wonderful day! Marco