💡
Originally written in 2016, when WordPress APIs were gaining traction for headless CMS setups. Preserved as is, with updated links where needed. A 2025 follow-up is on the way!
WordPress is convenient, as much as I hate to admit it, it is. I’m not using WordPress as my primary website because it is loaded with way more stuff then you’d probably ever need to use. To be fair, it needs to cater to as many use cases as possible (hence a CMS).
However, if all you need is to write a bunch of articles and you intend to code up your own website, then WordPress.com’s API might just be your answer…
I write these articles on WordPress.com and use GraphQL to query the endpoints. I wire up the everything using react-apollo
, add some styles and, well here we are. (You are reading this on my website aren’t you?)
I wish I found time to clean every thing up and publish little packages for you guys to use 🙁
💡
Originally written in 2016, when WordPress APIs were gaining traction for headless CMS setups. Preserved as is, with updated links where needed. A 2025 follow-up is on the way!