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 Opens in new tab
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? Opens in new tab
From Chris Coyier on css-tricks.com: Just How Niche is Headless WordPress? Opens in new tab
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